I have developed a windows service using C# and Visual Studio 2008. I have Windows XP SP2 installed on my machine. When I try to install the service using the
If the account is a local user account, try to use .\username when installutil prompts for the username and password.
.\username
The .\ stands for local machine.
.\
Services require a fully qualified username (with domain), so when installing you need to be explicit about local user accounts.