Hi guys!

This is my very first article on the awesome site. Anyway...

When following the article found here:- https://www.howtogeek.com/107535/how-to-seamlessly-dual-boot-windows-7-and-windows-8-the-easy-way/ i come up with an error when i try and apply the Windows 8 image to my VHD.

I type the following into PS:

.\Install-WindowsImage.ps1 –WIM I:\Sources\Install.wim –Apply –Index 1 –Destination H:\

All is going well, im told it will take upto 15 minutes, then i get a rather ominous looking red error saying:

Exception calling "Apply" with "1" argument(s): "Unable to apply image to H:\. Error = 5"
At C:\install-WindowsImage.ps1 :830 char:39
+ $wimContainer[$($Index - 1)].Apply <<<< ($Destination)
+ CategoryInfo : Not Specified: (:) []. ParentContainerErrorRecordException
+ FullyQualifiedErrorId : DotNetMethodException

Yeah, i know. WTF right?

Any help would be greatly appreciated guys!

Posted 4 years ago