Jump to content

Recommended Posts

Posted

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.


Posted (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.

post-119948-1258435605_thumb.png

Edited by Ascii2

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...