[request] Set Local Group Policy setting


I did not found any local GPO settings management procedure, like consulting a GPO value, defining one etc…

Is it possible to create one script to manage GPO settings ?
At least to define a GPO setting and get the feedback that the setting is correctly applied with old and new value ?

I would like to set this setting on all laptops:

Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options<b>User Account Control: Switch to the secure desktop when prompting for elevation

@rbo ,

We have consulted our Script Developers for your request. We will provide you an output as soon as possible.

Hello @rbo

Here is the JSON file for your script request. Kindly, please refer the attachment and let us know your feedback.

NOTE: System will be restarted to take the changes done.

Here is the guide link which displays how to import json file :


Thank you.

20180801-uac.json (3.01 KB)