Link to home
Start Free TrialLog in
Avatar of JT_SIRO
JT_SIRO

asked on

How do I delete services on Win Server 2008 R2

Hello -

I did a couple of SQL Server installs on my new Win Server 08 R2 instance, that failed.  I've since uninstalled them and removed what I could find of them in the registry.  But they're still showing up as services in the services page.  How do I clean my system of everything?  I want it clean before I reinstall.
Avatar of JohnLo
JohnLo
Flag of United States of America image

If the standard un-install utility doesn't do the trick for some reason :-

Remove the <sql> directory and everything under it
Remove the <sql> dir from the path (use control panel/system for this)
Remove the SQL registry entries using regedt32/regedit. These are :-

(All versions)

¦HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLServer
¦HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
(6.0 and above.)

¦HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSDTC
¦HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SQLExecutive

(7.0 and above)

¦HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SQLServerAgent
¦HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server 7
¦HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServ65
my personal advice format your server to neglect any future issues
Avatar of JT_SIRO
JT_SIRO

ASKER

Thanks JohnLo, I missed a few of those.  Do I need to reboot after changing the registry?  Because I still see those dead services on the services page.
yes reboot
Avatar of JT_SIRO

ASKER

Do you mean to reinstall the whole Win Server o/s?  I'd really like to avoid that, but it may come to that.

Is there a registry cleaning utility that I may want to run?
ASKER CERTIFIED SOLUTION
Avatar of JohnLo
JohnLo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JT_SIRO

ASKER

I understand thabash.  It is of concern to me too.

The good news is that the services are gone after rebooting.  Thanks Johnlo.

I'll try to reinstall is see how SQL Server behaves.  Thanks -