Win10 removes the Windows.old folder by obtaining permissions.

  

After upgrading Win10, the Windows.old folder 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”< Br>

2. Double-click the created registry file to import. Right click on the folder and you will get the trustedinstaller permission option.

3, carried out after obtaining permission to operate can be deleted, Windows.old folder and the folder $ windowsBT ~;

These are the Win10 Windows.old obtain permission to delete files 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