Failure after Install.wim found on drive
hotzenwalder opened this issue · 2 comments
Been trying to use the Intune USB Creator but every attempt on diferent systems and hardware fails after the message 'Install.wim found on drive E:' with a WARING: FAILED message
Here's the command used to built the USB on a 20Gb VHDX
Publish-ImageToUSB -winPEPath "https://githublfs.blob.core.windows.net/storage/WinPE.zip" -windowsIsoPath "M:\OSDBuilder\OSBuilds\Multilang NLUS 2009 NetFX3 19042.746\ISO\Win10 x64 2009 19042.746.iso" -getAutopilot
Cfg
Here's the recursive directory information for the image partition
Here's the error
I've tried different options...
HP EliteBook 820 G6 with a USB stick build with USB creator - Fail
Hyper-V virtual machine with two disk attached as per your example - Fail (running on Windows Server 2016)
Hyper-V virtual machine with two disk attached as per your example - Fail (running on Windows Server 2019)
Everything needed is on the two partitions and to rule out an error in my custom install.wim I also tried with the install.wim from the ISO's available from the Microsoft Visual Studio Download site. Used 1909 and 20H2 in UK English and both failed as well
Sort of a debug attempt
and the last part
content of imageIndex.json
{
"PSComputerName": "localhost",
"RunspaceId": "cbbe17e9-506e-4205-bc0f-e657f3b36412",
"PSShowComputerName": false,
"ImagePath": "C:\Users\MARCEL~1\AppData\Local\Temp\Win10\Images\install.wim",
"ImageName": "Windows 10 Enterprise",
"ImageIndex": 1,
"ImageDescription": "Windows 10 Enterprise",
"ImageSize": 17346414256,
"LogPath": "C:\Windows\Logs\DISM\dism.log",
"ScratchDirectory": null,
"LogLevel": "WarningsInfo"
}
Intune.USB.Creator was used on Windows Server 2016 and Windows Server 2019 both with the same results.
Thanks for the detailed issue - managed to repro it and found the problem was with a failed upload of the WinPE media to Azure.
I've reuploaded and tested and can verify the issue is not reproducible now.
Please make sure that you delete the "Win10" folder in your temp directory and try running the cmdlet again - the WinPE media should be ~415MB.
Closing off the issue now, but reopen if your experience isn't the same as mine.