{"action":"opened","issue":{"url":"https://api.github.com/repos/VirtualEngine/Lab/issues/17","labels_url":"https://api.github.com/repos/VirtualEngine/Lab/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/VirtualEngine/Lab/issues/17/comments","events_url":"https://api.github.com/repos/VirtualEngine/Lab/issues/17/events","html_url":"https://github.com/VirtualEngine/Lab/issues/17","id":112393296,"number":17,"title":"'Initializing disk image' fails on Windows Server 2016 TP3 and Windows 10","user":{"login":"csandfeld","id":2597673,"avatar_url":"https://avatars.githubusercontent.com/u/2597673?v=3","gravatar_id":"","url":"https://api.github.com/users/csandfeld","html_url":"https://github.com/csandfeld","followers_url":"https://api.github.com/users/csandfeld/followers","following_url":"https://api.github.com/users/csandfeld/following{/other_user}","gists_url":"https://api.github.com/users/csandfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/csandfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csandfeld/subscriptions","organizations_url":"https://api.github.com/users/csandfeld/orgs","repos_url":"https://api.github.com/users/csandfeld/repos","events_url":"https://api.github.com/users/csandfeld/events{/privacy}","received_events_url":"https://api.github.com/users/csandfeld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-20T15:22:51Z","updated_at":"2015-10-20T15:22:51Z","closed_at":null,"body":"Sorry to keep bugging you with bugs, but here's another one I have run into on both Windows 10 (RTM) and Windows Server 2016 TP3.\r\n\r\nWhen Start-LabConfiguration get's to the point where it tries to create a parent disk from a downloaded ISO, if fails with the error:\r\n\r\nCannot convert the \"Microsoft.Vhd.PowerShell.VirtualHardDisk\" value of type \"Microsoft.Vhd.PowerShell.VirtualHardDisk\" to type \"Microsoft.Vhd.PowerShell.VirtualHardDisk\"\r\n\r\nWhen I first ran into this issue on my Windows 10 machine, but found that it worked OK on a Windows 8.1 box, I attributed it to some possible funkyness with my machine. But today I ran into the same thing on a Windows Server 2016 TP3 box.\r\n\r\nExcerpt from the verbose output stream:\r\nVERBOSE: [14:40:28] Creating disk image 'Windows Server 2012 R2 Standard 64bit English Evaluation'.\r\nVERBOSE: [14:40:28] Creating disk image 'D:\\Labs\\Test\\Parent Disks\\2012R2_x64_Standard_EN_Eval.vhdx'.\r\nVERBOSE: [14:40:29] Mounting disk image 'D:\\Labs\\Test\\Parent Disks\\2012R2_x64_Standard_EN_Eval.vhdx'.\r\nVERBOSE: [14:40:29] Initializing disk image 'D:\\Labs\\Test\\Parent Disks\\2012R2_x64_Standard_EN_Eval.vhdx'.\r\nNewDiskImageGpt : Cannot process argument transformation on parameter 'Vhd'. Cannot convert the \"Microsoft.Vhd.PowerShell.Vi\r\nrtualHardDisk\" value of type \"Microsoft.Vhd.PowerShell.VirtualHardDisk\" to type \"Microsoft.Vhd.PowerShell.VirtualHardDisk\".\r\nAt D:\\Labs\\Automation\\Modules\\VirtualEngineLab\\Lib\\DiskImage.ps1:119 char:38\r\n+                 NewDiskImageGpt -Vhd $vhdMount;\r\n+                                      ~~~~~~~~~\r\n    + CategoryInfo          : InvalidData: (:) [NewDiskImageGpt], ParameterBindingArgumentTransformationException\r\n    + FullyQualifiedErrorId : ParameterArgumentTransformationError,NewDiskImageGpt\r\n \r\nExpandWindowsImage : Cannot process argument transformation on parameter 'Vhd'. Cannot convert the \"Microsoft.Vhd.PowerShell\r\n.VirtualHardDisk\" value of type \"Microsoft.Vhd.PowerShell.VirtualHardDisk\" to type \"Microsoft.Vhd.PowerShell.VirtualHardDisk\r\n\".\r\nAt D:\\Labs\\Automation\\Modules\\VirtualEngineLab\\Src\\LabImage.ps1:90 char:95\r\n+ ... oFileInfo.FullName -WimImageName $media.ImageName -Vhd $image -Partit ...\r\n+                                                            ~~~~~~\r\n    + CategoryInfo          : InvalidData: (:) [ExpandWindowsImage], ParameterBindingArgumentTransformationException\r\n    + FullyQualifiedErrorId : ParameterArgumentTransformationError,ExpandWindowsImage\r\n \r\nAddDiskImagePackage : Cannot process argument transformation on parameter 'Vhd'. Cannot convert the \"Microsoft.Vhd.PowerShel\r\nl.VirtualHardDisk\" value of type \"Microsoft.Vhd.PowerShell.VirtualHardDisk\" to type \"Microsoft.Vhd.PowerShell.VirtualHardDis\r\nk\".\r\nAt D:\\Labs\\Automation\\Modules\\VirtualEngineLab\\Src\\LabImage.ps1:92 char:42\r\n+         AddDiskImagePackage -Id $Id -Vhd $image -PartitionStyle $part ...\r\n+                                          ~~~~~~\r\n    + CategoryInfo          : InvalidData: (:) [AddDiskImagePackage], ParameterBindingArgumentTransformationException\r\n    + FullyQualifiedErrorId : ParameterArgumentTransformationError,AddDiskImagePackage\r\n \r\nSetDiskImageBootVolume : Cannot process argument transformation on parameter 'Vhd'. Cannot convert the \"Microsoft.Vhd.PowerS\r\nhell.VirtualHardDisk\" value of type \"Microsoft.Vhd.PowerShell.VirtualHardDisk\" to type \"Microsoft.Vhd.PowerShell.VirtualHard\r\nDisk\".\r\nAt D:\\Labs\\Automation\\Modules\\VirtualEngineLab\\Src\\LabImage.ps1:94 char:37\r\n+         SetDiskImageBootVolume -Vhd $image -PartitionStyle $partition ...\r\n+                                     ~~~~~~\r\n    + CategoryInfo          : InvalidData: (:) [SetDiskImageBootVolume], ParameterBindingArgumentTransformationException\r\n    + FullyQualifiedErrorId : ParameterArgumentTransformationError,SetDiskImageBootVolume\r\n "}}