Edit windows Group Policy from Command line (CMD)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-14 02:53:23

问题


I want to add some group policy and I need to added by batch file How can I edit windows Group Policy from windows command line?


回答1:


Try importregpol.exe

http://blogs.technet.com/b/fdcc/archive/2008/05/07/lgpo-utilities.aspx

It will import whatever is in the pol file you specify. To make a pol file I blank the policy by remove machine and user then set the desired settings with the LGPO editor MMC and grab the pol files that are created.



来源:https://stackoverflow.com/questions/25341093/edit-windows-group-policy-from-command-line-cmd

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!