title: How to assign IP address to server before windows login
body: <p>I have two servers on the same local network 192.168.10.#; the main server is set to 192.168.10.5 (IP-1) and it is running a c# application that UDP communicates with some network devices; the other server is the backup of the main one, and it is 192.168.10.6 (IP-2) but the c# application is not running. 
  On both servers is running a task and its main purpose is to set the IP of the server to IP-1, with a netsh script, if there is no IP-1 server in the netwwork and then run the main c# application, or set the server to IP-2, if IP-1 already exists.</p>
  
  <p>The problem is:
  if one of the server shuts down with the IP-1 address assigned, the other one immediately gets the IP-1, but when the other server turns on again it gives me an IP conflict. So I need to start the server with a third IP addr IP-3 before it connects to the local network, and then configure it , depending on what is running. </p>
  
  <p>I have this problem because the UPD devices need a remote IP address to communicate with and the server backup must be automated.</p>
  
  <p>(sorry for my bad english)</p>
  
  <p>thank you guys. </p>