Converting install.wim to VHD! Please Help!

KaneTraiN

New member
Local time
6:26 AM
Messages
1
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 Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium 64bit
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 Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 10 Pro x64
CPU
Intel Core i7 4790K @ 4.5GHz
Motherboard
Asus Maximus Hero VII
Memory
32GB DDR3
Graphics Card(s)
Nvidia GeForce GTX970
Sound Card
Realtek HD Audio
Screen Resolution
1920x1200
Hard Drives
1x Samsung 250GB SSD
4x WD RE 2TB (RAIDZ)
PSU
Corsair AX760i
Case
Fractal Design Define R4
Cooling
Noctua NH-D15
Back
Top