ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-VVF Administrator
          • vcp-vvf-2.
        • Close
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • VVF 9 and VCF 9
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • XCP-NG
    • XCP-NG
    • Close
  • Proxmox
    • Proxmox
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Windows Server 2025
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • Privacy policy
    • PDFs and Books
    • Close
  • Free

How-to quickly save and restore the network configuration of your Virtual Machines

By Vladan SEGET | Last Updated: June 13, 2011

Shares

When you convert a physical server to a VM the resulting virtual machine's network settings are all set to DHCP. It's because the configuration settings of the static IP addresse of the source server are not retained on the resulting virtual machine after the conversion.

I saw this discussion on one of the comments on Scott Lowe's blog. It's interesting and handy little how-to, so I want to share this on my blog too.

01. First of all you must record the network interface names. Open the Network Connections from the Start menu. These names are used to restore the network settings. Just write them down.

02. Open command prompt and type in:

netsh interface ip dump >> %systemroot%\NetworkSettings.txt


03. Set all the network interfaces to DHCP (non-static) IP addresses, if possible.

04. Convert your Server with VMware converter and start the new VM and log on as an Administrator.

05. Go to the Network Connections and rename the interfaces to have the same names that in your physical server.

06. Open command prompt and type in:

netsh -f %systemroot%\NetworkSettings.txt

Source: VMware KB1005585

FYI: it don't work for Windows NT

Vote !
Shares

| Filed Under: Server Virtualization Tagged With: config IP, netsh, script IP

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x17, Veeam Vanguard x11, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Private Sponsors

 

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
Click to Become a Sponsor

Most Recent

  • SysInternals Suite: Still the #1 Must-Have Toolkit for Every Windows (and Now macOS/Linux) IT Admin in 2026
  • Windows 11 Installation Assistant 25H2 – upgrade your W10 or W11 with the help of this new tool from Microsoft
  • ResOps in Action – Commvault’s Big Moves at RSAC 2026: Okta Support, Satori-Powered Risk Analysis, ThreatScan Evolution & Sentinel Automation
  • StarWind V2V / P2V Converter Version 9 (build 848) – Multi-VM Conversions, Full CLI Support, Hot Migrations, and Cloud Improvements Make This Free Tool a Datacenter Must-Have
  • Nakivo 11.2 With Proxmox 9.1 and VMware vSphere 9 Support Released
  • Ready for Voyage? Try Voyager Linux Distro – A Slick, Hybrid Distro That Just Works
  • VMware Releases ESXi 8.0 Update 3i – Build 25205845: Bug Fixes, Security Patches, and How to Upgrade Your Hosts
  • WinBoat – Running Windows Apps on Linux with Seamless Integration? Yes, Please!
  • VMware Workstation Pro 25H2U1 Released: Why You Should Update Now
  • StarWind VSAN for Hyper-V: Synchronous Replication for High-Availability Shared Storage

Veeam Vanguard x12

Get new posts by email:

 

 

 

 

Deals

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Friendly Websites and Blogs

  • vBlog.io
  • VMware Engineer Jobs
 

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2026 ·Dynamik-Gen · Genesis Framework · Hosted with HostColor.com