For servers with Windows operating system

This article explains how to reset your IP configuration.

If your server is no longer accessible after a manual change to the IP configuration, you can reset the network configuration to the default setting (DHCP) via the serial console.

You can do this with the following command:

netsh interface ipv4 set address "Local Area Connection" source=dhcp

If you receive the message "The syntax for the file name, directory name or volume name is incorrect", check that the name of the network adapter is not "Local Area Connection". Find this out using the ipconfig command. The part behind "Ethernet Adapter" indicates the name to be specified.

C:\Windows\system32>ipconfig

Ethernet Adapter Local Area Connection:

Connection-specific DNS suffix: onlinehome-server.info
IPv6 address. . . . . . . . . . . : 2001:8d8:81a:1f00::7d:49ea
Connection local IPv6 address . : fe80::6080:9834:1db1:1ff4%12
IPv4 address . . . . . . . . . . : 82.165.15.148
Subnet mask . . . . . . . . . . 255.255.255.255
Default gateway . . . . . . . . : fe80::1%12
10.255.255.1