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

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

  1. Slartibartfast42

    Slartibartfast42 MDL Novice

    Dec 12, 2013
    3
    0
    0
    Yea, like I just said, it doesn't autocopy correctly. You have to take the W81x64termsrv.dll.patch file, rename is termsvr.dll, and copy it to System32. You may have to take ownership of termsvr.dll first. Of course, have the remote desktop service stopped during the copy too.

    I got a same user and a different user working simultaneously.
     
  2. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    #62 Mr Jinje, Dec 18, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  3. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    #63 Mr Jinje, Dec 20, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Testing out a new method, what a headache, think it's finally working. Many thanks to sunstar for the patches. Need a few testers, no n00bs. Copy any spare W81x64 termsrv.dll you have, doesn't matter what version patch was applied and point the $termpath to it. Run this code and it will patch the file in place and overwrite all the previous patches. Much easier for me to do it this way to try and identify every possible version that a user could have installed previously. Report back,

    Make a backup before running this, as I mentioned it modifies the file in place.

     
  4. pzjuls

    pzjuls MDL Novice

    Sep 29, 2011
    8
    0
    0
    Thanks Mr Jinje i will wait till you have this tested but very excited we might have a solution soon.
    Cheers Juls
     
  5. spacebebop

    spacebebop MDL Novice

    Dec 21, 2013
    1
    0
    0
    Just wanted to pop in say thanks for the cool tool!!

    One thing to note on at least one box - firewall rule. Had to add one manually (standard Windows Firewall) for TCP 3389. Added, and can RDP just fine now. Perfect! Would offer to test for 8.1, but I haven't upgraded my one win8 machine (yet). If I can find time to, I'd be glad to volunteer :D
     
  6. larza83

    larza83 MDL Novice

    Dec 7, 2013
    3
    0
    0
    Don´t know what I am doing wrong...

    I must say I am so glad to see that this seems to work for most people, hoping to get it working my self as well. Great job Mr Jinje! :)

    Im on windows 8.1 pro. I downloaded the latest beta release Artoo patcher. Opened it op, stopped the service and tried to apply the patch. Doesn´t change anything.. Still unpatched.

    What can I provide you with to enable you to assist me?

    Thank you in advance! Greatful for any help given. :)
     
  7. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    #67 Mr Jinje, Dec 22, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Try the manual button, it should open up system32, after that close down artoo, rename the termsrv.dll, and copy the "W81x64termsrv.dll.patch" from the artoo directory and rename it termsrv.dll. Do that or rename termsrv.dll.patch to termsrv.dll if the patch has already been copied into system32. Unsure why artoo will not release the lock file preventing itself from renaming.

    If you still can't rename because of locked process, run this snip and then try to rename.

    Code:
    $termpath = "C:\windows\system32\termsrv.dll"
    
    GPS|%{$LOCK = $_;$_.Modules|%{If($_.FileName -eq "$termpath"){Kill -id $LOCK.id -force}}}
     
  8. larza83

    larza83 MDL Novice

    Dec 7, 2013
    3
    0
    0
    #68 larza83, Dec 22, 2013
    Last edited by a moderator: Apr 20, 2017
    Thank you mate! It works great! :)

    For any other newbie (like me) if you fail renaming/deleting the old termsrv.dll file, just right click on it and set permissions under advanced. Give admin full ownership, as standard it only has read and execute.
     
  9. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    are you on x86 by chance ?


    Confirm, are you on W8 Home version, IIRC only the core or home versions needed that.
     
  10. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    #70 Mr Jinje, Dec 22, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  11. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    #71 Mr Jinje, Dec 27, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Here is the 3rd beta - full re-write. No SoundFX. Mostly to address issues faced by a few readers.

    NOTE: Windows 8.1 only - does not include patches for other OS's. Need some testers + feedback to ensure method is working correctly on all machines.

     

    Attached Files:

    • R2-D2.7z
      File size:
      333.7 KB
      Views:
      2,437
  12. dementor5

    dementor5 MDL Novice

    Dec 28, 2013
    1
    0
    0
    Hi! I tried your program (2rd beta and 3rd beta), but it doesn't work for me. When I try to connect to myself (localhost - 127.0.0.1), I receive a mistake "Your computer could not connect to another console session on the remote computer because you already have a console session in progress." My OS is Windows 8.1 Enterprise x64.
    Can you help me?
     
  13. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    Try from a remote host, I've only gotten that to work on 2012-R2.
     
  14. Hackministrator

    Hackministrator MDL Novice

    Aug 23, 2009
    28
    17
    0
    Hello,
    I've tried it on Win8.1x64.
    I don't know if I have done all the needed operations., did I forget something?

    On a clean system:
    1) Manual backup of termserv
    2) Take ownership of termserv.dll (administrators/system/users)
    3) Launch R2D2.exe
    a) clic on Service (Stop service)
    b) clic on patch
    c) clic on restart

    I don't see any termserv.patch or newly created files in system32 (is it the correct behaviour?)

    Connect from a remote W8.1x64 disconnect the local session, can't have multiple sessions from remote.

    Thanks for your work.
     
  15. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
  16. ffddhhh

    ffddhhh MDL Novice

    Dec 29, 2013
    2
    0
    0
    Just tried 8.1x64
    No changes made to termserv as far as date
    When you hit apply patch I see the comand line flash, but can`t actually see what it does
    Is therea way to run from command line?

     
  17. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    #77 Mr Jinje, Dec 29, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  18. ndfan77

    ndfan77 MDL Novice

    Dec 29, 2013
    2
    0
    0
    #78 ndfan77, Dec 29, 2013
    Last edited by a moderator: Apr 20, 2017
    Get-FileHash seems to be a new command in PowerShell 4. My version of Windows 8.1 still has PowerShell 3. I can't figure out how to upgrade it to PS 4. The Windows Management Interface 4.0 updates published for download seem to only be applicable to Windows 8.0 (apparently Windows 8.1 installs WMI 4.0 -- but if so, I don't understand why I still have PS 3...).
     
  19. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    are you upgraded from 8.0 or clean install from ISO ?
     
  20. ndfan77

    ndfan77 MDL Novice

    Dec 29, 2013
    2
    0
    0
    8.1 Upgraded from 8.0