Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Windows 8 獲取最高系統權限的兩大實用技巧

編輯:Windows 8 系統介紹

許多 Windows 8 使用者在存取系統資源或刪除檔案時,常因權限不足而受阻。要徹底解決這類問題,必須取得系統最高權限。本文提供兩種行之有效的方法,助你輕鬆掌控電腦。

方法一:啟用內建 Administrator 帳號

Windows 8 內建了一個擁有最高權限的 Administrator 帳號,預設為停用狀態。啟用後即可登入該帳號執行任何管理操作。

  1. 回到傳統桌面,右鍵點擊「電腦」選擇「管理」。
  2. 在左側導覽依序展開「系統工具」→「本機使用者和群組」→「使用者」。
  3. 在右側列表中找到「Administrator」,右鍵選擇「屬性」。
  4. 取消勾選「帳戶已停用」,點擊「確定」儲存。
  5. 按 Ctrl+Alt+Del 選擇「切換使用者」,以 Administrator 身分登入即可享有完整權限。

電腦管理介面

Administrator 屬性設定

切換使用者登入

方法二:匯入登錄檔新增右鍵「管理員權限」選項

此法將「取得管理員權限」與「恢復原始權限」加入檔案/資料夾右鍵選單,操作更直觀靈活。

  1. 新建文字文件,貼入下方登錄碼,另存為 TakeOwn.reg。
  2. 雙擊執行並確認匯入登錄表。
  3. 同理建立 RestoreOwn.reg 以備還原權限。

取得管理員權限登錄碼

Windows Registry Editor Version 5.00
;取得檔案修改權限
[HKEY_CLASSES_ROOT\*\shell\runas]
@="管理員權限"
"Icon"="C:\\Windows\\System32\\imageres.dll,102"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\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\exefile\shell\runas2]
@="管理員權限"
"Icon"="C:\\Windows\\System32\\imageres.dll,102"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\exefile\shell\runas2\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\Directory\shell\runas]
@="管理員權限"
"Icon"="C:\\Windows\\System32\\imageres.dll,102"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\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"

恢復原始權限登錄碼

Windows Registry Editor Version 5.00
;恢復原始權限
[HKEY_CLASSES_ROOT\*\shell\runas-]
@="恢復原始權限"
"Icon"="C:\\Windows\\System32\\imageres.dll,101"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas-\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /reset && cacls \"%1\" /e /r \"%%USERNAME%%\""
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /reset && cacls \"%1\" /e /r \"%%USERNAME%%\""
[HKEY_CLASSES_ROOT\exefile\shell\runas2-]
@="恢復原始權限"
"Icon"="C:\\Windows\\System32\\imageres.dll,101"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\exefile\shell\runas2-\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /reset && cacls \"%1\" /e /r \"%%USERNAME%%\""
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /reset && cacls \"%1\" /e /r \"%%USERNAME%%\""
[HKEY_CLASSES_ROOT\Directory\shell\runas-]
@="恢復原始權限"
"Icon"="C:\\Windows\\System32\\imageres.dll,101"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas-\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /reset && cacls \"%1\" /e /r \"%%USERNAME%%\""
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /reset && cacls \"%1\" /e /r \"%%USERNAME%%\""

匯入後,對任何檔案或資料夾右鍵即可看到「管理員權限」與「恢復原始權限」選項,一鍵完成權限變更。

右鍵選單示範

Copyright © Windows教程網 All Rights Reserved