win10怎么获得administrator权限
2个回答
展开全部
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"
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"
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询