The XP system prompts "You need permission to perform this operation" when deleting files. What should I do?

  
                

In the process of using XP system, there will be more and more files, some of which are useful, and some files are no longer needed. This not only looks at the mess, but also takes up memory, so we will not need it. The files are deleted directly. Normally we can delete the file by right clicking delete or pressing the DEL key. However, after a user presses the DEL button recently, the system prompts: “You need permission to perform this operation”, what should I do? The following small series will share a little trick for everyone.

When the XP system deletes the file, it prompts “You need permission to perform this operation”:

1. Click the “Start” menu for the “Run” command. ;

2, in the open & ldquo; run & rdquo; dialog input & ldquo; notepad & rdquo ;, then click & ldquo; determining & rdquo; button;

3, Open Notepad and copy the following into Notepad:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\\*\\shell\ unas]

@=“ Get Administrator Ownership&

“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 Administrator Ownership

“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 Ownership&#>

“NoWorkingDirectory”=“  quo;

[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 \\&r Dquo;%1\\“ /r /dy && icacls \\”%1\\“ /grant

administrators:F /t”

4. Click on Notepad the & ldquo; file & rdquo; menu, select & ldquo; Save as & rdquo; command;

5, in the Save as dialog box suffix & ldquo; .reg & rdquo; registry file. Note that & ldquo; Save as type & rdquo; options for & ldquo; All Files & rdquo ;;

6, and then locate the .reg file that we saved, double-click in the UAC pop-up dialog box, select & ldquo; is & rdquo; continue;

7, after which we can see the pop success of the dialog box, click & ldquo; OK & rdquo; button;

8, we then right-click that you want to delete a file or folder, you'll find more than a & ldquo; get administrator rights & rdquo; command, and choose this command;

9, then we can delete files:

above is XP system files are deleted prompt & ldquo; you need permission to perform this operation & rdquo; solution, if you have encountered this error, you can operate in accordance with the above tutorial .

Copyright © Windows knowledge All Rights Reserved