How to get the perfect administrator permission to delete the windows.old file?

  

Win10 official version how to get perfect administrator rights? Now many people have upgraded to the win10 system, but how can the administrator privileges of the win10 system be perfectly obtained? We can get the admin rights to delete the windows.old file release space, the friends who need to refer to the next, and the Win10 preview version of the old file Windows.old how to completely delete?

1, generally our right-click property is like this.

2. Now start the tutorial on getting the perfect permissions, first create a new text document on the desktop.


3, then change the format of the text document to wrap, if there is no adjustment, it may fail or get

4, then copy the following content Paste into the text document.
Copy content to the clipboard Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\\*\\shell\ unas] @="Get Administrator Permissions" "NoWorkingDirectory"="" [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\\exefile\\shell\ unas2] @="Get admin rights " "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\\exefile\\shell\ unas2\\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 Administrator Permissions" "NoWorkingDirectory&qu Ot;="" [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"




  • 5. Save the text document after pasting, and finally modify the suffix name of the text document. Change txt to reg and save it.

    6. When saving, the interface shown in the figure will appear. Click “ is ”, after the save is successful, the text document will look like the one shown below.


    7. Right-click on this button and create a new text document. reg” select the first merge

    8. A prompt for confirmation will appear. Click “yes". After the merge is successful, click “OK>


    9, now we right click on the folder or the file will appear, the content shown below


    10. At this time, when we encounter a file that requires permission, you can right-click to select the permission, or run it with administrator privileges to get the corresponding permission.

  • Copyright © Windows knowledge All Rights Reserved