Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Sign in to follow this  
Followers 0
bookie32

Wim Conversion to VHD on Windows Server 2008r2

8 posts in this topic

Hi guys :thumbup

OK! here is the case....lol

I have been looking at converting wim's to vhd's in order to run them in Hyper-V...

I heard there was a nice script for this and downloaded it...here

I then saw at the script had been rewritten to work on Powershell 3.0 and upgraded to that on my Windows Server 2008r2..

I didn't get any errors installing Powershell 3.0 and thought everything was OK..... :ph34r:

I like user interfaces...lol and this guy wrote about the script containing a gui

I ran the user interface command from Powershell 3.0:



.\Convert-WindowsImage.ps1 -ShowUI

I received the following error which seems to point to a problem with netframework:



Windows(R) Image to Virtual Hard Disk Converter for Windows(R) 8
Copyright (C) Microsoft Corporation. All rights reserved.
Version 6.2.8424.1.amd64fre.fbl_core1_hyp_dev(mikekol).120517-1616 Release Preview

WARN : Transcription is already running. No Convert-WindowsImage-specific transcript will be created.
ERROR : Could not load file or assembly 'System.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7
f11d50a3a' or one of its dependencies. The system cannot find the file specified.
INFO : Log folder is C:\Users\ADMINI~1\AppData\Local\Temp\Convert-WindowsImage\c45aa02b-3d48-4059-9c71-ac1660
3ae632
INFO : Done.

Does anyone have any idea how to fix this?

Or have a better suggestion about conversion from wim to vhd?

bookie32

0

Share this post


Link to post
Share on other sites

Have you installed the Win8 ADK, .Net Framework 4.5 and Powershell 3.0?

0

Share this post


Link to post
Share on other sites

Hi MagicAndre1981 :thumbup

No.....I didn't see anything written about that, but will get to that now.

Powershell 3.0 installed without problem....which is a bit strange...

I will have a look at what you have mentioned and post a little later...

Thanks for coming by!

bookie32

0

Share this post


Link to post
Share on other sites

Powershell 3.0 installed without problem....which is a bit strange...

I will have a look at what you have mentioned and post a little later...

Maybe, BEFORE that, it would be smart to actually READ that page.

Title contains:

WIM2VHD for Windows 8!

About half down the page I can read:

Windows Server 8 	Sì 
Windows Server 2008 R2 No <-hmmm
Windows Server 2008 No
Windows Server 2003 No
Windows 8 Sì
Windows 7 No
Windows Vista No
Windows XP No
Windows 2000 No

Maybe this:

http://archive.msdn.microsoft.com/wim2vhd/Release/ProjectReleases.aspx?ReleaseId=2603

will work allright :unsure: .

jaclaz

Edited by jaclaz
0

Share this post


Link to post
Share on other sites

Hi jaclas!

I did read that, but it wont be the first time Microsoft has botched information concerning what you can and can't do....

I will run the old script and see how that works....

Thanks for you patience....lol

Well, it is nice to know that I get told now that I need windows 8.... :lol:



Windows(R) Image to Virtual Hard Disk Converter for Windows(R) 8
Copyright (C) Microsoft Corporation. All rights reserved.
Version 6.2.8424.1.amd64fre.fbl_core1_hyp_dev(mikekol).120517-1616 Release Preview

WARN : Transcription is already running. No Convert-WindowsImage-specific transcript will be created.
ERROR : Convert-WindowsImage requires Windows 8 Consumer Preview or higher. Please use WIM2VHD.WSF (http://co
de.msdn.microsoft.com/wim2vhd) if you need to create VHDs from Windows 7.
INFO : Log folder is C:\Users\ADMINI~1\AppData\Local\Temp\Convert-WindowsImage\6d1e4277-b0e9-4c86-b304-3cc3b8
e3e5f9
INFO : Done.

That told me didn't it :w00t:

bookie32

Edited by bookie32
0

Share this post


Link to post
Share on other sites

Well, it is nice to know that I get told now that I need windows 8.... :lol:

I may add that my "dinosaur's era" windows 2K and XP installs are as outdated as your newish Windows 7/Server 2008 R2 ones..... ;):whistle:

jaclaz

0

Share this post


Link to post
Share on other sites

Hi again!

Well, I could use the script and convert my wim to a vhd.....BUT

Is it necessary to sysprep the wim before converting to vhd.....because I am getting a BSOD with 0x0000007b which suggest driver problems...?

If I don't need to sysprep the wim file - then maybe I need to inject ms drivers into the wim before converting to vhd?

I am just guessing here and would appreciate some feed back.....

Thanks!

bookie32

0

Share this post


Link to post
Share on other sites

Hi again!

Just a little update... the wim image I was converting wasn't sysprepped, so I added the motherboard drivers for the computer the image came from and then it was OK :thumbup

Thanks!

bookie32

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.