2
Is there a way to change or edit certain group policies via command line?
We are currently installing a lot of PCs based on an image. After the install is done, certain group policies need to be changed, which we have to do manually at this point.
I Would like to add these changes in a script so I can create a script per department to enforce these group policies.
For example: Set "Computer Configuration / Management Templates / Configuration Panel / Online Tooltips" to "disabled" via a script.
Thanks!
Take a look at this other question. It might address your need. https://superuser.com/questions/365699/change-group-policy-using-windows-cmd
– Doug Deden – 2019-01-23T15:27:36.070Why aren't you deploying group policies via Active Directory? – user1686 – 2019-01-23T15:31:13.573
1Thanks for all suggestions! @grawity: We are deploying group policies via Active Directory, but some policies are only needed temporarily during installation. – Joe – 2019-01-24T10:12:50.563
@Joe: Then I'd still stick with AD GPO but e.g. use security filtering so that it only applies to computers within a specific group. – user1686 – 2019-01-24T12:07:36.793
@grawity: I don't know what you mean. I meant that there are policies which we need to enable, only to disable them half an hour later on. Surely using AD for such a situation would be less convenient than running a script with an enable/disable in it? – Joe – 2019-01-25T13:04:09.620