The computer of Win7 system has been used for a long time, and some garbage folders will be generated. Sometimes we want to delete these garbage folders, but we find that the prompt requires administrator rights. Then, how can Win7 delete the folder that needs administrator rights? If you don't know how to deal with it, let's take a look at the tutorial of Xiaobian!
Method 1: Make an administrator authorized file, put this File Join Registry
1. Start - Run (Enter Notepad) - OK or Enter, open Notepad (out from: Start - All Programs - Accessories - Notepad).
2. Copy the following files in the open notepad:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellrunas]
@=“ Admin Authorization & rdquo;
“NoWorkingDirectory =“”
[HKEY_CLASSES_ROOT*shellrunascommand]
@=“cmd.exe /c takeown /f &rdquo ;%1“ && icacls ”%1“ /grant administrators:F”
“IsolatedCommand”=“cmd.exe /c takeown /f ”%1“ && Icacls ”%1“ /grant
administrators:F”
[HKEY_CLASSES_ROOTexefileshellrunas2]
@=“Administrator Authorization&<<>
<quo; 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]
@=“Management Authorization & rdquo;
“NoWorkingDirectory =“”
[HKEY_CLASSES_ROOTDirectoryshellrunascommand]
@=“cmd.exe /c takeown /f ”%1&ldquo ; /r /dy && icacls ”%1“ /grant administrators:F /t”
“IsolatedCommand”=“cmd.exe /c takeown /f ”%1“ /r /dy && icacls ”%1“ /grant
administrators:F /t”
3, click on the top left corner of the notebook “ file ”- save as, In the Save As window: File Name (N), enter: Admin Authorization.reg, then click: Save.
4, then there will be a desktop: the administrator authorized .reg registry file.
5, we left-click double: administrator authorization .reg file, in the pop-up: Registry Editor window point: Yes (Y).
6. At the point where the point is popped up in the window: OK, we right click on a folder and you will see the menu in the right-click menu: Administrator authorization.
7. If we want to delete the folder, right click on the folder - run the administrator authorization, then delete the folder and you can delete it smoothly.
Method 2: Modify the folder security properties
1. Right-click the folder we want to delete - properties.
2, we are in the folder properties window that opens, click: Security - Edit.
3, in the "Group or User Name (G)" column, we click: Add.
4, in the pop-up window to select the user or group, we enter: Administrators, click OK, return to the original window also point: OK.
5, in the "Administrators permissions (P) & rdquo; column "Allow" under the mouth of all the tick (also can be customized according to their needs), click: Apply - OK.
6. In the pop-up "Windows Security" window, we click "Yes" to return to the original window and click OK.
7. If we want to delete the folder, right click on the folder - run as administrator, then delete the folder and delete it smoothly.
The color of the monitor should be set. If the setting is not good, it will cause g
Some users create shortcut icons on the win7 system desktop. Just double-click to open the shortcut
If your Win7 system ever pops up c:\\windows\\temp\\*.tmp file is corrupt and can not read the error
win7 system how to install windows xp 1, enter the installation phase: divide a separate partition f
What is the notebook to buy????
How to solve the problem that IE always stops working under Win7
Win 7 desktop background can not be changed solution
Win7 system installation printer prompts can not add a printer how to do?
Virtual machine press f10 is not good, how to do
Quick recovery of accidentally deleted files in the context of Win7 system
How to let Win7 Ultimate system refuse to crash
Win7 IE browser favorites can not be used
Introduction to the syntax and parameters of the Linux system xlsclients command
How to delete an account in Win8.1?
Winxp and 2003 manual configuration of IPv6 method
Win8.1 quick access to Win10 push method
How to burn DV on windows7 system, no software is needed.
Win8 system google browser open internet option tutorial
Win10 preview version 11082 open PowerShell no response how to do
Eight Ways to Improve the Execution Efficiency of IIS 5.0 Web Servers
What if the win7 computer does not recognize the USB device?