When I troubleshoot my domain joined computer for internet access, why does the Static IP get removed?

TechQ 236 Reputation points
2023-03-07T15:18:54.5066667+00:00

I am using window server 2022 standard, I have added a computer to my domain, but when it lose internet and customer troubleshoot it, the static IP get changed that I assigned. How to deal with it?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,075 questions
Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,693 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,969 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Reza-Ameri 17,331 Reputation points Volunteer Moderator
    2023-03-07T21:06:41.6933333+00:00

    Sometimes set static IP would cause connection issue and that is why the troubleshooter will remove it and set it as automatic. This is a behavior by design, however you may file a report in the Feedback Hub app and request to add functionality to prevent it. It is recommended to setup environment to automatically get the IP and you may set static IP in the router's level. Other option is to use PowerShell to reassign the IP, for example you may use New-NetIPAddress , have a look at:

    https://learn.microsoft.com/en-us/powershell/module/nettcpip/new-netipaddress?view=windowsserver2022-ps


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.