How does Win10 remove Windows.old? Win10 get permission to delete the Windows.old folder

  

The Windows.old folder after upgrading Win10 is the backup of the original system. If you delete it directly, you will be prompted to delete it. But the method to be introduced in this article is to delete the Windows.old folder by getting permission, let's take a look.

Specific method

1. First add the “trustedinstaller permission” option to the right-click menu, open Notepad, paste the following code into Notepad, save as “<quo;get trustedinstaller permission” .reg”

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\\*\\shell\ unas]

@=“Get TrustedInstaller Permissions&<<><<> [HKEY_CLASSES_ROOT\\*\\shell\ unas\\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\ unas]

@=“Get TrustedInstaller Permissions 

“NoWorkingDirectory”=“”< Br>

[HKEY_CLASSES_ROOT\\Directory\\shell\ unas\\command]

@=“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 the created registry file to import, then right click on the folder and you will get the trustedinstaller permission option.

3, after the acquisition permission operation can be deleted, Windows.old folder and $windowsBT~ folder;

The above is to obtain permissions to delete Win10 Windows.old file Clip method, 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