Solved

Cloning Windows DHCP

Posted on 2013-12-30
6
599 Views
Last Modified: 2013-12-31
Cloning Windows DHCP
I have windows server 2008 virtual machine.it is running DHCP server

I need to clone it, but in the new cloned VM, I need to uninstall DHCP server role from it so that I will not have 2 DHCP servers.

My concern is during the cloning, will I have the option to stripp off the IP address and all TCP/IP settings, the hostname as well as the DHCP service role?

my goal at the end I will need just windows 2008 OS, just to avoid installing the OS from scratch and looking for product key,etc...


Any help will be very much appreciated

Thanks
0
Comment
Question by:jskfan
6 Comments
 
LVL 12

Assisted Solution

by:Imtiaz Hasham
Imtiaz Hasham earned 167 total points
ID: 39746679
How are you cloning it?
0
 
LVL 10

Assisted Solution

by:George Khairallah
George Khairallah earned 166 total points
ID: 39746682
You shouldn't have a problem even after cloning it. Especially if you don't have an IP on it. As soon as you boot it, stop the DHCP service as soon as it boots up, then uninstall the role.

That machine wasn't a domain controller though, was it?
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 167 total points
ID: 39746684
You could apply a new Customisation Specification to the VM, on CLONE-ING, which would change the  IP Address, TCP/IP Settings, Hostname, BUT I wouldn't because the DHCP Service is bound to this IP Address, also the CLONE operation will not remove the DHCP Role.

What I would do, is CLONE as normal.

Then disconnect the Network Interface from the Network, if you do not know how todo this, Right Click the VM, Edit Settings - Disconnect Network Interface from Portgroup and Disconnect at Power On.

The above will stop any potential clash with the original VM, DOMAIN, and DHCP Service, if you power on BOTH Original and CLONE VM at the same time, you will have issues.

Server will likely be removed from DOMAIN, DHCP Service will be running before you have time to stop, and IP Clashes! So DISCONNECT from NETWORK!

Power On the VM.

Remove the DHCP Role.
Change the IP Address information.

Run Sysprep if required.

if you do not have vCenter Server for CLONE-ing.

see my EE Article, Step by Step Tutorial Instructions with Screenshots

HOW TO: Select the right answer to "I Moved It" or "I Copied It" in VMware vSphere (ESXi)


HOW TO: Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x or ESXi 5.0
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:jskfan
ID: 39747088
I picked another server to clone, but I ended up with C: drive almost full...
how can I format it ? and leave  just OS on C: drive
0
 
LVL 119
ID: 39747362
@jskfan I'm afraid this is a new question. Please post a new question to address this question, and myself or oher Experts will be glad to assist.
0
 

Author Closing Comment

by:jskfan
ID: 39748598
cloned different VM...
Thank you
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question