Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form

How to Set a Static IP Address in Windows 11

Posted on 24/11/202319/12/2023 Temitope Odemo By Temitope Odemo No Comments on How to Set a Static IP Address in Windows 11
  1. Home
  2. Windows
  3. How to Set a Static IP Address in Windows 11
banner-6

An Internet Protocol (IP) address, a string of digits or numbers, serves to identify a device on the World Wide Web or a local network. Similar to a house address used for location, it uniquely identifies a specific computer and can extend to identify an entire network. In this guide, I will be showing you how to Set a Static IP Address in Windows 11. Please see how to Fix Elastic IP Address Could not be Associated, and Hosting Static Website and Versioning on AWS S3.

While a router can dynamically assign an IP address to your computer. You can also manually assign an IP address to your computer yourself. The benefit of this is that this IP address will be fixed on your Windows PC without changing.

Configure IP Address on Windows

You can read on How does Dynamic Host Configuration Protocol work, How to Restrict IP Address Range on Windows PC, How to Add a Printer Using an IP Address in Windows 11, How to configure a Windows client to obtain IP Address automatically from a DHCP Server

How to Set a Static IP Address Using Command Prompt

1: Search for Command Prompt and Run as Administrator

How-to-Set-a-Static-IP-Address-in-Windows-11-command-prompt

2. Type ipconfig /all on the Command Prompt and press Enter.

How-to-Set-a-Static-IP-Address-in-Windows-11-ipconfig2

Take note of all these details:

Adapter Name
IPv4 Address
Subnet Mask
Default Gateway
DNS Servers
How-to-Set-a-Static-IP-Address-in-Windows-11-ipconfig

3. You will need to replace the sections in square brackets with the correct Adapter name, IPv4 Address, Subnet Mask, Default Gateway, and DNS Servers.

netsh interface ip set address name= “[Adapter Name]” static [IPv4 address] [Subnet Mask] [Default Gateway]

How to Set a Static IP Address in Windows 11 - ipconfig3

4. The next thing to do is to set the DNS Server Address

netsh interface ip set dns name = [Adapter Name] static [DNS Server]

How-to-Set-a-Static-IP-Address-in-Windows-11-ipconfig4

Once all the command runs successfully. The static IP Address will be set.

Please see how to configure static page in Microsoft Edge browser via Local Group Policy on Windows, and Classes of IP Address: Understanding IP Address Classification, and how to Allocate, Associate, Disassociate and Release Elastic IP Address from an EC2 Instance.

Method 2: Set a Static IP on Windows 11 Using Windows Settings

Aside from the command prompt you can decide to set the Static IP via the Windows settings.

1: You will still need to use the ipconfig /all and note the Adapter name, IPv4 Address, Subnet Mask and DNS Address.

2: Navigate to Settings App and click Network & Internet. Click on Properties button at the top.

properties

3. On the Adapter Properties page, in the IP assignment section click Edit.

How-to-Set-a-Static-IP-Address-in-Windows-11-network-settings

4. Click the drop-down box and select Manual. Click Save.

How-to-Set-a-Static-IP-Address-in-Windows-11-manual

5. Toggle IPv4 button to ON.

How-to-Set-a-Static-IP-Address-in-Windows-11-IPv4

6. Please enter the IP Address, Subnet Mask, Gateway, and Preferred DNS. This information was displayed earlier. The Alternate DNS is optional.

Click Save and after this, your system will have a Static Address.

Edit-network

Method 3:  How to Set a Static IP on Windows 11 Using PowerShell

You can also set a static IP address using PowerShell but you cannot use the current IPv4 Address but has to be changed.

1: Run PowerShell as Administrator

windows-powershell

2. Enter Get-NetIPConfiguration and press Enter. Take note of all these details:

InterfaceIndex
IPv4Address
IPv4DefaultGateway
DNSServer
ipconfiguration

3. Enter the following command and replace what is in the square brackets with the details above except for IPv4 Address which should have a different last digit.

New-NetIPAddress -InterfaceIndex [InterfaceIndex] -IPAddress [IPv4Address] -PrefixLength 24 -DefaultGateway [IPv4DefaultGateway]

New-NetIPAddress

4. Next step is to set the DNS server, enter the following and replace what is in the square brackets with the correct value and after doing this the Static IP Address will be set.

Set-DnsClientServerAddress -InterfaceIndex [InterfaceIndex] -ServerAddresses [DNSServer]

DNSclient

Method 4: How to Set a Static IP on Windows 11 Using the Control Panel

1: Navigate to Control Panel and click Network and Internet.

control-panel

2. Click on Network and Sharing Center

network-sharing

3. In the left-hand menu, click Change adapter settings.

Change-Adapter

4. Right-click on the Specific Network Adapter and select Properties.

ethernet

5. Select Internet Protocol Version 4 (TCP/IPv4) and click on Properties.

IPV4

6. Select Use the Following IP Address and enter the IP Address, Subnet Mask, Default Gateway, and DNS Servers that was displayed when you run ipconfig.

Once you click OK the Static settings will be saved.

IP4-Properties

I hope you found this blog post on How to Set a Static IP Address in Windows 11 Interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Tags:Internet, Internet Connection, Internet Information Services, Microsoft Windows, Windows 10, Windows 11, Windows Server 2016

Post navigation

Previous Post: How to Prevent Standard Users from Changing BitLocker Password
Next Post: How to Show or Hide File Extensions on Windows 11

Related Posts

  • Screenshot 2020 08 13 at 03.29.53
    Windows Modules Installer: How to deactivate TrustedInstaller in Windows Windows
  • MDT Workbench Crashes when opening WinPE tab Properties
    Fix MDT Workbench Crashes when opening WinPE tab Properties Windows
  • domain14 1
    How To Configure a Domain Password Policy Windows
  • wacxx
    Install Windows Admin Center in an unattended mode using a self-signed certificate Windows
  • ads
    How to disable Ads in Windows 11 Windows
  • image 63
    What to do when your Remote Desktop Licensing Manager Server Crashes Windows

More Related Articles

Screenshot 2020 08 13 at 03.29.53 Windows Modules Installer: How to deactivate TrustedInstaller in Windows Windows
MDT Workbench Crashes when opening WinPE tab Properties Fix MDT Workbench Crashes when opening WinPE tab Properties Windows
domain14 1 How To Configure a Domain Password Policy Windows
wacxx Install Windows Admin Center in an unattended mode using a self-signed certificate Windows
ads How to disable Ads in Windows 11 Windows
image 63 What to do when your Remote Desktop Licensing Manager Server Crashes Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • Featured image samp
    How to use Windows 11 PC Health Check App Windows
  • Task Scheduler Greyed Out
    How to fix Task Scheduler Service Greyed Out in Service MMC Windows
  • Screenshot 2020 06 25 at 22.51.15
    Why is Data recovery is almost impossible from an overwritten Hard Drive Windows
  • fix IP addressed blocked Synology
    IP Address blocked on Synology NAS due to forgotten Password Storage
  • Featured image 2
    Microsoft Account Password Reset via Web and Windows Windows
  • maxresdefault
    How to extend a VM Hard Disk on VMware Workstation Virtualization
  • unionfsfeature
    How to Overlay two files with UnionFs in a Linux System Linux
  • MV command in Linux
    Rename or Move Files or Directories in Linux with Bash Terminal Linux

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,796 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.