How to obtain administrator ownership by win7
This article mainly introduces how to obtain administrator ownership of win7, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
First, right-click in the space on the desktop and select New text document.
Second, copy the following to the text document you just created.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellunas]
@ = "Administrator takes ownership"
"NoWorkingDirectory" = ""
[HKEY_CLASSES_ROOT*shellunascommand]
@ = "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_ROOTexefileshellunas2]
@ = "Administrator takes ownership"
"NoWorkingDirectory" = ""
[HKEY_CLASSES_ROOTexefileshellunas2command]
@ = "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_ROOTDirectoryshellunas]
@ = "Administrator takes ownership"
"NoWorkingDirectory" = ""
[HKEY_CLASSES_ROOTDirectoryshellunascommand]
@ = "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"
Click Save as to save the file with the .reg extension.
Fourth, open the just saved reg file, click "Yes" in the pop-up window, and you can get the administrator ownership.
Thank you for reading this article carefully. I hope the article "how to obtain administrator ownership of win7" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!