Can I change the Logon type of a windows service through GPO
We are using a custom windows service which does some task and runs as Local System account. For technical reasons in our project, we want to change the logon type of our windows service to a domain user account.
The issue is that we have few hundreds of VMs in our infra where this service is running as Local System account. It is not feasible to manually change the logon types in all the VMs. I am wondering if this is something that can be done from GPO? Or are their any third party tools that can accomplish this ?
Solution 1:
- Create a GPO for your OU
- Go to
Computer Configuration -> Preferences -> Control Panel -> Settings -> Services
- Create a service preference with
Action -> New -> Service
- Enter your service's name
- Configure your wanted options (Account, startup type, timeout, etc.)