Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't remove a service from NT

Status
Not open for further replies.

Rev

Programmer
May 7, 1998
41
AM
Here is a chronology...

Our system's harddrive is partitioned into to sections...C: is the DOS partition and D: is the NT partition. Here is my problem... I went to install SQL 6.5 from the CD. For some reason it has an .ini file that tells it to auto install on to the c: drive. Well now the system is having problems because it needs to be installed on d: But I can't remove it from c: There was no unistall utility that I could find so after much deliberation I deleted the directory and made the services disabled. SQL has been deleted. Now when I try to install SQL it say that it has detected SQL 6.5 and I cant install. DOH!!! I copied the cd to the d: drive and changed the ini file to point to the D: drive. It didn't work. Same message as before. How can I get rid of SQL so I can reload it?
 
Here is the instructions for removing services. Warning, use with extreme caution, otherwise instead of reinstalling SQL, you will be re-installing NT. Good Luck!



Services and drivers may be removed from NT by using the Registry Editor (REGEDT32.EXE). Prior to their removal, the services must be stopped. Some services or drivers cannot be stopped, but must be set to disabled. In such cases, the server must be rebooted prior to removal.



WARNING: Some services and drivers are required for proper system operation. Stopping or disabling of some services can render a system unusable.



WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.



To remove a service or device:





Stop the service or device driver.

For services, run Control Panel and choose Services. For device drivers, run Control Panel and choose Devices.



If the service or device driver does not stop, set the startup type to disabled and reboot the computer.





Run Registry Editor (REGEDT32.EXE).



From the HKEY_LOCAL_MACHINE subtree, find the key:





\SYSTEM\CurrentControlSet\Services



Find the registry key that corresponds to the service or device driver to be deleted.



Delete the key and related subkeys:

a. Select the key. b. From the Edit menu, choose Delete. c. Choose YES to confirm the deletion of the key.





Quit Registry Editor.



Shut down and restart the computer.



NOTE: Other registry keys may exist elsewhere in the registry. For best results, check with the software vendor for more information.


 
I copied the CD to the harddrive. I changed the INI file to install on D instead of C. I stumbled accross another kind of install routine deep within the directory structure. It did have an uninstall program. It worked and has been reinstalled onto the proper drive. Thanks for your help WC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top