Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • 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

  • change default apps windows 10 1
    Fresh Start, Clean Install and PC Reset: How to perform a Fresh Start installation of Windows 10 Windows
  • Disable Lock Screen on Windows
    How to disable Lock Screen on Windows 10 Windows
  • Lockout7
    Change Account Lockout Threshold for Local Accounts in Windows: The reference account is locked Windows
  • windows 1
    How to query, stop and delete a service in Windows Windows
  • Stop teams from auto start
    Prevent Microsoft Teams from starting automatically on Windows Windows
  • Windows 10 logo wmskill.com
    Handy Shutdown commands available in Windows Windows

More Related Articles

change default apps windows 10 1 Fresh Start, Clean Install and PC Reset: How to perform a Fresh Start installation of Windows 10 Windows
Disable Lock Screen on Windows How to disable Lock Screen on Windows 10 Windows
Lockout7 Change Account Lockout Threshold for Local Accounts in Windows: The reference account is locked Windows
windows 1 How to query, stop and delete a service in Windows Windows
Stop teams from auto start Prevent Microsoft Teams from starting automatically on Windows Windows
Windows 10 logo wmskill.com Handy Shutdown commands available in Windows 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

  • WindowsTerminalServerRDS
    Remove a Remote Desktop Service collection Windows Server
  • VMware and HyperV are not compatible
    How to fix VMware and HyperV are not compatible Virtualization
  • sdgfdhx
    MDT Warning: Unable to set working directory, the application returned an unexpected code 2 Windows Server
  • Screenshot 2020 06 25 at 23.38.40
    What is Registry Editor and how to access the registry hives Windows
  • screenshot 2020 04 18 at 00.01.07
    Different ways to check for Ansible syntax errors Configuration Management Tool
  • Screenshot
    Change Active Directory Domain name from dot local to dot com Windows Server
  • domain14 1
    How To Configure a Domain Password Policy Windows
  • Exchange logo
    Allow Password change for specific users in Exchange Server Network | Monitoring

Subscribe to Blog via Email

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

Join 1,819 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.