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 10 Pro x64


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
Thread Forum
Converting MS Office Disc install to USB flashdrive or SD Card?
I have seen my own question answered somewhere but can't find - and the question is broader than must MS Office: how to convert any Application that is intended for CD/DVD install to format that can install from SD or Flash drive?? My experience with MSO is that its pretty friendly to...
Microsoft Office
converting existing install to raid 0
i want to change my existing install too raid0 i currently have install/programs on one 1tb drive and media/games on another 1tb drive, i have a spare 2tb drive unused what are your suggestions so i reduce the amount of lost programs etc running 7 64bit many thanks kevin
Installation & Setup
How to use VGA for video converting
Hi guys. Is it possible to help my dualcore CPU in video converting with my ATI HD4670 VGA? Ive heard somewhere that it is possible (or that Windows should use VGA with CPU automaticaly), but when I drag&drop divx movie into my ZEN, it only uses my CPU and it takes too long to convert 2 hour movie...
Graphic Cards
Converting VOB to AVI
I just ripped by DVD, and because the files are VOB, I like to convert them to AVI. Sadly, I don't have anything that could do that, plus I don't want to download something that either a) doesn't do the trick, or b) is a bad download altogether. Does anyone know any download out there I can do...
Music, Pictures & Video
Converting mp2 to mp3 or WMA
Is there a good, free, save utility that converts mp2 to other formats (specifically 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 22:37.
Twitter Facebook Google+