Bootstrap FreeKB - Windows Server Core - Set the IP address, subnet mask, default gateway, and DNS using sconfig (cidr)
Windows Server Core - Set the IP address, subnet mask, default gateway, and DNS using sconfig (cidr)

Updated:   |  Windows Server Core articles

Using sconfig

  1. Type sconfig and press enter to open Server Configuration
  2. Type (Network Settings) and press enter
  3. Type the number in the Index# column for the network interface you want to configure and press enter
  4. Type 1 (Set Network Adapter Address) and press enter
  5. Type (static) and press enter
  6. Type the IP address and press enter
  7. Type the subnet mask and press enter
  8. Type the default gateway and press enter
  9. Type 2 (Set DNS Servers) and press enter
  10. Type the address for the preferred DNS server and press enter (example: 8.8.8.8). A pop-up box with message "Preferred DNS server set" appears. Select OK.
  11. Type the address for the alternate DNS server and press enter (example: 8.8.4.4). A pop-up box with message "Alternate DNS server set" appears. Select OK.
  12. Type 4 (Return to Main Menu) and press enter
  13. Type 15 (Exit to Command Line) and press enter



Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 360a1a in the box below so that we can be sure you are a human.