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,
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,074 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
3,050 questions
1 answer
Sort by: Most helpful
-
Reza-Ameri 17,136 Reputation points Moderator
2021-08-06T15:25:38.783+00:00