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
KaneTraiN

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
cluberti

Windows 10 Pro x64
 
 

ALL OF THESE COMMANDS SHOULD BE RUN FROM AN ELEVATED CMD PROMPT.

The command syntax is:
Code:
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:
Code:
diskpart
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:
Code:
diskpart
select vdisk file=C:\temp\Win7HomePremiumSP1.vhd
detach vdisk
My System SpecsSystem Spec
Reply

 Converting install.wim to VHD! Please Help!




Thread Tools Search this Thread
Search this Thread:

Advanced Search




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
Converting WTV Files?
Alright, so I'm recording a bunch of shows in Windows Media Center, and I want to burn them to DVD. The thing is, they're really long and WMC just says they're too long and aborts. In reality, I could trim them or something, lower the bitrate, whatever... and using an expert program like...
Media Center
Need help converting a file...
Okay, so I have a .key file that I need to convert to Powerpoint. From looking around, it seems that the only way to do that is with the program Keynote in iWorks. Does anyone know if there is any way to do this from within Windows...or, does anyone out there have a Mac with iWorks that would...
Software
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 02:50.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App