Can windows.old be deleted?

  After upgrading win10, the windows.old folder stores the backup of the original system. If you delete it, you will be prompted that you have no permission! Many friends do not know that windows.old can be deleted ? If it can be deleted, how can I get permission to delete windows.old? How to delete windows.old? Let's take a look at how to delete windows.old.

Can windows.old be deleted? 1

  1. First add the "Get trustedinstaller permissions" option to the right-click menu, open Notepad, paste the following code into Notepad, and save as "Get trustedinstaller permissions.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 /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. Double-click the created registry file to import, then right-click the folder and you will get the trustedinstaller permission option.

Can windows.old be deleted 2

  3. After obtaining permissions, you can delete the Windows.old folder and the $windowsBT~ folder.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326262925&siteId=291194637