I have an exe which I have installed as a service. However by default the exe gets installed with logon user as LocalSystem. I have to install the service with logon user as some user and a password.
I have to go to the service properties->LogOn-> and give the account name and password there every time I install the service. I want to do this programmatically.
Any pointers will be of great help,