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

Windows Server 2008 Core 網路基本設定完整指令手冊:IP、DNS、管理員密碼、遠端管理預備

編輯:Server 2008

Server Core 安裝後無 GUI,必須用命令列完成網路基礎設定才能進行遠端管理。本文提供逐步指令:設定管理員密碼 (net user)、查詢網卡索引 (netsh interface ipv4 show interface)、設定靜態 IP/DHCP (netsh interface ipv4 set address)、設定 DNS (netsh interface ipv4 add dnsserver)、驗證 (ipconfig /all),完成即可啟用遠端 MMC/WinRS 管理。

設定管理員密碼

net user Administrator 新密碼

查詢網卡索引 (Idx)

netsh interface ipv4 show interface

記下目標介面的 Idx 值(如 2)。

設定靜態 IP

netsh interface ipv4 set address name="2" source=static address=192.168.1.233 mask=255.255.255.0 gateway=192.168.1.1

※ 請替換為實際 IP/網關/遮罩。

設定 DHCP(替代靜態)

netsh interface ipv4 set address name="2" source=dhcp

設定 DNS 伺服器

netsh interface ipv4 add dnsserver name="2" address=192.168.1.180

可重複執行加入多組 DNS。

驗證設定

ipconfig /all

確認 IP、子網路遮罩、預設閘道、DNS 伺服器皆正確。

後續啟用遠端管理

  1. 防火牆開放遠端管理群組:netsh advfirewall firewall set rule group="Remote Administration" new enable=yes
  2. 啟用 WinRM:winrm quickconfig
  3. 即可從管理端使用 MMC、WinRS、PowerShell Remoting 連線。
Copyright © Windows教程網 All Rights Reserved