FIXED: Failed to set static IP in Windows Core Server: Cannot convert value '2147942405' to type 'System.Int32

Pontus Ydström 0 Reputation points
2024-11-20T08:33:44.1+00:00

Corefail

I am trying to set an Static IP to my Windows Core Server but i am recieving an error: "Failed to set network adapter address. Cannot convert value "2147942405" to type "System.Int32". Error: "Value was either too large or too small for an Int32."

I am running the server in VMWare Workstation.

None of my classmates have recieved this error.

Any suggestions for solving this issue?

I have tried the following solutions unsuccessfully:

  • Restart the server
  • Run the commands several times
  • The following command "netsh int ip reset"
  • Set the IP using CMD but i need to run it as administrator and dont know how to do that.

I expected:

  • To be able to set an static IP, subnet mask and an gateway successfully.
  • My results are shown in the picture above or below.
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,289 questions
Windows Server Setup
Windows Server Setup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
256 questions
0 comments No comments
{count} votes

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.