Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Converting install.wim to VHD! Please Help!

03 Apr 2013   #1

Windows 7 Home Premium 64bit
Converting install.wim to VHD! Please Help!

Hi there,

I was just wondering if someone would be nice enough to run me through on how to do this as I've tried many times and still stuck.

I have WAIK installed and VIM2VHD.wsf but don't fully know how to get the install.wim file converted to VHD to then mount onto another drive.

I've tried to do this in the CMD prompt:
cscript wim2vhd.wsf
d:\sources\install.wim /SKU:HomePremium

After that I press enter and it comes up with the install.wim file windows will then ask me what to browse it with. Unsure of what I'm doing wrong.

Can someone please help!

Note: Can't use any other software other then WAIK and WIM2VHD.

My System SpecsSystem Spec
03 Apr 2013   #2

Windows Server 2008 R2


The command syntax is:
wim2vhd.wsf /wim:D:\sources\install.wim /SKU:HomePremium /vhd:C:\temp\Win7HomePremiumSP1.vhd /disktype:Dynamic /signdisk:true
Technically this VHD is meant to be used as the boot volume of a virtual machine in Hyper-V or VirtualPC, but you can "attach" (aka mount) a VHD to a drive letter in Windows 7 with a few diskpart commands:
select vdisk file=C:\temp\Win7HomePremiumSP1.vhd
attach vdisk
assign letter=V
You can do it with the disk management console, but I'm a command-line guy and it's just faster to type a few commands than click about in the UI, at least in my opinion. Detaching a VHD is just as easy:
select vdisk file=C:\temp\Win7HomePremiumSP1.vhd
detach vdisk
My System SpecsSystem Spec

 Converting install.wim to VHD! Please Help!

Thread Tools

Similar help and support threads for2: Converting install.wim to VHD! Please Help!
Thread Forum
Converting MS Office Disc install to USB flashdrive or SD Card? Microsoft Office
converting existing install to raid 0 Installation & Setup
Need help converting a file... Software
Converting VOB to AVI Music, Pictures & Video
converting files Microsoft Office
Converting mp2 to mp3 or WMA Sound & Audio

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:05 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App