Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 223

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report