Comments (4)
This means that after stopping the Remote Desktop Service still another process is locking termsrv.dll. Please stop the service manually and make sure no other process is locking it before trying again. Maybe I will implement a more helpful error message for this situation.
from termsrvpatcher.
Will it be possible to patch the termsrv.dll in another location?
I cannot get this patcher to work but when I do it manually it works magically;
- Take ownership
- Give myself (User) Full Control of Termsrv.dll
- Copy Termsrv.dll to desktop
- Edit with HEX editor
- Kill termservice
- Rename Termsrv.dll in System32 folder to Termsrv.dll.bak.[date]
- Copy Termsrv from desktop to System32 folder
- Start Termservice
But somehow this patcher doesn't work and cannot find out why it is strugling. Do you have some kind of persistent error log?
from termsrvpatcher.
Please stop termservice manually and use Sysinternals Process Explorer to find the process with a handle to C:\Windows\System32\termsrv.dll and kill the process. See https://helpcenter.gsx.com/hc/en-us/articles/115015880627-How-to-Identify-which-Windows-Process-is-Locking-a-File-or-Folder for details. After the process is killed, patching should succeed.
If you want to modify the path to termsrv.dll you have to change this code line. If you don't have Visual Studio 2019 installed for debugging, you can download the Community Edition from https://visualstudio.microsoft.com/vs/.
from termsrvpatcher.
It turns out that running Process Explorer as Administrator is not enough to see for example the handle of the termservice process svchost.exe. I had to run Process Explorer at least as System user. I propose to use NSudo to run the Process Explorer as TrustedInstaller to be able to find ALL handles to termsrv.dll
from termsrvpatcher.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termsrvpatcher.