Share your love
Assign a Static IP on Windows Server 2025

Windows Server 2025 introduces several enhancements, but the necessity for a static IP address remains a foundational step in server setup. Whether deploying a new server or reconfiguring an existing one, understanding how to assign a static IP on Windows Server 2025 is essential.
You can now proceed to the guide steps below on the Orcacore website to complete Static IP Configuration in Windows Server 2025.
Table of Contents
Step by Step Guide To Assign a Static IP on Windows Server 2025
Imagine you’re running an important program on your server, and suddenly it stops working because the server’s IP address changed after restarting. DHCP (Dynamic Host Configuration Protocol) is helpful for everyday computers, but servers work better with a fixed IP address. A static IP ensures that the server can always be reached the same way, makes DNS setup easier, and is important for things like Active Directory, DNS, and websites.
So you can proceed to the steps below and choose one of the following methods to configure a Static IP in Windows Server 2025:
- Use PowerShell
- From Server Manager
Method 1. Configure Static IP via PowerShell in Windows Server 2025
For those who work better with a command line interface, PowerShell offers a powerful and efficient way to set a static IP. First, run your PowerShell as an Administrator (Right-click on the Start menu and select “Windows PowerShell (Admin)”) and follow the steps below:
List All Network Interfaces
First of all, you must list all your network interfaces by running the command below from Powershell Admin:
Get-NetIPInterface -AddressFamily IPv4
Note the “InterfaceIndex” of the adapter you wish to configure.

Disable DHCP
At this point, you must disable your DHCP by using the following command:
Set-NetIPInterface -InterfaceIndex <InterfaceIndex> -Dhcp Disabled
Remember to replace <InterfaceIndex>
with the appropriate number.
Assign Static IP
Now you can assign your static IP on Windows Server 2025 with the following command:
New-NetIPAddress -InterfaceIndex <InterfaceIndex> -AddressFamily IPv4 -IPAddress "192.168.1.100" -PrefixLength 24 -DefaultGateway "192.168.1.1"
Replace the placeholders with your desired settings.
Configure DNS Server
At this point, you must configure your DNS server by using the following command:
Set-DnsClientServerAddress -InterfaceIndex <InterfaceIndex> -ServerAddresses "192.168.1.1"
Remember to replace the placeholders with your desired settings.
That’s it, you are done. You can now verify your configuration by using the command below:
ipconfig /all
This method is efficient, especially when configuring multiple servers or automating deployments.
Method 2. Configure Static IP via Server Manager in Windows Server 2025 (GUI)
For those who prefer a graphical interface, Windows Server 2025 offers a straightforward method by using the Server Manager. To configure Static IP from the GUI, follow the steps below:
First, click on the Start menu and open “Server Manager.” In the left pane, select “Local Server.”

On the right pane, find the “Ethernet” section and click on the active network connection.

In the new window, double-click on the network adapter, then click on the “Properties” button.

Select “Internet Protocol Version 4 (TCP/IPv4)” and click “Properties.”

Choose “Use the following IP address” and input your desired IP address, subnet mask, and default gateway. Also, specify the preferred DNS server. Click “OK” to save changes and close all dialog boxes.

This method is intuitive and ideal for administrators who are more comfortable with visual interfaces.
Best Practices and Considerations for Assigning a Static IP
Always keep a clear record of which devices are using which IP addresses. This helps you avoid problems like two devices accidentally using the same IP address. It’s also useful if you need to make changes or fix issues later.
Try to follow the same pattern or system when assigning IP addresses across your network. For example, you might use a certain range for servers and another range for printers. This makes it easier to manage and understand your network.
Make sure that only trusted and trained people are allowed to change network settings. This helps stop others from making mistakes or causing security problems by changing things they shouldn’t.
Look at your network setup from time to time to make sure everything is working as expected. If something is wrong, like an IP conflict or a setting that was changed, you can catch it early and fix it quickly.
Conclusion
Setting a static IP address in Windows Server 2025 is an important step to keep your server working smoothly and reliably. You can do it using the regular settings menu (GUI) or with PowerShell. Knowing how to do this helps make sure your server is always easy to reach and works well with the rest of your network.
Hope you enjoy it. Please subscribe to us on Facebook, X, Instagram, and YouTube.
You may also like to read the following articles:
Set up Defender Antivirus on Windows Server 2025
Install and Configure IIS on Windows Server 2025
SMTP Setup on Windows Server 2022
Install Plesk on Windows Server 2022
FAQs
Is DHCP bad for servers?
Not necessarily, but it’s not ideal. DHCP can assign a different IP on reboot or lease renewal. That unpredictability makes it unsuitable for servers that need to be reliably found at the same address by clients and other systems.
How do I know if my server is using a static or dynamic IP?
You can check this by running the command from PowerShell:Get-NetIPInterface -AddressFamily IPv4
How do I avoid IP address conflicts when using static IPs?
– Keep a documented list of assigned static IPs.
– Use IP addresses outside the DHCP scope.
– Consider using DHCP reservations as an alternative if you want fixed IPs but centrally managed.