THis is a follow up to my previous question here --Can I change the Logon type of a windows service through GPO

So I have a custom windows service which is configured to run in a specified user account through GPO. Now the scenario is how do we handle password changes for that user account.

I did the following-- Edit the GPO configured , go to Computer Configuration -> Preferences -> Control Panel -> Settings -> Services and change the password field of that service to the updated one. Also, i selected Service Action -- Restart service After that I ran gpupdate on the VM, but the service is still using the old password. Looks like if the user name is the same, and just the password changes, the GPO does-not update the password.

Any thoughts on how to handle this would be appreciated.

  • 2
    I guess what you really need is Managed Service Accounts: blogs.technet.microsoft.com/askds/2009/09/10/…
    – duenni
    Dec 9, 2019 at 13:06
  • Thanks for the pointer. I will read about this Managed service account. so is it certain that we cannot change the password of that user through GPO?
    – user496934
    Dec 9, 2019 at 15:20
  • 1
    As a possible workaround, try replacing the GPO with a new one instead of editing the existing one. Dec 9, 2019 at 17:27
  • Had tried that, but it didnt work.
    – user496934
    Dec 10, 2019 at 3:54


You must log in to answer this question.

Browse other questions tagged .