Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to use WIM2VHD according to the instructions on Scott Hanselman's blog post to create a Sysprepped VHD image to boot from. I've installed the WAIK, and I have my Windows 7 sources mounted as a virtual drive.

When I try to run WIM2VHD like this:

cscript WIM2VHD.wsf /wim:F:\sources\install.wim /sku:Ultimate /vhd:E:\WindowsSeven.vhd /size:30721

I get the following log:

Log for WIM2VHD 6.1.7600.0 on 11/2/2009 at 10:51:18.16
Copyright (C) Microsoft Corporation. All rights reserved.

    OS=Windows 7 Ultimate

INFO: Looking for IMAGEX.EXE...
INFO: Looking for BCDBOOT.EXE...
INFO: Looking for BCDEDIT.EXE...
INFO: Looking for REG.EXE...
INFO: Looking for DISKPART.EXE...
INFO: Session key is E01E1ED7-C197-4814-BDE4-43B73E14FCC4
INFO: Inspecting the WIM...
INFO: Configuring and formatting the VHD...
Error: 0: Cannot derive Volume GUID from mount point.
INFO: Unmounting the VHD due to error...
WARNING: In order to help resolve the issue, temporary files have
not been deleted.  They are in:
*emphasized text*Summary:  Errors: 1, Warnings: 1, Successes: 0
INFO: Done.

Any ideas?

share|improve this question

Please modify your command line like this:

cscript WIM2VHD.wsf /wim:F:\sources\install.wim /sku:Ultimate /vhd:E:\WindowsSeven.vhd /size:30721 /trace:true

and post the contents of the log file. That will hopefully help me figure out what's going on.

share|improve this answer

You can resolve the problem by adding /classicmount:true to your command line.

cscript WIM2VHD.wsf /classicmount:true /wim:F:\sources\install.wim /sku:Ultimate /vhd:E:\WindowsSeven.vhd /size:30721 
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.