Open FeverKing opened 2 years ago
Try check your OS Edition:
My windows11 os image indexes like this.
PS C:\bin\Easy-GPU-PV> Get-WindowsImage -ImagePath G:\sources\install.wim
ImageIndex : 1
ImageName : Windows 11 Home
ImageDescription : Windows 11 Home
ImageSize : 16,361,033,531 bytes
ImageIndex : 2
ImageName : Windows 11 Education
ImageDescription : Windows 11 Education
ImageSize : 16,646,453,611 bytes
ImageIndex : 3
ImageName : Windows 11 Pro
ImageDescription : Windows 11 Pro
ImageSize : 16,643,398,719 bytes
ImageIndex : 4
ImageName : Windows 11 Pro Education
ImageDescription : Windows 11 Pro Education
ImageSize : 16,646,404,821 bytes
ImageIndex : 5
ImageName : Windows 11 Pro for Workstations
ImageDescription : Windows 11 Pro for Workstations
ImageSize : 16,646,429,216 bytes
here is my config: VMName = "game" SourcePath = "E:\geek\images\win10_1909.iso" Edition = 6 VhdFormat = "VHDX" DiskLayout = "UEFI" SizeBytes = 127GB MemoryAmount = 12GB CPUCores = 16 NetworkSwitch = "Default Switch" VHDPath = "C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\" UnattendPath = "$PSScriptRoot"+"\autounattend.xml" GPUName = "NVIDIA GeForce RTX 3090" GPUResourceAllocationPercentage = 50 Team_ID = "" Key = "" Username = "siebene" Password = "123456Abc" Autologon = "true"
and here is what i got:
Windows(R) Image to Virtual Hard Disk Converter for Windows(R) 10 Copyright (C) Microsoft Corporation. All rights reserved. Version 10.0.14278.1000.amd64fre.rs1_es_media.160201-1707
INFO : Opening ISO win10_1909.iso... INFO : Looking for G:\sources\install.wim... INFO : Looking for the requested Windows image in the WIM file ERROR : There is no matching image. INFO : Log folder is C:\Users\ALIENWARE\AppData\Local\Temp\Convert-WindowsImage\ab68ecdd-c88b-46d0-ace5-9bc4711d005e INFO : Done. Failed to create VHDX, stopping script
It confused me, I did everything in the instruction and it is a valid image