• To set a static IP address on Windows 11, open Settings > Network & internet , select your adapter, then edit the “IP settings” to “Manual” and enter your IPv4 address, subnet mask, gateway, and DNS.
  • You can also assign a static IP using Command Prompt ( netsh ), PowerShell ( New-NetIPAddress ), or Control Panel.

UPDATED 12/12/2025: On Windows 11, a static IP address is a permanent network configuration , making it the preferred option for sharing files , printing on a local network , or configuring port forwarding on a computer (or server).

Usually, when a computer connects to the network, it receives a dynamic IP address assigned by the local Dynamic Host Configuration Protocol (DHCP) server. The only caveat is that this configuration can change at any time, upon device restart or after the lease of the current configuration expires, which may cause services such as port forwarding and remote desktop to stop working. A static network configuration always maintains the same settings, making it ideal for hosting services that other users can access through the network.

This guide will teach you how to set a static IP (version 4) address on Windows 11 .

  • Set static IP using Command Prompt on Windows 11
  • Set static IP using PowerShell on Windows 11
  • Set static IP using Settings on Windows 11
  • Set static IP using Control Panel on Windows 11

Set static IP using Command Prompt on Windows 11

To set a static IP address on Windows 11 with Command Prompt, follow these steps:

  1. Open Start on Windows 11.
  2. Search for Command Prompt , right-click the top result, and select the Run as administrator option.
  3. Type the following command to see your current networking configuration and press Enter : ipconfig /all
  4. Confirm the adapter’s name and the IPv4, Subnet mask, Default Gateway, and DNS Servers .
  5. Type the following command to assign a static IP address on Windows 11 and press Enter : netsh interface ip set address name=“Ethernet0” static 10.1.4.119 255.255.255.0 10.1.4.1 In the above command, replace “Ethernet0” with the name of your network adapter. Change “10.1.4.119 255.255.255.0 10.1.4.1” with the device IP address, subnet mask, and default gateway address corresponding to the local area network.
  6. Type the following command to set a DNS server address and press Enter : netsh interface ip set dns name=“Ethernet0” static 10.1.4.1 In the command, ensure that you replace “Ethernet0” with your adapter’s name and “10.1.4.1” with the DNS server address of your network.
  7. Type the following command to set an alternate DNS server address and press Enter : netsh interface ip add dns name=“Ethernet0” 8.8.8.8 index=2 In the command, change “Ethernet0” with the adapter’s name and “8.8.8.8” with an alternate DNS server address.

After completing the steps, you can use the ping command (for example ping bing.com ) to see if the configuration works correctly.

Set static IP using PowerShell on Windows 11

You can use PowerShell with the “NetTCPIP” module to manage networking settings, including changing the IP address settings to a static configuration.

To configure a static IP address using PowerShell, follow these steps:

  1. Open Start .
  2. Search for PowerShell , right-click the result, and select the Run as administrator option.
  3. Type the following command to view your current network configuration and press Enter : Get-NetIPConfiguration
  4. Confirm the network information, including InterfaceIndex, IPv4Address, IPv4DefaultGateway, and DNSServer .
  5. Type the following command to set a static IP address and press Enter : New-NetIPAddress -InterfaceIndex 10 -IPAddress 10.1.4.119 -PrefixLength 24 -DefaultGateway 10.1.4.1 In the command, replace the “InterfaceIndex” number (10) with the corresponding number of your adapter. Change “IPAddress” with the static IP address you want to assign to your device. Change “PrefixLength” (subnet mask) with the correct bit number if necessary. Typically, on a home network, the setting is “24.” Also, change the “DefaultGateway” option to the default gateway address of the network.
  6. Type the following command to assign a DNS server address and press Enter : Set-DnsClientServerAddress -InterfaceIndex 10 -ServerAddresses 10.1.4.1 If you need to set a secondary DNS server address, use a comma to specify another address in the same command. For example: Set-DnsClientServerAddress -InterfaceIndex 10 -ServerAddresses 10.1.4.1, 8.8.8.8 In the command, replace the “InterfaceIndex” number (10) with the corresponding number of your network adapter. Also, change “ServerAddresses” to the DNS IP address.

Once you complete the steps, the new network configuration will apply to the computer.

Regardless of your method of choice, always assign a TCP/IP address within the network range and outside of the DHCP server’s scope to ensure proper connectivity and avoid configuration conflicts. The reason is that multiple computers sharing the same address will cause problems, preventing them from connecting to the internet.

Set static IP using Settings on Windows 11

On Windows 11, you can set a static IP address configuration from the Settings app for wireless and wired adapters.

Wi-Fi adapter static IP configuration

To assign a static IP address configuration to a Wi-Fi adapter, follow these steps:

  1. Open Settings .
  2. Click on Network & Internet .
  3. Click the Wi-Fi page.
  4. Select the current network connection.
  5. Click the Edit button in the “IP assignment” setting.
  6. Select the Manual option.
  7. Turn on the IPv4 toggle switch.
  8. Set a static IP address for Windows 11. For example, 10.1.4.119 .
  9. Specify a Subnet mask . For example, 255.255.255.0 .
  10. Specify a Default Gateway address.
  11. Specify a Preferred DNS address (required).
  12. (Optional) Specify an “Alternate DNS” address.
  13. Use the “DNS over HTTPS” drop-down menu and select the “Off” option for the preferred and alternate addresses, but you can enable DoH with these options: Off: Transmits all DNS traffic without encryption. On (automatic template): Sends all DNS traffic with encryption. On (manual template): Allows you to specify a specific template. It is only required if the DNS service doesn’t work automatically or has a template that does not work as expected.
  14. Turn off the “Fallback to plaintext” toggle switch (if you enable DoH). Quick tip: If you enable this feature, the system will encrypt DNS traffic, but it allows queries to be sent without encryption.
  15. Click the Save button.

Once you complete the steps, the static network configuration will apply to the computer. You can test the new settings by opening the web browser and loading a website.

Ethernet adapter static IP configuration

To assign a static IP address to an Ethernet (wired) adapter on Windows 11, follow these steps:

  1. Open Settings .
  2. Click on Network & Internet .
  3. Click the Ethernet page.
  4. Click the Edit button in the “IP assignment” setting. /li>
  5. Select the Manual option.
  6. Turn on the IPv4 toggle switch.
  7. Set a static IP address for Windows 11. For example, 10.1.4.119 .
  8. Specify a Subnet mask . For example, 255.255.255.0 .
  9. Specify a Default Gateway address.
  10. Specify a Preferred DNS address (required).
  11. (Optional) Specify an “Alternate DNS” address.
  12. Use the “DNS over HTTPS” drop-down menu and select the “Off” option for the preferred and alternate addresses, but you can enable DoH with these options: Off: Transmits all DNS traffic without encryption. On (automatic template): Sends all DNS traffic with encryption. On (manual template): Allows you to specify a specific template. It is only required if the DNS service doesn’t work automatically or has a template that does not work as expected.
  13. Turn off the “Fallback to plaintext” toggle switch (if you enable DoH).
  14. Click the Save button.

After completing the steps, you can test your settings by opening a website using your web browser.

Set static IP using Control Panel on Windows 11

On Windows 11, you can still use Control Panel to change the IP settings for Ethernet or Wi-Fi adapters.

To assign a static IP configuration through the Control Panel, follow these steps:

  1. Open Control Panel .
  2. Click on Network and Internet .
  3. Click on Network and Sharing Center .
  4. Click the “Change adapter settings” option in the left navigation pane.
  5. Right-click the network adapter and select the Properties option .
  6. Select the “Internet Protocol Version 4 (TCP/IPv4)” option.
  7. Click the Properties button.
  8. Select the “Use the following IP address” option.
  9. Assign the static IP address . For example, 10.1.4.119 .
  10. Specify a Subnet mask . Typically, on a home network, the subnet mask is 255.255.255.0 .
  11. Specify a Default gateway address – for example, 10.1.4.1 (Usually, your router’s address).
  12. Under the “Use the following DNS server addresses set Preferred DNS server” section, set the “Preferred DNS server address,” which is usually your router’s IP address or the IP address of a DNS server providing DNS resolution (for example, 10.1.4.1 ).
  13. (Optional) Specify an “Alternative DNS server,” which the computer will use if it cannot reach the preferred DNS server.
  14. Click the OK button.
  15. Click the Close button again.

Once you have completed the steps, you can open your web browser and load a website to verify that the configuration is working.

What is a static IP address on Windows 11?

A static IP address is a permanent network configuration that does not change after reboots or DHCP lease renewals. It ensures consistent connectivity for services like file sharing, port forwarding, network printing, and remote access.

Why should I use a static IP instead of DHCP?

DHCP assigns dynamic addresses that can change over time, disrupting services that depend on a fixed address. A static IP guarantees that the device is always reachable at the same address.

When is a static IP address required?

Use a static IP when hosting services on your computer, configuring port forwarding, setting up a home server, using Remote Desktop, running surveillance systems, or sharing resources on a local network.

What happens if two devices share the same static IP?

An IP conflict occurs. Both devices will lose connectivity or behave unpredictably. Always assign an address outside your router’s DHCP range to avoid conflicts.

Can I set a static IP for both Wi-Fi and Ethernet?

Yes. Windows 11 allows separate static configurations for each adapter. You must configure each interface individually.

What information do I need before setting a static IP?

You need four values: IPv4 address, subnet mask, default gateway, and DNS server. These can be obtained using the ipconfig /all command.

What is the best method to set a static IP on Windows 11?

All methods achieve the same result. You can set it using Settings, PowerShell, Command Prompt, and even Control Panel.

How do I choose the correct static IP address?

Pick an address within your local subnet but outside the DHCP pool. For example, if DHCP assigns 10.1.4.100 to 10.1.4.150, choose something like 10.1.4.200.

What is PrefixLength in PowerShell?

PrefixLength represents your subnet mask in bit notation. For most home networks, PrefixLength is 24, matching subnet mask 255.255.255.0.

Do I need both preferred and alternate DNS servers?

You only need one DNS server to function, but adding an alternate improves reliability if the primary becomes unreachable.

Can I enable DNS over HTTPS with a static IP?

Yes. When configuring DNS in Settings, you can enable DoH to encrypt DNS queries. It supports automatic or manual templates depending on your provider.

Does setting a static IP affect internet speed?

No. A static IP only changes how your device identifies itself on the network. Speed is determined by your router, connection, and ISP.

How do I confirm my static IP is working?

Confirm your static IP by loading a website, pinging a domain like bing.com , and running ipconfig to confirm the settings.

Will my static IP work on any network?

A static IP is tied to the network’s addressing scheme. If you move your device to another network, you must update the IP settings to match that network’s configuration.

Update December 12, 2025: This guide has been updated to ensure accuracy and reflect changes to the process.

On Windows 10 , you can share a USB printer with other computers in the network, even if the device does not have Wi-Fi or Ethernet connectivity. This is possible thanks to the print server feature available on Windows 10, which allows you to share a USB printer quickly in the network.

Printer sharing is nothing new, it’s a feature that has been part of the operating system for a long time, and you can still use it on Windows 10.

In this guide , you will learn the steps to share a printer on Windows 10 over the network.

  • Share printer on Windows 10
  • Install shared printer on Windows 10

Share printer on Windows 10

To connect a USB printer to a Wi-Fi network without extra accessories, you can use Windows 10 “printer sharing” with these steps:

  1. Open Settings on Windows 10.
  2. Click on Devices .
  3. Select the USB printer to share.
  4. Click the Manage button.
  5. Click the Printer properties link.
  6. Open the Sharing tab.
  7. Check the “Share this printer” option.
  8. (Optional) Change the printer share name as needed.
  9. Click the Apply button.
  10. Click the OK button.

Once you complete the steps, the USB printer will be available in the network for anyone to connect.

Install a shared printer on Windows 10

The process of Installing a shared printer is easy, but it’s not the same as it would be to install a wireless printer .

To install a shared printer to another computer, use these steps:

  1. Open Settings .
  2. Click on Devices .
  3. Click the Add printer & scanner button and wait a few moments.
  4. Click the “The printer that I want isn’t listed” option.
  5. Check the “Select a shared printer by name” option.
  6. Confirm the printer network path. For example, \computerName\printerName . If the name doesn’t work, you can also use the IP address for the computer sharing the printer.
  7. Click the Next button.
  8. Use the default printer name.
  9. Click Next to install the shared USB printer on Windows 10.
  10. Click the Finish button.

After you complete the steps, the print jobs will travel through the network to the computer with the printer server configured, and then the jobs will be directed to the USB printer. Users can only print as long as the computer sharing the printer is turned on.

Although most modern printers come with a print server, you can still find printers only with USB or parallel cable connectivity. For those situations, Windows 10 offers an easy solution to share a printer with other people over the network.