標籤:windows server 2012 基礎 設定
在命令提示字元下重新命名電腦:
> netdom renamecomputer Old_ServerName /newname:New_ServerName
重啟電腦
配置網路
1 查看網路介面卡名稱
netsh interface ipv4 show interfaces
2 使用DHCP網路
netsh interface ipv4 set address name="本地串連" source=dhcp
netsh interface ipv4 set dns name="本地串連" source=dhcp
3 使用靜態IP
netsh interface ipv4 set address name="本地串連" source=static addr=192.168.10.100
mask=255.255.255.0 gateway=192.168.10.1 gwmetric=auto
4 配置DNS
netsh interface ipv4 set dns name="本地串連" source=static addr=202.96.209.133
register=primary
netsh interface ipv4 set dns name="本地串連" source=static addr=202.106.100.20
index=2
5 重新命名網路介面卡
netsh interface set interface name="old_name" newname="new_name"
6 禁用網路介面卡
netsh interface set interface name="name" admin=DISABLE
伺服器核心配置防火牆
從MMC嵌入式管理單元啟用遠端管理
netsh advfirewall firewall set rule group="Remote Administration" new enable=yes
命令啟用防火牆的遠端管理
netsh advfirewall set currentprofile settings remotemanagement enable
Windows Server 2012 基礎設定