How does win7 get the highest privileges of an administrator
Editor to share with you how win7 to get the highest administrator permissions, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Specific operations:
The 1.administrator account is the highest privilege on the computer, but it is generally not necessary to open this account when asking for documents. For files that cannot be operated, right-click and select "Administrator takes ownership".
two。 The program pops up and runs, waiting for the program to finish running.
3. Create a new text document on the desktop, and then paste the following code into the document.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\ *\ shell\ runas]
@ = "Administrator takes ownership"
"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 takes ownership"
"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 takes ownership"
"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\ "/ grant administrators:F / t"
4. Save the text and change the suffix to reg.
5. Double-click the file and click Yes.
6. After a successful addition, the administrator takes ownership when you open a file that was previously inaccessible.
The above is all the contents of the article "how to get the highest administrator privileges in win7". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!