1、首先建立记事本,复制以下代码到记事本中,另存为.reg格式,双击注册表即可获得管理员权限。
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT*shellrunas]
[HKEY_CLASSES_ROOT*shellrunas]
@="获取超级管理员权限"
"Icon"="C:WindowsSystem32imageres.dll,-78"
"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_ROOTDirectoryshellrunas]
[HKEY_CLASSES_ROOTDirectoryshellrunas]
@="获取超级管理员权限"
"Icon"="C:WindowsSystem32imageres.dll,-78"
"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"
[-HKEY_CLASSES_ROOTdllfileshell]
[HKEY_CLASSES_ROOTdllfileshellrunas]
@="获取超级管理员权限"
"HasLUAShield"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTdllfileshellrunascommand]
@="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_ROOTDriveshellrunas]
[HKEY_CLASSES_ROOTDriveshellrunas]
@="获取超级管理员权限"
"Icon"="C:WindowsSystem32imageres.dll,-78"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTDriveshellrunascommand]
@="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"
2、删除管理员权限。复制代码根据上面的步骤新建记事本粘贴到记事本中,另存为.reg格式,双击即可删除管理员权限。
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT*shellrunas]
如果觉得《计算机获得超级管理员 win10企业版获取超级管理员权限的方法》对你有帮助,请点赞、收藏,并留下你的观点哦!