Solved

Uninstalling a service

Posted on 2004-10-26
517 Views
Last Modified: 2010-08-05
I have a service that I installed incorrectly with the instsrv.exe resource kit tool.  I pointed it initially at the file I wanted to install as a service, not realizing I needed to be using the srvany.exe tool and then editing the registry to go to the path of my application

"instsrv servicename remove" isn't working.  I get Error 1783 from EnumServicesStatus on line 184

No idea what this is and I can't find anything to tell me.  Anyone got a way to do a slightly more manual removal of the service?  I already tried removing the registry keys in the currentcontrolset/services area of HKLM to no effect.  That just messed up the entry in the service manager even more.  I was able to rebuild the key again so I can work with it in the services console though.
0
Question by:mslunecka
    4 Comments
     
    LVL 6

    Author Comment

    by:mslunecka
    d:\nt\sdktools\reskit\content\instsrv\source\instsrv.c: Error 1783 from EnumServ
    icesStatus on line 184
    0
     
    LVL 5

    Accepted Solution

    by:
    sc delete <service name> works for you?
    sc I suppose is in the Resource Kit
    0
     
    LVL 6

    Author Comment

    by:mslunecka
    That worked!  Thanks!
    0
     
    LVL 5

    Expert Comment

    by:map000
    you're welcome
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
    Learn about cloud computing and its benefits for small business owners.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    846 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now