This article is a mirror article of machine translation, please click here to jump to the original article.

View: 7605|Reply: 4

Use PowerShell to enter the local Group Policy Editor and modify and save

[Copy link]
Posted on 7/12/2022 9:41:07 PM | | | |
Bosses, some devices connected to win10 computers, there will always be a sudden restart, and they can't be used, such as cameras, check it down, that is, the local group policy becomes closed, and it is more troublesome to enter the group policy every time
               
For example, if I enter the group policy now and find that the camera is problematic, it is not configured, it should be changed to enabled, and then controlled by the user, and then applied, can I directly create a script?




Previous:C# 8.0 Syntax Features: New Operator System Index
Next:StackBlitz front-end projects are edited and shared online
Posted on 7/12/2022 10:17:40 PM |
The value of the group policy is stored in the registry,Modify the value of the registry firstFinally, call the "gpupdate" command to update the group policyTry.



For example, the update registry command is as follows:


Group Policy Settings Reference File for Windows and Windows Server

Windows10andWindowsServer2016PolicySettings.xlsx (691.24 KB, Number of downloads: 2, 售价: 3 粒MB)

What you need to know: Although Group Policy exists in the registry, the modification of the Group Policy will be synchronized to the Registry, but most of the modifications of the registry will not be synchronized to the Group Policy. Although it will take effect, you will see the old values in the Group Policy panel.

References are as follows:

The hyperlink login is visible.
The hyperlink login is visible.

Posted on 7/13/2022 10:58:19 PM |
Learn to learn...
Posted on 7/19/2022 9:48:15 AM |
It's been a long time since I've tossed group policy (with Win10 common settings)






Posted on 1/16/2024 9:52:52 AM |
Recently debugging the registry. Saw our forum.
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com