What should I do if I need permission to perform this operation under win8 system?

  
However, sometimes the system pops up the problem that the permissions are insufficient and cannot be deleted. Therefore, when the permissions are changed, the permissions cannot be changed, or the changes cannot be deleted afterwards. These may need to be solved by 36 third-party software.
But these methods are more troublesome to set up each time. Here is a technique. Just save the code as a specified file and right-click it once in the future!
First, open Notepad.
Click on the "Start” menu"Run” command:

Enter “notepad” in the Open “Run” dialog box, and click “OK” Button:

Copy the following into Notepad:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellrunas]
@="Get Administrator Ownership"
"NoWorkingDirectory"=""
[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_ROOTexefileshellrunas2 ]
@="Get Administrator Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTexefileshellrunas2command]
@="cmd.exe /c takeown /f "% 1" && icacls "%1" /grant administrators:F"
"Isola tedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant
administrators:F"
[HKEY_CLASSES_ROOTDirectoryshellrunas]
@=" Get Ownership "
"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"
Click on the “file” menu in Notepad and select “Save As”Command:

In the popup The dialog box is saved as a registry file with the suffix "<;reg”".
Note “Save Type"Select as “All Files":

Then find the saved .reg file, double click it, select “ in the pop-up UAC dialog box to be "Yes" :

After completion, you can see the dialog box that pops up successfully. Click the “OK” button to:

Then right click on the file or folder to be deleted. There is an additional "Get Administrator Ownership" command, select it:

Then you can delete it directly:


Copyright © Windows knowledge All Rights Reserved