Amit Singh Tomar
Amit Singh Tomar

Reputation: 8610

Running application as windows service

I have an application that is running as window service and its running under a valid use account not under default system account ,now my worry is if in future use changes his password for that account will it effect this service??

Thanks

Upvotes: -2

Views: 361

Answers (3)

Hans Olsson
Hans Olsson

Reputation: 55001

Yes, if the password is changed for the user account, you need to update the stored password as well. And to make this answer more programming related, this MSDN article shows you how to do it programmatically: Changing the Password on a Service's User Account

Upvotes: 1

SWeko
SWeko

Reputation: 30872

Yes.

The password you enter in the service properties must be changed of the user changes his password, so it's a bad idea to run a service under a real live user account.

You can either set it to run on a system account, and grant that account the necessary resources for the service to function, or you can create a pseudo-system account - a user account that is restricted from everything else, except from the service resources.

Upvotes: 2

Neil Knight
Neil Knight

Reputation: 48537

The service will stop working as the user credentials don't match.

Upvotes: 2

Related Questions