架构师_程序员_码农网

Retrieve password
Register

QQ登录

Just one step to get started

Search
View:3554|Reply: 4
打印 上一主题 下一主题

Use powershell to enter local group policy editor and change save

[copy link]
跳转到指定楼层
owner
发表于 2022-7-12 21:41:07| 看该作者回帖奖励|ReverseBrowse|Read Mode
The first thing that you need to do is to make sure that you have a good understanding of what you are doing and how you are doing it, and how you are doing it.

For example, if I go into group policy now and find that the camera is faulty and unconfigured, and I want to change it to enabled and then controlled by the user, and then apply it, can I just get a script?




Previous: C# 8.0 Syntax Features: New Operator System Indexing
Next:StackBlitz front-end project online editing and sharing
Code farmer network, only published in the practice process, encountered technical difficulties, do not mislead others.
ugg boots sale
sofabed
Posted on 2022-7-12 22:17:40|Only View Author
The value of the group policy is saved in the registry, first modify the value of the registry, and finally call the "gpupdate" command to update the group policy to try.



Example, the update registry command is as follows:


Reference file for Group Policy Settings for Windows and Windows Server

Windows10andWindowsServer2016PolicySettings.xlsx(691.24 KB, downloads: 2, price: 3 grain MB)

Something you must know: although Group Policy is present in the registry, and changes to Group Policy are synchronized and saved to the registry, most registry changes will not be synchronized to Group Policy. Even though it will take effect, you will still see the old values in the Group Policy panel.

Refer to the following:

h ttps:// stackoverflow.com/questions/69295465/windows-10-local-group-policy-edit-via-powershell
h ttps:// serverfault.com/questions/848388/how-to-edit-local-group-policy-with-a-script

Code Farmer, only published in the process of practice, encountered technical difficulties, do not mislead others.
ugg boots sale
bench
发表于 2022-7-13 22:58:19| 看该作者
I'm not sure if I'm going to be able to do this, but I'm sure I'll be able to.
The code farmer network, only published in the process of practice, encountered technical difficulties, do not mislead others.
floorboards
Posted on 2022-7-19 09:48:15|Only View Author
It's been a long time since I've tossed Group Policy (with common Win10 settings).






The code farmer network, only published in the process of practice, encountered technical difficulties, do not mislead others.
5#
Posted on 2024-1-16 09:52:52|Only View Author
Recently debugging the registry. I saw our forum.
The code farmer network, only published in the process of practice, encountered technical difficulties, do not mislead others.
You need to log in before you can post back Log in | Register

This version of the integral rules

DISCLAIMER:
All software, programming materials or articles published by Code Farmer are only used for learning and research purposes; the above content shall not be used for commercial or illegal purposes, otherwise, all the consequences should be borne by the user. This site information from the network, copyright dispute has nothing to do with this site. You must completely remove the above content from your computer within 24 hours of downloading. If you like the program, please support the genuine software, buy registration and get better genuine service. If there is any infringement, please contact us by email to deal with it.

Mail To:help@itsvse.com

QQ| ( ICP备14021824号-2 )|Sitemap

GMT+8, 2024-9-19 04:54

Quick ReplyBack to topBack to list