Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win8 設定 CMD 預設以系統管理員身分執行 修改登錄一勞永逸

編輯:關於 Windows

頻繁需以管理員身分開啟 CMD,可修改登錄使預設即為管理員模式:

  1. 新建文字檔,貼上以下登錄指令:
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "c:\windows\system32\cmd.exe" /d "RUNASADMIN" /f
  1. 另存為 CMD.BAT(類型選「所有檔案」)。
  2. 右鍵 CMD.BAT →「以系統管理員身分執行」。
  3. 之後執行 cmd 即自動以管理員模式開啟(標題列顯示「系統管理員: C:\windows\system32\cmd.exe」)。

高頻率使用 CMD 的使用者強烈建議設定。

Copyright © Windows教程網 All Rights Reserved