Virtualization

Windows 10 ADK USB boot with VMware cold clone 3.03

Windows 10 ADK USB boot with VMware cold clone 3.03

So this is probably a really weird combination of old and new. ย The other day I was working to P2V an old domain controller as is without dcproming down and then back in. ย Best practice is to dcpromo a DC out then P2V and then dcpromo back as a domain controller. ย However, there are just certain situations where this isn’t possible in some environments. ย So my solution to that was to cold clone the domain controller after power off to prevent any USN rollbacks from happening on the DC being P2V’ed. ย ***Important*** I want to reiterate the point about DCs – never hot clone a DC as this will most likely result in serious replication problems due to a USN rollback.

Why Windows ADK for cold clone? ย Most of you are probably thinking – why use the ADK, didn’t the cold clone utility come with a bootable ISO? ย Windows ADK is my preferred delivery method with the cold clone as it contains all the new drivers and a super easy way to inject drivers (dism) to your USB boot drive. ย This makes getting the environment booted on ANY hardware that you have drivers available to download a cinch. ย The old cold clone utility boot disk was based on Windows XP essentially and getting drivers in the disk is not as straightforward. ย So how do we marry up the two utilities so they work together?

Theย Windows 10 ADK is out and readily available for download here: ย https://msdn.microsoft.com/en-us/windows/hardware/dn913721(v=vs.8.5).aspxย (scroll to the bottom of the page and the Windows ADK link is there).

Once you have the ADK downloaded, you need to first make your boot USB thumb drive. ย Launch the deployment tools command prompt and type:

Copype amd64 C:\winpe_amd64

 
This will copy the source files for making the USB boot disk. ย Once you have copied the source files from the deployment tools command prompt, we then issue the command to make the bootable WinPE boot disk.

makewinpemedia /ufd c:\winpe_x64 m:
makewinpemedia /ufd /f c:\winpe_x64 m: (the /f suppresses the format confirmation, just make sure you have the right drive!)

Now you should have a working bootable drive that will serve as the host for the cold clone process.

Getting the Cold Clone to work

By default the vmware cold clone 3.03 converter will not work inside of the ADK PE environment. ย However, someone has already come to the rescue on this one in providing a customized loader which loads and installs the converter inside the PE environment once you are booted there. ย Download the loader package here.

The installation file that you will download from the link above contains a .zip file with some other files inside including a lodr.exe file which may get flagged by your virus scan so beware of that. ย One of the contained files is a .cmd file called get_files_converter303_ripp_installer.cmdย that extracts theย VMware-converter-3.0.3-89816.exe into the directories it needs to launch.

The converter 3.03 cold clone file is no longer available from what I could tell from VMware, however, you can readily find it out on the web, so use those Google skills. ย After you have the file, run the .cmd file listed above which will extract the installer into two directories –ย VMware-Converter-3.0.3ย andย Converter-3.0.3. ย Then copy both of these directories into the root of your newly created USB drive via Windows ADK.

After you boot into the Windows PE environment, change your directory to the root of the USB drive and theย VMware-Converter-3.0.3ย directory.

Run the commands:

  • InstMSI.exeย – Installs the Windows Installer Service
  • Then runย Converter303_Coldclone_LODR.exeย in the same directory.

If you have done everything right mentioned above, you should now be able to boot your server and run the command listed above to start the converter 3.03 utility. ย Also, if you have need to inject drivers with Windows ADK, it is simple with the dism command:

Dism /Image:C:\winpe_x64 /Add-Driver /Driver:c:\drivers /Recurse

With the command above you of course will have to mount your boot.wim file that you are using to make the USB boot disk, add drivers, and then make the USB disk again. ย So maybe a perfect marriage of old and new with the VMware cold clone 3.03 utility and Windows 10 ADK!

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.