On Windows 10, you can configure a network adapter to use a static IP address manually, or you can use an automatically assigned configuration using the local Dynamic Host Configuration Protocol (DHCP) server.
Although using a static IP address is recommended for devices that provide services to network users, as its configuration never changes, it may come the time when you may no longer need this configuration, and a dynamically assigned network configuration will be more suited.
If you use a static IP address and need to switch to a dynamic configuration, it’s possible to perform this task in several ways, including using the Settings app, Control Panel, Command Prompt, and even PowerShell.
In this guide, you’ll learn the steps to remove a static IP address configuration to obtain a dynamic configuration from the DHCP server on Windows 10.
- Configure dynamic IP address (DHCP) using Settings
- Configure dynamic IP address (DHCP) using Command Prompt
- Configure dynamic IP address (DHCP) using PowerShell
- Configure dynamic IP address (DHCP) using Control Panel
Configure dynamic IP address (DHCP) using Settings
To configure a network adapter to request a DHCP configuration instead of a static IP address, use these steps:
Open Settings.
Click on Network & Internet.
Click on Ethernet or Wi-Fi.
Important: The ability to edit the IP settings for an Ethernet adapter in the Settings app is available starting with Windows 10 version 1903, April 2019 Update, and later.
Click the network connection.
Under the “IP settings” section, click the Edit button.
Use the Edit IP settings drop-down menu and select the Automatic (DHCP) option.
Click the Save button.
Once you complete the steps, the networking stack configuration will reset, and your device will request an IP address from the DHCP server (usually your router).
Configure dynamic IP address (DHCP) using Command Prompt
To switch from a static TCP/IP configuration to a dynamically assigned configuration using DHCP with Command Prompt, use these steps:
Open Start.
Search for Command Prompt, right-click the top result, and select the Run as administrator option.
Type the following command to note the name of the network adapter and press Enter
ipconfigType the following command to configuring the network adapter to obtain its TCP/IP configuration using DHCP and press Enter:
netsh interface ip set address "Ethernet1" dhcpIn the command, make sure to change “Ethernet1” for the adapter’s name that you want to configure.
After completing the steps, the network adapter will stop using a static IP address, and it’ll obtain a configuration automatically from the DHCP server.
Configure dynamic IP address (DHCP) using PowerShell
To remove a static IP and DNS addresses to use a dynamic configuration using PowerShell, use these steps:
Open Start.
Search for PowerShell, right-click the top result, and select the Run as administrator option.
Type the following command to note the “InterfaceIndex” number for the network adapter and press Enter:
Get-NetIPConfigurationType the following command to enable the network adapter to obtain its TCP/IP configuration using DHCP and press Enter:
Get-NetAdapter -Name Ethernet1 | Set-NetIPInterface -Dhcp EnabledIn the command, make sure to change “Ethernet0” for the adapter’s name that you want to configure.
Type the following command to enable the network adapter to obtain its DNS configuration using DHCP and press Enter:
Set-DnsClientServerAddress -InterfaceIndex 3 -ResetServerAddressesIn the command, change “3” for the InterfaceIndex for the adapter to configure.
Once you complete the steps, the IP and DNS addresses will be reset from the adapter, and your computer will receive a new dynamic configuration from DHCP.
Configure dynamic IP address (DHCP) using Control Panel
To configure a network adapter to use a dynamic IP address using Control Panel, use these steps:
Open Control Panel.
Click on Network and Internet.
Click on Network and Sharing Center.
On the left pane, click the Change adapter settings link.
Right-click the network adapter and select the Properties option.
Select the Internet Protocol Version 4 (TCP/IPv4) option.
Click the Properties button.
Select the Obtain an IP address automatically option.
Select the Obtain the following DNS server address automatically option.
Click the OK button.
After completing the steps, the statically assigned TCP/IP configuration will no longer be available, and the computer will automatically request a dynamic network configuration from the network.
We may earn commission for purchases using our links to help keep offering the free content. Privacy policy info.
All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.