windows找不到文件gpedit.msc?windows找不到文件gpedit.msc教程
时间:2023-11-06 12:16:56
当许多用户在使用计算机时,系统提示Win10无法找到组策略gpedit.msc,请确定文件是否正确,如果出现错误情况,请重试。也许电脑的软件有问题,需要打开misconfig或regedit进行修改,具体方法将在下面一起查看。
![windows找不到文件gpedit.msc?windows找不到文件gpedit.msc教程](https://img.aspxhome.com/file/2023/0/47940_0.png)
win10找不到文件gpedit.msc的解决方法
1.首先同时按键盘上的WIN+R键,打开运行对话框,输入notepad打开记事本
![windows找不到文件gpedit.msc?windows找不到文件gpedit.msc教程](https://img.aspxhome.com/file/2023/0/47940_1.png)
2.然后在记事本中保存如下批处理内容。
【@echo off
pushd "%~dp0"
dir /b %systemroot%WindowsservicingPackagesMicrosoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >gp.txt
dir /b %systemroot%servicingPackagesMicrosoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>gp.txt
for /f %%i in ('findstr /i . gp.txt 2^>nul') do dism /online /norestart /add-package:"%systemroot%servicingPackages%%i"
pause】
![windows找不到文件gpedit.msc?windows找不到文件gpedit.msc教程](https://img.aspxhome.com/file/2023/0/47940_2.png)
说明:通过dir命令遍历系统盘servicing目录,寻找组策略的配置包,找到后写入到gp.txt文件,然后通过dism命令来安装组策略包。
3. 接下来点击右上角的[文件]——[另存为]。在弹出的界面中选择保存路径、文件名(这里命名为gpedit.bat),注意文件类型为“所有文件”,只有这样才能保证gpedit.bat是一个批处理文件。
![windows找不到文件gpedit.msc?windows找不到文件gpedit.msc教程](https://img.aspxhome.com/file/2023/0/47940_3.png)
4.然后在保存的gpedit.bat上右键选择并点击[以管理员身份运行],上面在批处理代码介绍中已经说过了,dism命令需要管理员权限,所以批处理必须以管理员身份运行。
![windows找不到文件gpedit.msc?windows找不到文件gpedit.msc教程](https://img.aspxhome.com/file/2023/0/47940_4.png)
5.最后等待批处理执行完毕即可。这时候同时按WIN+R键打开运行输入gpedit.msc,按回车键或者确定按钮就行了。这样就解决了Win10系统windows找不到文件gpedit.msc的问题了。
![windows找不到文件gpedit.msc?windows找不到文件gpedit.msc教程](https://img.aspxhome.com/file/2023/0/47940_5.png)
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
excel怎么冻结前两行不动
Win10电脑怎么设置文件共享?
![](https://img.aspxhome.com/file/2023/26/a220975_0s.png)
Win7操作文件时提示“无法删除文件:无法读源文件或磁盘”怎么办?
![](https://img.aspxhome.com/file/2023/27/a231477_0s.jpg)
Win10如何卸载内存驱动程序
![](https://img.aspxhome.com/file/2023/26/a227027_0s.jpg)
Win11系统的Windows安全中心点了没反应怎么办?
![](https://img.aspxhome.com/file/2023/27/a235658_0s.png)
电脑开机使用光驱启动的方法
![](https://img.aspxhome.com/file/2023/3/a298967_0s.jpg)
wps加密码怎么设置?
![](https://img.aspxhome.com/file/2023/4/a182084_0s.png)
steam错误代码-107怎么办-steam的一直错误代码的解决办法
![](https://img.aspxhome.com/file/2023/2/a286719_0s.jpg)
Win10玩红警卡顿如何解决?
![](https://img.aspxhome.com/file/2023/6/50756_0s.jpg)
Win10专业版是如何进行系统评分?
![](https://img.aspxhome.com/file/2023/26/a222177_0s.png)
Win10系统如何解决切换输入法很卡_Win10系统解决切换输入法很卡的步骤
![](https://img.aspxhome.com/file/2023/5/a316144_0s.jpg)
不用U盘如何重装系统?U盘重装系统方法
![](https://img.aspxhome.com/file/2023/25/a217414_0s.png)
Win7系统通过键盘快捷键关机的方法
![](https://img.aspxhome.com/file/2023/27/a232552_0s.jpg)
win10开机密码怎么设置?
![](https://img.aspxhome.com/file/2023/29/a252858_0s.jpg)
简化鼠标右键菜单的小妙招
静读天下怎么设置朗读?静读天下设置朗读的方法
![](https://img.aspxhome.com/file/2023/8/a333946_0s.jpg)
如何通过Win10升级助手来安装Win10系统?
![](https://img.aspxhome.com/file/2023/4/a306321_0s.png)
Win7系统下移动硬盘无法复制文件报错“0x80071ac3”怎么办?
![](https://img.aspxhome.com/file/2023/27/a230625_0s.jpg)
Excel函数IF,AND,OR,LEFT的综合应用实例及详解
Win10老游戏兼容性怎么设置?老游戏兼容性设置的方法
![](https://img.aspxhome.com/file/2023/26/a221179_0s.jpg)