Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows » How to Set a Static IP Address in Windows 11

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
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

  • How to Disable the Firefox Password Manager in Windows 11
    How to Disable the Firefox Password Manager in Windows 11 Password Manager
  • Featured image Desktop Stickers
    How to create Desktop Stickers in Windows 11 Windows
  • jhgfx
    How to make Cortana use your default web browser such as Google Chrome Windows
  • fba7f screenshot 2019 04 15 at 18.33.30
    File System Overview: How to decide on the right File System to use for your USB Linux
  • Rport
    RPORT the free and open source remote management tool Linux
  • Update Wampserver
    How to update WampServer to Latest Version Web Server

More Related Articles

How to Disable the Firefox Password Manager in Windows 11 How to Disable the Firefox Password Manager in Windows 11 Password Manager
Featured image Desktop Stickers How to create Desktop Stickers in Windows 11 Windows
jhgfx How to make Cortana use your default web browser such as Google Chrome Windows
fba7f screenshot 2019 04 15 at 18.33.30 File System Overview: How to decide on the right File System to use for your USB Linux
Rport RPORT the free and open source remote management tool Linux
Update Wampserver How to update WampServer to Latest Version Web Server

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

sysadmin top30a

  • ansiblebanner
    Install and configure Ansible on Azure Virtual Machine Configuration Management Tool
  • MBAM
    Fix MBAM Client Deployment is only supported on MBAM 2.5 SP1 Windows
  • defdfd
    The password has expired, update your password and try again AWS/Azure/OpenShift
  • screenshot 2020 03 13 at 21.22.29
    How to determine Cygwin version Windows Server
  • image 2
    How to Fix Microsoft Edge Not Responding Windows
  • ACMP Defender Management
    How to Manage Microsoft Defender Antivirus with Argon ACMP Network | Monitoring
  • article 1280x720.192a2586 1 2
    Fix error 0x800f0805, run DISM executable (Failure 5627) Windows Server
  • Database Collation
    Change SQL Database Collation: ePO events DB and SQL server should match with ePO core collation Oracle/MSSQL/MySQL

Subscribe to Blog via Email

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

Join 1,824 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 AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.