cancel
Showing results for 
Search instead for 
Did you mean: 

Delete oracle services

Former Member
0 Kudos

How can I delete the following oracle services?

OraclePI1102TNSListener

OraclePI1102iSQL*Plus

I have uninstalled the SAP system and manually deleted the registry keys

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\OraclePI1102TNSListener and

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\ORACLEPI1102ISQL*PLUS

but these services still exist.

I tried deleting these from the registry directly but it returns "Error while deleting key" HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_ORACLEPI1102TNSLISTENER

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_ORACLEPI1102ISQL*PLUS

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member204746
Active Contributor
0 Kudos

easy, use these commands:

net stop OraclePI1102TNSListener

net stop OraclePI1102iSQL*Plus

sc delete OraclePI1102TNSListener

sc delete OraclePI1102iSQL*Plus

Former Member
0 Kudos

Sheesh...had forgotten to uninstall the ora db! Now its all gone except for

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_ORACLEPI1102TNSLISTENER

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_ORACLEPI1102ISQL*PLUS

Its not causing a problem but it would help if I can know how to get rid of these entries too.

Thanks for your response Rohit. Btw my user does have local and domain admin rights.

Former Member
0 Kudos

Hello Cons,

Normally it should not be necessary to manually delete a service. Uninstalling an application should remove its associated service,are sure that you have unstalled all the compnents,just check in add or remove programs for any SQL component present and uninstall.

However, the process is:

Run Regedit or regedt32.

Find the registry entry:

HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services

Find the service there and delete it.

You may wish to look at the keys and see what files the service was using and perhaps delete them also.

You will have to reboot before the list gets updated in server manager.

I some programs are cunning and prevent you from removing their service easily. These change the permissions to make it more difficult for you to delete them. For these you will have to right click on the u2018serviceu2019 in regedit (regedt32), go to permissions and grant the administrator full control before the service can be deleted.

Hope it helps

Rohit