Win8系统和win7一样,默认没有内置的系统管理员权限,导致很多用户在使用或访问应用程序时提示“需要管理员权限才能访问”。那么如何打开系统管理员权限呢?
如何打开Win8系统的管理员权限?
1.首先,创建记事本,将下面的代码复制到记事本中,保存为。reg格式,并双击注册表获取管理员权限。
Windows Registry Editor Version 5.00
[-HKEY类根/*/shell/runas]
[HKEY _ Class _ Root/*/Shell/Operation Mode]
@="获得超级管理员权限"
" Icon "=" C://Windows//System32//imageres。dll,-78 "
"Non-working directory"=""
[HKEY类根/*/shell/runas/命令]
@=" cmd。" exe/c takeown/F/" % 1/" icacls/" % 1/"/grant administrator s:F "
“隔离命令”=“cmd。" exe/c takeown/F/" % 1/" icacls/" % 1/"/grant administrator s:F "
[-HKEY class root directory/directory/shell/running mode]
[HKEY _ Class _ Root/Directory/Shell/Run Mode]
@="获得超级管理员权限"
" Icon "=" C://Windows//System32//imageres。dll,-78 "
"Non-working directory"=""
[HKEY class root directory/directory/shell/operation mode/command]
@=" cmd。/F/" % 1/"/r/d y icacls/" % 1/"/grant administrator s:F/t "
“隔离命令”=“cmd。/F/" % 1/"/r/d y icacls/" % 1/"/grant administrator s:F/t "
[-HKEY类根/dllfile/shell]
[HKEY类_根/dllfile/shell/runas]
@="获得超级管理员权限"
" HasLUAShield"=" "
"Non-working directory"=""
[HKEY类根/dllfile/shell/runas/command]
@=" cmd。" exe/c takeown/F/" % 1/" icacls/" % 1/"/grant administrator s:F "
“隔离命令”=“cmd。" exe/c takeown/F/" % 1/" icacls/" % 1/"/grant administrator s:F "
[-HKEY class root directory/drive/shell/running mode]
[HKEY _ Class _ Root/Drive/Shell/Operation Mode]
@="获得超级管理员权限"
" Icon "=" C://Windows//System32//imageres。dll,-78 "
"Non-working directory"=""
HKEY_CLASSES_ROOT/Drive/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”
2、 删除管理员权限。复制代码根据上面的步骤新建记事本粘贴到记事本中,另存为.reg格式,双击即可删除管理员权限。
Windows Registry Editor Version 5.00
-HKEY_CLASSES_ROOT/*/shell/runas
-HKEY_CLASSES_ROOT/Directory/shell/runas
-HKEY_CLASSES_ROOT/dllfile/shell
-HKEY_CLASSES_ROOT/Drive/shell/runas
-HKEY_CLASSES_ROOT/exefile/shell/runas
HKEY_CLASSES_ROOT/exefile/shell/runas
“HasLUAShield”=“”
HKEY_CLASSES_ROOT/exefile/shell/runas/command
@=“/”%1/“ %*”
“IsolatedCommand”=“/”%1/“ %*”