Artoo's Inter-Galactic termsrv.dll Patcher Tool™

Discussion in 'Windows 8' started by Mr Jinje, Nov 1, 2013.

  1. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,769
    1,106
    60
    #81 Mr Jinje, Dec 29, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Here is a fun one. Imported Artoo into the registry as binary data, wrote it to memory as memorystream and run R2 without need for an.exe via right click shell extension. The memorystream seems to make it a bit more responsive.

    Instructions for 8.1 / R2 only - merge with registry, right click anywhere on desktop and choose "Artoo's Termsrv Patcher" to open.

    Here is an excerpt.

    FYI, this experimental method could be deleted by me at any time, so get it while the getting is good.
     

    Attached Files:

  2. ffddhhh

    ffddhhh MDL Novice

    Dec 29, 2013
    2
    0
    0
    Stupidity on my part. Permissions issue, basically once you take ownership as admin, you need to change permissions to full control. I mistakingly had it changed to full control for users not admins. works perfectly now
    Thanks for the great tool Jinje

     
  3. larza83

    larza83 MDL Novice

    Dec 7, 2013
    3
    0
    0
    #83 larza83, Jan 4, 2014
    Last edited: Jan 4, 2014
    Sorry for late reply, I am on Enterprise version, 8.1 x64
     
  4. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,769
    1,106
    60
    #84 Mr Jinje, Jan 6, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    W81x64 gotcha, try this. Added a SnoopLoggy.Log for error collection, instructions are copy your unpatched termsrv.dll somewhere + edit the path where instructed. Report any errors.
     
  5. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,769
    1,106
    60
    #85 Mr Jinje, Jan 6, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  6. joakim

    joakim MDL Novice

    Dec 30, 2009
    21
    6
    0
    Have anyone tried patching it in memory? Would it be possible? I tried on Windows 7 x86, but it seems to just hang at connecting...
     
  7. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,769
    1,106
    60
    #87 Mr Jinje, Jan 16, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  8. malltaf

    malltaf MDL Novice

    Jan 16, 2014
    2
    0
    0
    #88 malltaf, Jan 16, 2014
    Last edited: Jan 16, 2014
    I try R2_Beta3 Patch on Windows 8.1 Enterprise x64 now. Well, seems it works, I can connect to two users at the same time. I can't check whether the local user can enter, because I only could connect remotely now (until evening comes). Computer should automatically load user when comp started, but if i'm connecting remotely, it will ship it at this point, ie either it can not boot at startup now, or the connection is different from the connection of a local user. Teamviewer also going crazy, connects, but draws the devils and not responding ...
    Do I understand correctly, that it is possible to connect several times to the same user by using this patch? I don't need this feature, but need to connect to different users at the same time without troubles the local user.
    Thanks for your work)
     
  9. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,769
    1,106
    60
    #89 Mr Jinje, Jan 16, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  10. malltaf

    malltaf MDL Novice

    Jan 16, 2014
    2
    0
    0
    #90 malltaf, Jan 16, 2014
    Last edited: Jan 16, 2014
    I was testing all that right now. My wife is from local user, i'm - remotely. So that's ok with patch, i think. And TeamViewer connected correctly now. Magic? I'll watch what will happen next and tell about it here.
     
  11. joakim

    joakim MDL Novice

    Dec 30, 2009
    21
    6
    0

    So I tried the same thing in ollydbg and attached it to the correct svchost, and did the same patch as I already tried with inline memory attempt. And it worked. So I guess the answer lies in how I have left the module, or its state. I tweaked the page protection and set it to PAGE_READWRITE, which may have produced undesired behaviour.. Btw, finding the correct svchost can be done by looping through all svchosts and using EnumProcessModulesEx (to search for termsrv.dll).

    Good to know that memory patching will work then!
     
  12. joakim

    joakim MDL Novice

    Dec 30, 2009
    21
    6
    0
    Bingo! It was the page protection that had to be reset. Needed to be changed back to PAGE_EXECUTE_READ after temporarily being PAGE_READWRITE in order to write to the page. How x64 behaves with this is not yet tested.
     
  13. phil123

    phil123 MDL Novice

    Jan 17, 2014
    1
    0
    0
    Help- I've install the patch all ok. BUT I can't seem to get the RDC to auto login to the desktop. When I login remotely, I get the Windows 8 login screen, and therefore have to select the user name and type the password again.
    Tried all sorts to resolve. I appears to be a be an issue on the Windows 8 side not Client side. I'm testing between a windows 7 PC and windows 8 PC. RDC to windows 7 works fine (straight to desktop), RDC to windows 8 always get me to the login screen.
    How do I enable auto login on the RDC session?
     
  14. joakim

    joakim MDL Novice

    Dec 30, 2009
    21
    6
    0
    @Mr Jinje
    The memory patch also works on x64 (at least Windows 7). After a couple of failed attempts I realized after trying your tool, that 2 other places had to be patched. Nice work though! Will you consider a memory patcher too?
     
  15. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,769
    1,106
    60
    like i said, if you can provide me a working example of the cmd line syntax, I'll take a look at it again, but for now I just don't have the free time to learn and do everything I want.
     
  16. esword

    esword MDL Novice

    Jan 18, 2014
    1
    0
    0
    These steps worked great for me on a 8.1 pro box that I just upgraded from 8.0 pro using the beta3 r2d2. Only hiccup was remembering how to take ownership of the termsrv.dll file, which a post on winmatrix helped with. Thanks for everyone's hard work! e

     
  17. joakim

    joakim MDL Novice

    Dec 30, 2009
    21
    6
    0
    Maybe in next version when it is cleaned up a bit.
     
  18. tvcat

    tvcat MDL Novice

    Feb 23, 2011
    34
    11
    0
    i tried this on windows 8.1 64bit
    working good but it cant be undo even after restart service, restart windows, and full shutdown.