MSFN Forum: Wim Conversion to VHD on Windows Server 2008r2 - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Wim Conversion to VHD on Windows Server 2008r2

#1 User is offline   bookie32 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 20-November 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 September 2012 - 09:04 AM

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


#2 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 5,019
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 07 September 2012 - 09:18 AM

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

#3 User is offline   bookie32 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 20-November 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 September 2012 - 09:22 AM

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

#4 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,578
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 07 September 2012 - 09:46 AM

View Postbookie32, on 07 September 2012 - 09:22 AM, said:

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:

Quote

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....?ReleaseId=2603
will work allright :unsure: .

jaclaz

This post has been edited by jaclaz: 07 September 2012 - 09:49 AM


#5 User is offline   bookie32 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 20-November 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 September 2012 - 09:58 AM

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

This post has been edited by bookie32: 07 September 2012 - 10:02 AM


#6 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,578
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 07 September 2012 - 01:54 PM

View Postbookie32, on 07 September 2012 - 09:58 AM, said:

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

#7 User is offline   bookie32 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 20-November 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 September 2012 - 02:08 AM

Hi again!

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


View Postjaclaz, on 07 September 2012 - 09:46 AM, said:


Maybe this:
http://archive.msdn....?ReleaseId=2603
will work allright :unsure: .

jaclaz


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

#8 User is offline   bookie32 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 20-November 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 September 2012 - 10:46 AM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy