When the XP system deletes the file, it prompts "You need permission to perform this operation". Solution

  

In the process of using XP system, there will be more and more files, some files are no longer needed, so we will not The required files are deleted directly. However, when prompted to delete, the system prompts: "You need permission to perform this operation", what should I do? The following small series for everyone to share the XP system when deleting files prompts "You need permission to perform this operation" solution. Let's go and have a look!

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

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&rdquo ;

“IsolatedCommand”=“cmd.exe /c takeown /f \\”%1\\“ && icacls \\”%1\\“ /grant

administrators:F”

[HKEY_CLASSES_ROOT\\Directory\\shell\ unas]

@=“Get Administrator Ownership&

“NoWorkingDirectory”=“&rdquo ;

[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”

4. Click on the “file” menu in Notepad and select “ Save as ” command;

5, in the pop-up dialog box saved as a registry file with the suffix "ld." reg & rdquo;. Note "Save as type" "All files";All files";

6, then find our saved .reg file, double click, select "ld" in the pop-up UAC dialog box & rdquo; Continue;

7, after completion, we can see the dialog box that pops up successfully, click the "OK" button to determine;

8, we Right click on the file or folder you want to delete, you will find an additional "Get Administrator Ownership" command and select this command;

9, then we can delete directly The file:

The above is a small series for everyone to bring about the XP system when deleting files, you need permission to perform this operation, if you also encounter The prompt, follow the above tutorial. Hope can help everyone!

Copyright © Windows knowledge All Rights Reserved