How to uninstall OracleserviceXE

5 pts.
Tags:
Oracle 10g
Oracle error messages
Oracle installation
Oracle XE
I am trying to install a new version of Oracle 10g. I thought that I had uninstalled the previous version but whatever I do I get the message "OracleServiceXE is present on the system". How can I fix this please? Des

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi, I am Suresh Mopada. Please find below the answer. 

goto oracle UniversalInstaller and uninstall oracle properly. if you don’t find it in your system, just click on the same setup file and remove.

                              
if you are not able to remove oracle from the above workaround. please follow below steps to remove OracleServiceXE.

Try to delete the service using the command prompt:
1. Click Start, type ‘cmd’ in the search field, and when ‘cmd’ shows up in the list of options, right click it and select ‘Run as Administrator’.
2. At the Command Prompt window, type “sc delete OracleServiceXE” without the quotes and press Enter.
3. Type “Exit” and press Enter.

Hope it helps. 

C:\> sc stop OracleServiceXE                      (to Stop service)
C:\> sc delete OracleServiceXE                      (to remove)

                            


Discuss This Question: 25  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    What version do you have installed, and what version are you trying to install ? AFAIK, there is only one version of Oracle Database Express edition 10g. If it is a windows box, you can remove the service from the command promt, this way:
    sc delete OracleServiceXE
    69,835 pointsBadges:
    report
  • satchmo101
    Carlos, many thanks for this solution. I tried the sc delete on the oracle XE service and this now enables me to re install oracle Cheers Mark [
    10 pointsBadges:
    report
  • Dhamu
    Dear Carlos, Many Thanks, it worked. I was able to reinstall Oracle XE again in my system. Damodar
    10 pointsBadges:
    report
  • Hexarth
    Thanks Carlosdl it worked .
    10 pointsBadges:
    report
  • Oraclev
    hai.. I tried to uninstall my current Oracle Express XE database 10g installation through Control-Panel->Add or Remove Programs Section of my Win7 system. When I try to start the de-installation then a popup appears informing me about something similar to: The installation cannot be continued because the service OracleServiceXE is already existing. Remove service, restart system and repeat installation when i tried "sc delete OracleServiceXE" in cmd prompt it is showing access denied. please help me out. i am using oracle 10g.
    10 pointsBadges:
    report
  • carlosdl
    Oraclev, it looks like a permissions problem. Make sure you are using a local administrator account.
    69,835 pointsBadges:
    report
  • Bvparekh
    but it still return [SC] OpenService FAILED 5: Access is denied. now what to do??
    10 pointsBadges:
    report
  • Mandoos
    i installed oracle 10 and after that i uninstalled tat..now am trying to install again.. tat tym it is showing oracleserviceXE is runnin..delete it and restart for the further instalaltion..i went to taskmanger-> and disabled all oracle running things..after that also it still showing oracleserviceXE is running..i have deleted all the folders related to oracle..wat i suppose to do..please reply..????????
    10 pointsBadges:
    report
  • Jontyravi
    Hi, Even I am facing the same problem, I have de installed OracleXe from control pannel and removed all the files from my harddisk... and tried to install XE again... I have got this error. The installation cannot be continued because the service OracleServiceXE is already existing. Remove service, restart system and repeat installation when i tried “sc delete OracleServiceXE” in cmd prompt it is showing access denied. The problem I noticed is When I opened services an checked with tha path of "OraclServiceXE" file , it is pointing to the oracle set up folder which I have already removed.... ie this file no longer exists in gthe given path.. still it is pointing to tat location... Now how can this file be remopved... :( :(
    10 pointsBadges:
    report
  • SumitMatta
    Hi, The same error i occur on my system. cmd showing access denied and error 5 occured. Pls, help me out to resolve the same.
    10 pointsBadges:
    report
  • CSguy
    silly guys, just run the CMD as administrator . You will find 'admin' option in right click of CMD.
    10 pointsBadges:
    report
  • SureshMopada
    Hi, I am Suresh Mopada. Please find below the answer.

           goto oracle UniversalInstaller and uninstall oracle properly. if you don't find it in your system, just click on the same setup file and remove.
                                   (Or)
    if you are not able to remove oracle from the above workaround. please follow below steps to remove OracleServiceXE.

    Try to delete the service using the command prompt:
    1. Click Start, type ‘cmd’ in the search field, and when ‘cmd’ shows up in the list of options, right click it and select ‘Run as Administrator’.
    2. At the Command Prompt window, type “sc delete OracleServiceXE” without the quotes and press Enter.
    3. Type “Exit” and press Enter.

    Hope it helps. 

    C:\> sc delete OracleServiceXE

    if you have any queries, you can reach me on sureshm1986@gmail.com
    40 pointsBadges:
    report
  • Dhruvi28
    hey,
    Thank You soooooooo much for your help.....!!
    it works...with admin permition.... .
    sc delete OracleServiceXE

    10 pointsBadges:
    report
  • wwwfreak
    Thanks Suresh. It worked for me.. :)

    10 pointsBadges:
    report
  • thereisalwaysasolution
    It has worked for me too. Thank you so much.
    10 pointsBadges:
    report
  • shizu
    thanks men it really works..thank you
    20 pointsBadges:
    report
  • raman756
    [SC] OpenService FAILED 5:

    Access is denied.
    20 pointsBadges:
    report
  • raman756
    c:>[SC] OpenService FAILED 5:

    Access is denied.
    [SC] OpenService FAILED 5:

    Access is denied.
    20 pointsBadges:
    report
  • sibsankar166
    tried to delete the service using the command prompt as u said... it really worked...thank thanks a lot to you.....:)
    15 pointsBadges:
    report
  • Genderhayes
    Two methods listed below should only be used as a last resort and will remove "ALL" Oracle software Windows and Unix is a lot more consistent
    7,505 pointsBadges:
    report
  • nitesh007
    Thanks it worked for me.
    10 pointsBadges:
    report
  • rahulmakhare9
    for running command prompt(cmd) as Administrator And Facing error access denied follow below steps:

    1. goto C:\Windows\System32
    2. find cmd.exe or cmd
    3. right click on it and choose option "run as Administrator"
    4. then cmd will open then type "sc delete oracleServiceXE" without cote..
    5. Enjoy
    10 pointsBadges:
    report
  • Prakashgajare
    Just go to window menu-> run->cmd  type
      sc delete OracleServiceXE  
    10 pointsBadges:
    report
  • fbzclaude

    merci Monsieur, pas de souci avec la suppression des services Oracle non désinstallble.

    Thank you Sir, I had no problem deleteing the un-deinstallable Oracle services.

    10 pointsBadges:
    report
  • mamumu
    Thx for help
    20 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following