Computer Knowledge-Windows 7 deletes files and denies access. All prompts that permissions are insufficient. Solutions: Windows 7 has insufficient permissions.
I didn't want to write these things, but I often encountered them. Record them!
One-click access to the highest permissions of the Administrator
Create a txt file and change its suffix to. reg format. The content is as follows:
- Windows Registry Editor Version 5.00
- [HKEY_CLASSES_ROOT * shellrunas]
- @ = "Get the highest management permission"
- "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]
- @ = "Get the highest management permission"
- "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]
- @ = "Get the highest management permission"
- "NoWorkingDirectory" = ""
- [HKEY_CLASSES_ROOTDirectoryshellrunascommand]
- @ = "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"
Please restart... OK
When you move, copy, and delete files in win7, you are always prompted that you need the permissions provided by the Computer Administrator to change the file.
Create a txt file and enter
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT \ * \ shell \ runas]
@ = "Administrator privilege acquisition"
"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]
@ = "Administrator privilege acquisition"
"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]
@ = "Administrator privilege acquisition"
"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 \ "& #47 ...... remaining full text>
When I unmount Master Lu on Windows 7, the system shows that the access is denied. How can I use the permissions of the Administrators user group?
From the Start Menu-uninstall the program in the control panel