|
Hello Kix Forum...
I've written a script that fires in my KixTart login script.
This script will change the Windows XP Remote Registry setting from Disabled to Automatic.
When I run both commands it works it successfully and changes the value and starts the service. Here's my problem.
When I try to run the service, after I've changed the status value, I get the following error. { The Service cannont be started, either because it is disabled or because it has no enabled devices associated with it. }
I know both scripts work because I'm seeing positive results with each one. I can prove that my script changes the key and starts the services, because I've tested both individual scripts on two different pcs.
Has anyone experienced this same problem or similar problem? How did you change the Remote Registry Service from the status of Disabled to Automatic. Then start that service?
Here's the code I'm using.
WriteValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry","Start", "2", "REG_DWORD")
In a batch file I'm using this.
NET START "Remote Registry"
Get back to asap. Thanks Colin Mackenzie
Edited by cmack (2007-03-06 08:00 PM)
|