geissbuehler / termsrvpatcher Goto Github PK
View Code? Open in Web Editor NEWPatcher for termsrv.dll for enabling concurrent remote desktop sessions on non-server Windows editions
License: GNU General Public License v3.0
Patcher for termsrv.dll for enabling concurrent remote desktop sessions on non-server Windows editions
License: GNU General Public License v3.0
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
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
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.
Error: No matching patch for termsrv.dll found in patchfile 'Patches.txt', edit 'Patches.txt' or enter patches manually
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.