Win8系統(tǒng)和win7一樣,默認沒有內(nèi)置的系統(tǒng)管理員權限,導致很多用戶在使用或訪問應用程序時提示“需要管理員權限才能訪問”。那么如何打開系統(tǒng)管理員權限呢?
如何打開Win8系統(tǒng)的管理員權限?
1.首先,創(chuàng)建記事本,將下面的代碼復制到記事本中,保存為。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"=" "
“NoWorkingDirectory”=“”
HKEY_CLASSES_ROOT/dllfile/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/Drive/shell/runas
HKEY_CLASSES_ROOT/Drive/shell/runas
@=“獲取超級管理員權限”
“Icon”=“C://Windows//System32//imageres.dll,-78”
“NoWorkingDirectory”=“”
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、 刪除管理員權限。復制代碼根據(jù)上面的步驟新建記事本粘貼到記事本中,另存為.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/“ %*”