You may use New-GPO
command to set a Group Policy using PowerShell, take a look at:
https://learn.microsoft.com/en-us/powershell/module/grouppolicy/new-gpo
You have to set the registry for the GPO too, using Set-GPRegistryValue
, take a look at:
https://learn.microsoft.com/en-us/powershell/module/grouppolicy/set-gpregistryvalue
Windows 10 - User role assignments from command line
Lotfi BOUCHERIT
91
Reputation points
Hello,
I have a network with more than 50 Windows 10 Professional devices, and i would like to change Security Policy Settings remotely.
I would like to know, if there's command (powershell, vbs, batch) to set it, without logging in to all devices, and make changes?
Thank you in advance,
1 answer
Sort by: Most helpful
-
Reza-Ameri 16,971 Reputation points
2021-08-06T15:25:38.783+00:00