Get the App
SLTechnology News&Howtos  ›  Servers  › 

What if the XP system prompts "you need permission to perform this operation" when deleting files?

Shulou Source: shulou.com Published: 2022-06-01 11:18:07 09月19日 Update

This article mainly explains "XP system deletes files when prompting" you need permission to perform this operation "what to do", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "XP system delete files prompt" you need permission to perform this operation "what to do" it!

The solution to the XP system prompting "you need permission to perform this operation" when deleting files:

1. Click the run command on the start menu

2. Enter "notepad" in the "run" dialog box that opens, and then click the "OK" button

3. Open the notepad and copy the following into the notepad:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ *\ shell\ runas]

@ = "take administrator ownership"

"NoWorkingDirectory" = ""

[HKEY_CLASSES_ROOT\ *\ shell\ runas\ 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\ runas2]

@ = "take administrator ownership"

"NoWorkingDirectory" = ""

[HKEY_CLASSES_ROOT\ exefile\ shell\ runas2\ 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\ runas]

@ = "take administrator ownership"

"NoWorkingDirectory" = ""

[HKEY_CLASSES_ROOT\ Directory\ shell\ runas\ command]

@ = "cmd.exe / c takeown / f\"% 1\ "/ r / d y & & icacls\"% 1\ "/ grant administrators:F

/ t "

"IsolatedCommand" = "cmd.exe / c takeown / f\"% 1\ "/ r / d y & & icacls\" 1\ "/ grant

Administrators:F / t "

4. Click the File menu in notepad and select the Save as command

5. Save as a registry file with the suffix ".reg" in the pop-up dialog box. Note that "Save as type" is selected as "all files"

6. Then find the .reg file we saved, and after double-clicking, select "Yes" in the pop-up UAC dialog box to continue

7. when it is finished, we can see the dialog box that pops up successfully, and click the "OK" button.

8. If we right-click the file or folder to be deleted, you will find that there is an extra "take administrator ownership" command, and select this command

Then we can delete the file directly:

At this point, I believe that everyone on the "XP system delete files prompt" you need permission to perform this operation "how to" have a deeper understanding, might as well to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Files permissions system prompts commands dialog boxes ownership administrators conversations management selection what to do content notepad buttons menus learning running practical deeper Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Redmi Shulou Information OPPO Reno macOS