Computer Knowledge-Windows 7 deletes files and denies access. All prompts that permissions are insufficient. Solutions: Windows 7 has insufficient permissions.

Source: Internet
Author: User

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:

  1. Windows Registry Editor Version 5.00
  2. [HKEY_CLASSES_ROOT * shellrunas]
  3. @ = "Get the highest management permission"
  4. "NoWorkingDirectory" = ""
  5. [HKEY_CLASSES_ROOT * shellrunascommand]
  6. @ = "Cmd.exe/c takeown/f" % 1 "& icacls" % 1 "/grant administrators: F"
  7. "IsolatedCommand" = "cmd.exe/c takeown/f" % 1 "& icacls" % 1 "/grant administrators: F"
  8. [HKEY_CLASSES_ROOTexefileshellrunas2]
  9. @ = "Get the highest management permission"
  10. "NoWorkingDirectory" = ""
  11. [HKEY_CLASSES_ROOTexefileshellrunas2command]
  12. @ = "Cmd.exe/c takeown/f" % 1 "& icacls" % 1 "/grant administrators: F"
  13. "IsolatedCommand" = "cmd.exe/c takeown/f" % 1 "& icacls" % 1 "/grant administrators: F"
  14. [HKEY_CLASSES_ROOTDirectoryshellrunas]
  15. @ = "Get the highest management permission"
  16. "NoWorkingDirectory" = ""
  17. [HKEY_CLASSES_ROOTDirectoryshellrunascommand]
  18. @ = "Cmd.exe/c takeown/f" % 1 "/r/d y & icacls" % 1 "/grant administrators: F/t"
  19. "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
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.