Where is the "Service Control manager Database"

  • Thread starter Thread starter Al Dykes
  • Start date Start date
A

Al Dykes

Some PoC software package I'm testing doesn't uninstall itself
properly and when trying to reinstall it I get

"The specified service already exists in the Service Control
manager Database"

Uninstall is clearly not cleaning up the registry properly. Attempts
to find this in the registry are impossible because the propable names
result in huge number

Looking in Services Manager I see that the service is still shown.


Where is this in the registry?

Thanks
 
To delete a service.

Open Services...
Start | Run | Type: services.msc | Click OK |
Scroll down to and double click the service you want to get rid of |
On the General tab, Service name: take note of the Service Name not the
Display Name | Close Services

Then open a command prompt...
Start | Run | Type: cmd | Click OK |

Type: sc delete Whateverservice Display Name

and hit Enter

Reboot.

See...
sc delete
here...
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sc.mspx

Or open the Registry Editor...
Start | Run | Type: regedit | Click OK |
Navigate to...
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Whateverservice

Delete it and reboot.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Back
Top