We've got a rogue silent setup running as a startup service on multiple machines (XP/2000) in a Server 2003 domain environment. The problem is, it stalls and then causes critical services to fail on the PC. The work-around is to set this service to manual or disabled, and I'm trying to automate THAT process in our login script. Normally, I think I could just do a reg /add but I'm having trouble with syntax AND the service is named slightly differently on all PCs.
The service name generally has spaces in it, so I'm not sure, syntax-wise how to tackle that.
I know I'm generally looking for
reg /add HKLM\SYSTEM\CurrentControl
Set\Servic
es\(Servic
e Name)...
Next, the problem is there is a unique SID attached to the service for each machine... so I need to create a login script that will
1) Search HKLM\SYSTEM\CurrentControl
Set\Servic
es\ and search for "KL Wrapper" which will be on all of the machines
2) Extract the EXACT service name from step 1 (including the unique identifier)
3) Use #2 (in correct syntax) to change the START value from 2 (automatic) to 3 (manual).
Can this be done? I think I just need help with the syntax.
Start Free Trial