Thursday, September 12, 2013

1 Import WIM to VMWare

Recently, I have the need to import the WIM image file to VMWare.

Here are the steps how I achieve this.

 

Convert WIM to VHD

This can be easily done by using Convert-WindowsImage.ps1.

The script can be down load from Microsoft ( http://gallery.technet.microsoft.com/scriptcenter/Convert-WindowsImageps1-0fe23a8f ) and only executable on Win8/Win2012 .

C:\Users\PO\Downloads\Convert-WindowsImage.ps1  -SourcePath D:\win7_64.wim -Edition 1

image

At this Point, you get the VHD file and you can open it in Virtual Box or Mount to the disk. But what I really want is to import into VMWare . Hence I need to do another conversion .

Convert VHD to VMDK

This can be done by VBoxManage. The command that come with Virtual box.

C:\Program Files\Oracle\VirtualBox>VBoxManage clonehd D:\7601.18113.amd64fre.win7sp1_gdr.130318-1533_Client_Enterprise_en-US.vhd "D:\Virtual Machines\Win7.vmdk" --format vmdk

image

Now you can just use the vmdk as you normally do when you create the new vm in VMWare.

I did encounter the error as below: “Insufficient Permission to access file ”

image

It is wired but non of my other VM has the issue. The way I work around of the problem is by starting the VMWare as elevate privilege.

1 comments:

  1. Nice post. You pointed on very important facts by this post. This is really very informative and useful information. Thanks for sharing this post.apply aws jobs in hyderabad.

    ReplyDelete

 

SQL Panda Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates