How to delete Windows.old

  
for Win10 1. First add the “get trustedinstaller permission to the right-click menu, open Notepad, paste the following code into Notepad, save as “ get trustedinstaller permission.reg”.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellrunas]
@=“Get TrustedInstaller Permissions 
[HKEY_CLASSES_ROOT*shellrunascommand]
@=“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_ROOTDirectoryshellrunas]
@=“Get TrustedInstaller Permissions 
“NoWorkingDirectory =“”
[HKEY_CLASSES_ROOTDirectoryshellrunascommand]
@=“cmd.exe /c takeown /f ”%1“ /r /dy && icacls ”%1“ /grant administrators:F /t”
“IsolatedCommand”=“cmd .exe /c takeown /f ”%1“ /r /dy && icacls ”%1“ /grant administrators:F /t”
2, double-click to create a good registry file to import, then Right click on the folder and it will come out to get t The rustedinstaller permission option is now.

3. After obtaining the permission operation, you can delete the Windows.old folder and the $windowsBT~ folder.
The above is the way to get permission to delete the Win10 Windows.old folder, this method can be deleted more thoroughly, after all, using disk cleanup we do not know if there will be any residue.

Copyright © Windows knowledge All Rights Reserved