Git Product home page Git Product logo

termsrvpatcher's People

Contributors

geissbuehler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

termsrvpatcher's Issues

File used by another process.

Patch on line 13 in 'Patches.txt' indicates unpatched termsrv.dll
Automatic patching enabled: Matching patch for termsrv.dll in patchfile 'Patches.txt' found on line 13
Stopping TermService... Done
Patching termsrv.dll
System.IO.IOException: The process cannot access the file 'C:\WINDOWS\system32\termsrv.dll' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at TermsrvPatcher.Patcher.Patch(List`1 patch) in G:\Meine Ablage\Projects\TermsrvPatcher\TermsrvPatcher\Patcher.cs:line 356
at TermsrvPatcher.MainWindow.worker_DoWork(Object sender, DoWorkEventArgs e) in G:\Meine Ablage\Projects\TermsrvPatcher\TermsrvPatcher\MainWindow.xaml.cs:line 334
Old status: Unpatched
Patch on line 13 in 'Patches.txt' indicates unpatched termsrv.dll
Automatic patching enabled: Matching patch for termsrv.dll in patchfile 'Patches.txt' found on line 13
New status: Unpatched

Getting error

I am getting error as below:

Error: No match in termsrv.dll found for manual patch patterns
Scheduled task 'TermsrvPatcher' added (requires valid patches in 'Patches.txt', logging to 'UnattendLog.txt')

Patcher Version - 1.3.0

termsrv.dll Version: 10.0.19041.1

Stopping TermService may take forever

On some systems stopping the Remote Desktop Services fails and the service status remains in the stopping state forever. The patcher also just waits forever for the stopped service state. After a reboot stopping the service usually succeeds. Also manually killing the corresponding svchost.exe process solves the problem and allows successful patching.
A timeout for stopping the service should be implemented and the root cause for this behavior of the service should be identified. A workaround like automatic rebooting should be added for patching via remote desktop connection to prevent making the system unreachable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.