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 find that the prompt requires administrator rights, then how can Win7 delete the administrator rights? What about the folder? Do not know how to deal with friends, take a look at the tutorial small series now!
Method One: Making a document authorized by the administrator, put the file on the registry
1, Start - Run (enter notepad) - OK or press Enter to open Notepad (Out can be from: Start - All Programs - Accessories - Notepad).
2, copy the following files in the open Notepad:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT \\ * \\ shell \\ runas]
@ = & ldquo; administrator authorization & rdquo;
& ldquo; NoWorkingDirectory & rdquo; = & ldquo; & rdquo;
[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]
@ = & ldquo; administrator authorization & rdquo;
& ldquo; NoWorkingDirectory & rdquo; = & ldquo; & rdquo;
[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 & rdquo;
[HKEY_CLASSES_ROOT \\ Directory \\ shell \\ runas]
@ = & ldquo; administrator authorization & rdquo;
& ldquo; NoWorkingDirectory & rdquo; = & ldquo; & 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 \\ & rdquo;% 1 \\ & ldquo; /grant
administrators: F /t & rdquo;
3, point notepad upper left corner of & ldquo; file & rdquo; - Save To enter, in the File Name (N) under the Save As window, enter: Admin Authorization.reg, then click: Save.
4, then there will be a desktop: Administrator authorization .reg registry file.
5, we left double-click: Administrator authorization .reg file, in the pop-up: the Registry Editor window Pts: Yes (Y).
6, the point is after the pop-up window midpoint: OK, we right-click on a folder, you see the context menu are: authorized by the administrator menu.
7, if we want to delete a folder, the folder is right - to run authorized by the administrator, and then delete the folder can successfully deleted.
Method 2: Modify the folder security properties
1. Right-click the folder we want to delete - properties.
2, we open the folder properties window, click on: security - Edit.
3, in & ldquo; user or group name (G) & rdquo; column, we click on: Add.
4, in the pop-up window select the user or group, we enter: Administrators, point to determine, also point back to the original window: OK.
5, in & ldquo; Administrators permissions (P) & rdquo; bar & ldquo; allowed & rdquo; below the mouth of all tick (also according to their need to customize permissions), click: - - - OK .
6, the pop-up & ldquo; Windows Security & rdquo; window, we point & ldquo; & rdquo ;, is back to the original window, points are determined.
7, if we want to delete a folder, the folder is right - to run as an administrator, and then delete the folder can successfully deleted.
How can Win7 delete the folder that requires administrator privileges? Here is the tutorial. In addition to the methods in this article, you can completely delete files through third-party software.
1. Insert the USB flash drive of the U disk PE system into the computer and turn it off. 2, boot in
Many users dont want their computers to borrow from others when they use win7 Ultimate, but in many
Check if your Windows 7 and Windows XP are connected to the same LAN. Generally, the small office wi
What should I do if the computer system is damaged? What if the computer encounters a strong virus?
Reinstalling the win7 Ultimate system is always an infinite restart solution
Win7 clean disk saves C disk space tutorial
What is the process of win7 system task manager alg.exe?
How to open SNMP protocol 161 port under Win7 ghost pure version system
Win7 open smb service operation method
How to solve the problem that Windows 7 system often starts automatically?
Win7 closes the operation method of the "Diagnostic Policy Service" service
Win7 two computers share the Internet
Win7 screen refresh rate setting, so that the computer does not flash screen
How to make the hard disk no longer automatically shut down under Windows 7
What should I do if the win7 system has a blue screen error code 0x0000116?
Computer boot numlock, the keyboard light is not bright solution
How to quickly solve the problem of deleting the files in the Win7 system?
Vista system skills: modify the registry method to remove redundant files
Win10 system how to add Defender icon to the taskbar method
Resource Manager Tips and Mining
Windows 7 uses the Aero style to miss the classic start menu
How to open SmartScreen filter function in Win8
Win8 system uses virtual optical drive graphic tutorial
Win XPSP2 system set up dual-machine wireless network card pair actually combat