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
  • Preventing Attacks on Cisco Switches Blog Header
    How to enable ssh via ASDM on Cisco ASA Network | Monitoring
  • tux through window 620x354 1
    WSL Error 0x8007019e: WSL Register Distribution failed with error Windows
  • Screenshot 2021 03 16 at 21.14.05
    Unable to locate the account: Fix call to DsGetDcNameWithAccount failed with return value 0x0000054B Windows Server
  • image 1
    Install and License Devolutions Remote Desktop Manager Mac
  • windows 10 creators update wallpaper
    Run or Edit and Delete Tasks via Windows Task Scheduler Windows
  • VMware Tools
    How to upgrade VMware Tools in vSphere Virtualization
  • WDSMDT
    What are the differences between MDT and WDS Windows Server
  • Windowsfilesystemxx
    Failed to remove network for the build, Job failed error: Invalid volume specification: “/cache” Containers

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.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to 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

  • ghm
    Single App Kiosk Mode Configuration using MDM Bridge WMI Provider Windows
  • AppLocker
    Fix unable to start the Application Identity Service Windows
  • Featured image 1
    How to enable or disable color filters in Windows Windows
  • Screenshot 2020 08 13 at 03.29.53
    Windows Modules Installer: How to deactivate TrustedInstaller in Windows Windows
  • WhatsApp Image 2022 02 20 at 4
    How to use Postman for your POST Request Web Server
  • images 2
    How to disable power plan in Windows via GPO and Windows Settings Windows

More Related Articles

ghm Single App Kiosk Mode Configuration using MDM Bridge WMI Provider Windows
AppLocker Fix unable to start the Application Identity Service Windows
Featured image 1 How to enable or disable color filters in Windows Windows
Screenshot 2020 08 13 at 03.29.53 Windows Modules Installer: How to deactivate TrustedInstaller in Windows Windows
WhatsApp Image 2022 02 20 at 4 How to use Postman for your POST Request Web Server
images 2 How to disable power plan in Windows via GPO and Windows Settings 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

  • Preventing Attacks on Cisco Switches Blog Header
    How to enable ssh via ASDM on Cisco ASA Network | Monitoring
  • tux through window 620x354 1
    WSL Error 0x8007019e: WSL Register Distribution failed with error Windows
  • Screenshot 2021 03 16 at 21.14.05
    Unable to locate the account: Fix call to DsGetDcNameWithAccount failed with return value 0x0000054B Windows Server
  • image 1
    Install and License Devolutions Remote Desktop Manager Mac
  • windows 10 creators update wallpaper
    Run or Edit and Delete Tasks via Windows Task Scheduler Windows
  • VMware Tools
    How to upgrade VMware Tools in vSphere Virtualization
  • WDSMDT
    What are the differences between MDT and WDS Windows Server
  • Windowsfilesystemxx
    Failed to remove network for the build, Job failed error: Invalid volume specification: “/cache” Containers

Subscribe to Blog via Email

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

Join 1,839 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

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