Prompting username password while installing the windows service in c#

If you do not want your windows service to prompt for Username/Password, go to Installer Class(Design Mode) of the service, then right click on ServiceProcessInstaller -> Properties; set Account as Local Service.

Now use the installutil command. It will not ask for Username/Password.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)