Link to home
Start Free TrialLog in
Avatar of enthuguy
enthuguyFlag for Australia

asked on

Powershell set username/pwd for windows services

Hi Powershell experts,

Using Powershell, would like to set username/password for a list of services (service1, service2, service3, etc) in Windows 2016 servers.
Since, I will be invoking this from AWS CloudFormation, Is there a better way to handle the password pls?
after setting credentials on these services, we need to ensure it is running as well.  :)

please help

Thanks in advance
Avatar of kevinhsieh
Flag of United States of America image

You should be using Managed Service Accounts or Group Managed Service Accounts for handling credentials of services.
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of enthuguy


Thanks kevinhsieh, yes it is a service account.

Thanks Shaun, will try this.

Is there a better way to handle/implement this pls?