Ascii2 Posted November 17, 2009 Posted November 17, 2009 How can services be removed unattendedly?Many of the operating systems for this information s intended for are Windows 2000 family operating systems.To remove a service, I normally stop the service from running, set permissions to fully control subkeys of[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum] and [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services] for the service(s) intended for removal, delete the service's keys from subkeys of [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum] and [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services], delete the files related to the service, and reboot.Must the manual behavior be mimicked in script? If an easier way to accomplish what I want exists, please let me know.
Ascii2 Posted November 17, 2009 Author Posted November 17, 2009 (edited) The Microsoft TechNet article at http://technet.microsoft.com/en-us/library/ee198749.aspx states that "Sysocmgr.exe" can be used to remove a service.When I tried viewing arguments taken by Sysocmgr.exe, I received a dialogue box (shown as attachment).How can Sysocmgr.exe be used to remove services?I also found a utility in the Windows 2000 Resource Kit. The utility is Delete Server (delsrv.exe) and seems like it should work to remove a service. Edited November 17, 2009 by Ascii2
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now