win10明明是管理员却删不掉文件怎么办?

参考链接:

https://www.xpwin7.com/jiaocheng/40536.html

解决gpedit.msc命令无法打开的问题

https://blog.csdn.net/weixin_39134861/article/details/133770388

  1. 新建记事本
  2. 将如下代码复制进去
@echo off

pushd "%~dp0"

dir /b %systemroot%\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >gp.txt

dir /b %systemroot%\servicing\Packages\Microsoft-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%\servicing\Packages\%%i"

pause

  1. 另存为 gpedit.bat
  2. 以管理员身份运行

你可能感兴趣的:(三两闲事,windows)