On the file or folder to get all permissions, right-click, one-click to get super administrator privileges, you can quickly get the highest authority in the general administrator account.
After getting the permissions, run the program again, just like in the super administrator account.
There is also a case where the program is being manipulated and the file cannot be deleted. Enable the task manager to end all the processes of the program and try to delete again.
The code is as follows:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellrunas]
@="One-click access to super administrator privileges"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT*shellrunascommand]
@="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_ROOTexefileshellrunas2]
@="One-click access to super administrator privileges"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTexefileshellrunas2command]
@="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls &q Uot;%1" /grant administrators:F"
[HKEY_CLASSES_ROOTDirectoryshellrunas]
@="One-click access to super administrator privileges"
"NoWorkingDirectory"= ""
[HKEY_CLASSES_ROOTDirectoryshellrunascommand]
@="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"Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellrunas]
@="One-click access to super administrator privileges"
"NoWorkingDirectory" ;=""
[HKEY_CLASSES_ROOT*shellrunascommand]
@="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_ROOTexefileshellrunas2]
@="Administrator Ownership"
" ;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]
@="One-click access to super administrator privileges"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTDirectoryshellrunascommand]
@="cmd.exe /c takeown /f "%1" /r /dy && icacls "%1" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"
Create a new .txt text, copy and paste the following code into a file, save as or rename it to a .reg file , double-click this file or right click to merge this file.
Enabling an administrator account: running gpedit.msc -- Computer Configuration -- Windows Settings -- Security Settings -- Local Policies -- Security Options -- Accounts : Administrator Account Status -- Double-click to open the properties -- Enable -- OK.
Many users have installed Win8 system for their laptops, but in the use of this system is always ine
First, in the blank location of Win8.1 desktop, click the right
Method 1: Use the registry First step, press Win+R key combination, enter in the run command &ldquo
The Win8.1 system comes with many useful applications, such as
How to let Win8 display multiple time zones
How to use tools to modify the fonts of Win8 system
Win8 system IE11 browser to customize Reading view style tutorial
How to open the resource manager win8?
Solution for Intelligent Touchpad unable to lock screen in Win8 system
How to set the IE10 page display ratio in Win8 system
Win8 and fedora 19 boot order settings
Three ways to quickly manage Win8.1 startup projects
Method of closing index service in win8 system
Several ways to activate the Win8 system regularly
Windows8 system Metro interface accidentally deleted the IE10 recovery method
Microsoft China R&D Group is hard to replace in Win7 development
How to open the screen touch keyboard under Windows10 system:
What configuration computer is better, there are brands
Win10 boot startup items too much how to do win10 boot startup items optimization tutorial
Win8 one-click access to administrator privileges tutorial
Win7 common problems and troubleshooting solutions
WindowsXP fault network troubleshooting
How to avoid the mistaken deletion of important files under win7 system