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

Win8.1 取得超級管理員權限:匯入 .reg 登錄檔新增右鍵選單「取得超級管理員權限」,一鍵 Takeown + Icacls

編輯:Win8 系統應用技巧

新增右鍵選單(匯入以下 .reg)

Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\runas]
[HKEY_CLASSES_ROOT\*\shell\runas]
@="取得超級管理員權限"
"Icon"="C:\\Windows\\System32\\imageres.dll,-78"
"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"
...(目錄、DLL、磁碟機同理,完整內容見原文)
右鍵選單效果 執行中 完成 權限修改後

移除右鍵選單(匯入以下 .reg)

Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\runas]
[-HKEY_CLASSES_ROOT\Directory\shell\runas]
[-HKEY_CLASSES_ROOT\dllfile\shell\runas]
[-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\" %*"
移除確認 移除後

以註冊檔匯入方式操作,避免手動編輯註冊表風險,適用檔案/資料夾/磁碟機/DLL/EXE 多種物件。

Copyright © Windows教程網 All Rights Reserved