Windows Service Question

Kirk_G

Member
Joined
Jul 28, 2003
Messages
20
Ive got a windows service that I would like to run but cant seem to get it installed. I run the installutil program using the service as the parameter and a dialog box pops up asking for a logon name and password for the service. I have tried every user/password combo on my PC including administrator and cant get it to work. It says the install failed because of invalid password, username, etc. In the service util in win2K I see that most services use a LocalSystem logon. How do I find the password for this? Any help would be appriciated. Thanks
 
If you are just entering a name and a password it does seem to fail.

Try <computer name>\username or <domain>\username if you are in a domain.
 
Next dumb question. I was able to successfully install and use the Windows Service in Win2K. Now how do I remove it. I see how to disable it but I cant make changes and recompile because I get an error saying the resources are being used by another process. Thanks
 
I think I figured it out. I just had to stop the service, then go into the registry under services and delete it. Please reply if there is a better way to do this. Thanks
 
Back
Top