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

  

But 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 require 36 third-party software to solve the problem. It is.

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 the "Start” menu"Run” command:

Enter “notepad” in the Open “Run” dialog box, and then click “ OK & rdquo; 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"

"IsolatedCommand"= "cmd.exe /c takeown /f "%1" && icacls "%1" /grant

administrators:F"

[HKEY_CLASSES_ROOTDirectoryshellrunas]

@="Get Administrator 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 note In the "Files" menu, select "Save as" >; Command:

Save as a registry text with the suffix "<;reg”" in the pop-up dialog box. .

Note "Save as type" "All files":

Then find the saved .reg file, double click it, select "ld" in the pop-up UAC dialog box & rdquo; Continue:

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

Right click on the file or folder to be deleted. You can find out more than "Get Administrator Ownership" command, select it:

Then you can delete it directly:

Copyright © Windows knowledge All Rights Reserved