Set IP address on a Windows Server core installation

1. At a command prompt, type:

netsh interface ipv4 show interfaces

2. Verify that there is an interface list. At a command prompt, type

C:\netsh interface ipv4 set address name=<ID from interface list> source=static 
address=<preferred IP address> 
gateway=<gateway address> mask=<mask address>

3. Verify by typing ipconfig /all at a command prompt and checking that DHCP enabled is set to No.

Example command,

netsh interface ipv4 set address name=12 source=static address= 
gateway= mask=

This also works on a Windows 8 install.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s