gpedit.msc找不到文件的解决方法,亲测有效!
时间:2022-09-21 14:14:47
Gpedit.msc找不到文件的怎么办?Gpedit.msc是用于打开Windows系统组策略的命令程序,缺少它系统会弹出“Gpedit.msc找不到”、“Gpedit.msc打不开”等提示,那么对于这一问题应该如何解决呢?下面我们一起来看看小编带来的两种解决方法。
方法一:
1、首先按下快捷键“win+r”打开运行,输入:notepad。
![gpedit.msc找不到文件的解决方法,亲测有效!](https://img.aspxhome.com/file/2023/6/a323449_0.png)
2、之后可以进入记事本,输入代码:
01@echo off
02pushd "%~dp0"
03dir /b %systemroot%\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >gp.txt
04dir /b %systemroot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>gp.txt
05for /f %%i in ('findstr /i . gp.txt 2^>nul') do dism /online /norestart /add-package:"%systemroot%\servicing\Packages\%%i"
06pause
复制代码
@echo offpushd "%~dp0"dir /b %systemroot%\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >gp.txtdir /b %systemroot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>gp.txtfor /f %%i in ('findstr /i . gp.txt 2^>nul') do dism /online /norestart /add-package:"%systemroot%\servicing\Packages\%%i"pause
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
wps表格中怎么使用数据透视表?
![](https://img.aspxhome.com/file/2023/5/a166415_0s.png)
wps表格打印时内容只显示一半怎么办
![](https://img.aspxhome.com/file/2023/8/a184838_0s.png)
iOS 13 静音模式图标重做,提示更加醒目
![](https://img.aspxhome.com/file/2023/0/a197520_0s.jpg)
snmptrap.exe - snmptrap是什么进程 有什么作用
excel表设置密码后忘记了如何打开怎么办
Excel用条件格式高亮显示含有公式的单元格
![](https://img.aspxhome.com/file/2023/4/a156744_0s.jpg)
wps office 2019表格怎么快速填充序列?
![](https://img.aspxhome.com/file/2023/0/a167310_0s.jpg)
win7电脑如何屏蔽win键,屏蔽win键的方法?
![](https://img.aspxhome.com/file/2023/4/a311510_0s.jpg)
Win7环境下局域网不同网段共享打印机的连接方法
![](https://img.aspxhome.com/file/2023/27/a231508_0s.jpg)
word文档如何将文字倒过来
如何恢复安装win8双系统时隐藏的磁盘
![](https://img.aspxhome.com/file/2023/29/a254259_0s.jpg)
wps文字怎样插入分节符
u盘制作pe系统启动盘方法 系统之家u盘制作启动盘教程
![](https://img.aspxhome.com/file/2023/30/a271615_0s.png)
win10系统显示模糊怎么办?
![](https://img.aspxhome.com/file/2023/3/a296938_0s.png)
如何用WPS移动版转换时间格式
![](https://img.aspxhome.com/file/2023/8/a164548_0s.png)
Win10系统下腾讯电脑管家总会自动安装怎么办?
![](https://img.aspxhome.com/file/2023/3/49183_0s.jpg)
Win7系统进入网址192.168.1.1路由器设置密码的方法
![](https://img.aspxhome.com/file/2023/27/a231770_0s.jpg)
外星人Alienware M17 R4笔记本安装win7系统教程
![](https://img.aspxhome.com/file/2023/6/53366_0s.png)
WPS文本如何快速输入商标符号?
![](https://img.aspxhome.com/file/2023/0/a170630_0s.jpg)
iOS 10.3 Beta 7发布!苹果疯狂 功能大赞
![](https://img.aspxhome.com/file/2023/3/a301972_0s.jpg)