To rename a computer at a command prompt:
> netdom renamecomputer old_servername/newname:new_servername
Restart your computer
Configure the Network
1 Viewing the network adapter name
netsh interface IPv4 show interfaces
2 Using a DHCP network
netsh interface ipv4 set address name= "Local Area Connection" Source=dhcp
netsh interface ipv4 set DNS name= "Local Area Connection" Source=dhcp
3 Using static IP
netsh interface ipv4 set address name= "Local Area Connection" Source=static addr=192.168.10.100
mask=255.255.255.0 gateway=192.168.10.1 Gwmetric=auto
4 Configuring DNS
netsh interface ipv4 set DNS name= "Local Area Connection" Source=static addr=202.96.209.133
Register=primary
netsh interface ipv4 set DNS name= "Local Area Connection" Source=static addr=202.106.100.20
index=2
5 Renaming a network adapter
netsh interface set interface name= "Old_name" newname= "New_name"
6 Disabling the network adapter
netsh interface set interface name= "name" Admin=disable
Server Core Configuration Firewall
To enable remote administration from the MMC snap-in
netsh advfirewall firewall set rule group= "Remote administration" new Enable=yes
command to enable remote management of the firewall
netsh advfirewall set currentprofile settings remotemanagement enable
Windows Server 2012 Basic Settings