Uninstalling a service

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.
LVL 6
msluneckaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

msluneckaAuthor Commented:
d:\nt\sdktools\reskit\content\instsrv\source\instsrv.c: Error 1783 from EnumServ
icesStatus on line 184
0
map000Commented:
sc delete <service name> works for you?
sc I suppose is in the Resource Kit
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
msluneckaAuthor Commented:
That worked!  Thanks!
0
map000Commented:
you're welcome
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.