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

Windows Server 2008 Core 管理五大實用技巧:解析度、提示字元、啟用、遠端管理、UAC

編輯:關於 Windows

Server Core 無圖形介面,純命令列操作,掌握以下五大技巧能大幅提升管理效率:

1. 修正預設 640×480 低解析度

註冊表路徑:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video\{GUID}\0000,修改 DefaultSettings.XResolution 與 YResolution 為螢幕原生解析度(如 1920、1080),重啟生效。需試誤找出正確 GUID。

2. 自訂命令提示字元顯示伺服器與使用者名稱

註冊表:HKLM\System\CurrentControlSet\Control\Session Manager\Environment,新增字串值 Prompt,資料:$_Server:[%servername%] $_Username:[%username%] $_$T$_$p$g。開新視窗即見 Server:SRV01 User:Admin 10:30 C:\> 格式。

3. 命令列啟用授權

執行 cscript slmgr.vbs -ato 即可線上啟用,無需 GUI。

4. 一鍵開啟遠端管理防火牆規則

netsh advfirewall set currentprofile settings remotemanagement enable
netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=yes
cscript SCregedit.wsf /AR 0

分別開啟遠端管理、WMI、RDP 通訊埠。

5. 關閉 UAC 避免安裝程式失敗

Core 版無 Explorer 無法使用「以系統管理員身分執行」。修改註冊表 HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System,將 EnableLUA 設為 0,重啟生效。

掌握這些技巧,Server Core 管理將不再受限於無介面環境。

Copyright © Windows教程網 All Rights Reserved