question

LotfiBOUCHERIT avatar image
0 Votes"
LotfiBOUCHERIT asked Reza-Ameri answered

Windows 10 - User role assignments from command line

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-generalwindows-10-security
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Reza-Ameri avatar image
0 Votes"
Reza-Ameri answered

You may use New-GPO command to set a Group Policy using PowerShell, take a look at:
https://docs.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://docs.microsoft.com/en-us/powershell/module/grouppolicy/set-gpregistryvalue

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.