Win10通过获取权限来删除Windows.old文件夹的技巧
时间:2023-07-04 08:06:04
升级Win10后的Windows.old文件夹是原来系统的备份,如果直接删除会提示没有权限,可以使用磁盘清理来删除。但是本文要介绍的方法是通过获取权限来删除Windows.old文件夹,一起来看一下吧。
具体方法
1、先为右键菜单添加 “获取trustedinstaller权限”选项,打开记事本,将下面代码粘贴到记事本中,另存为 “获取trustedinstaller权限.reg”
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@=“获取TrustedInstaller权限”
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@=“cmd.exe /c takeown /f \”%1\“ && icacls \”%1\“ /grant administrators:F”
“IsolatedCommand”=“cmd.exe /c takeown /f \”%1\“ && icacls \”%1\“ /grant administrators:F”
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@=“获取TrustedInstaller权限”
“NoWorkingDirectory”=“”
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@=“cmd.exe /c takeown /f \”%1\“ /r /d y && icacls \”%1\“ /grant administrators:F /t”
“IsolatedCommand”=“cmd.exe /c takeown /f \”%1\“ /r /d y && icacls \”%1\“ /grant administrators:F /t”
2、双击创建好的注册表文件导入,这时右键点击文件夹就会出来获取trustedinstaller权限选项了。
3、进行获取权限操作后就可以删除, Windows.old文件夹和$windowsBT~文件夹了;
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
excel2003输入直经符号的方法
Win10系统声音怎么调?(图文)
![](https://img.aspxhome.com/file/2023/28/a244330_0s.jpg)
win10手机预览版10070更新内容 Win10手机版Build 10070谍照曝光
![](https://img.aspxhome.com/file/2023/28/a250578_0s.jpg)
ppt怎么设计创意的心形螺旋线图形?
![](https://img.aspxhome.com/file/2023/10/a346146_0s.jpg )
微信软件不能使用添加好友功能的解决方法
如何解决Win7时间同步出错的问题
![](https://img.aspxhome.com/file/2023/27/a232252_0s.jpg)
Win11能设置任务栏不合并窗口吗?有没有办法设置Win11不合并窗口?
![](https://img.aspxhome.com/file/2023/27/a238354_0s.png)
word嵌入excel表格的方法
如何禁用office 2013登录功能
![](https://img.aspxhome.com/file/2023/6/16606_0s.png)
Windows10如何添加我的电脑(计算机)快捷方式到桌面
![](https://img.aspxhome.com/file/2023/26/a227717_0s.jpg)
Excel函数之合并年月日的DATE函数使用教程
![](https://img.aspxhome.com/file/2023/1/a156631_0s.jpg)
Win10右下角的日历打不开如何处理?
![](https://img.aspxhome.com/file/2023/26/a220800_0s.png)
Windows10任务栏图标透明化处理的技巧
![](https://img.aspxhome.com/file/2023/26/a226881_0s.jpg)
Win8桌面图标不清晰怎么办?
![](https://img.aspxhome.com/file/2023/4/a304443_0s.jpg)
win7开机出现乱码怎么办?win7开机出现乱码的解决方法
![](https://img.aspxhome.com/file/2023/30/a264124_0s.jpg)
Win7无法调节屏幕亮度怎么办?win7系统调节屏幕亮度的方法
![](https://img.aspxhome.com/file/2023/28/a243278_0s.jpg)
PowerPoint2007演示非全屏播放 解决方案
wps怎么输入公式计算?
![](https://img.aspxhome.com/file/2023/6/a168736_0s.jpg)
win10系统更新显卡驱动的方法介绍
![](https://img.aspxhome.com/file/2023/4/a312357_0s.jpg)
word怎么设置横向页面
![](https://img.aspxhome.com/file/2023/5/19965_0s.jpg)