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
  • Featured image Chrome notification
    How to Disable Chrome Browser Notifications on Windows Windows
  • dfeef
    How to automatically resolve errors associated with failed dependencies Linux
  • Microsoft Enterprise Root Certification Authority and Forest Domain to Azure migration
    Migrate Microsoft Enterprise Root Certification Authority and Forest Domain to Azure AWS/Azure/OpenShift
  • dfgh
    How to install Pleasant Password Server Password Manager
  • maxresdefault 1
    DriveLock Components: Important DriveLock components to master Windows Server
  • Storage Explorer
    How to Install Azure Storage Explorer on Windows AWS/Azure/OpenShift
  • Determine GPO from GUID or Name
    How to determine GPO from GUID or Name Windows
  • task manager not responding thumbnail
    Process Explorer: Replace built-in Task Manager Windows Server

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 Pocket (Opens in new window) Pocket
  • 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

  • configure kerberos
    Configure Kerberos Delegation in Windows Windows
  • dotnet6783
    Various methods to Install .NET Framework in Windows Windows
  • Feature image  Error Code 0xC1900101 – 0x30018
    How to Fix Windows Update Error Code 0xC1900101 – 0x30018 Windows
  • MDT Workbench Crashes when opening WinPE tab Properties
    Fix MDT Workbench Crashes when opening WinPE tab Properties Windows
  • delete5
    How to Delete Diagnostic Data in Windows 10 and Windows 11 Windows
  • MBAM roles
    Understanding Microsoft BitLocker Administration and Monitoring Roles Windows

More Related Articles

configure kerberos Configure Kerberos Delegation in Windows Windows
dotnet6783 Various methods to Install .NET Framework in Windows Windows
Feature image  Error Code 0xC1900101 – 0x30018 How to Fix Windows Update Error Code 0xC1900101 – 0x30018 Windows
MDT Workbench Crashes when opening WinPE tab Properties Fix MDT Workbench Crashes when opening WinPE tab Properties Windows
delete5 How to Delete Diagnostic Data in Windows 10 and Windows 11 Windows
MBAM roles Understanding Microsoft BitLocker Administration and Monitoring Roles 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

sysadmin top30a

  • Featured image Chrome notification
    How to Disable Chrome Browser Notifications on Windows Windows
  • dfeef
    How to automatically resolve errors associated with failed dependencies Linux
  • Microsoft Enterprise Root Certification Authority and Forest Domain to Azure migration
    Migrate Microsoft Enterprise Root Certification Authority and Forest Domain to Azure AWS/Azure/OpenShift
  • dfgh
    How to install Pleasant Password Server Password Manager
  • maxresdefault 1
    DriveLock Components: Important DriveLock components to master Windows Server
  • Storage Explorer
    How to Install Azure Storage Explorer on Windows AWS/Azure/OpenShift
  • Determine GPO from GUID or Name
    How to determine GPO from GUID or Name Windows
  • task manager not responding thumbnail
    Process Explorer: Replace built-in Task Manager Windows Server

Subscribe to Blog via Email

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

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