jamesstringerparsec / Easy-GPU-PV

A Project dedicated to making GPU Partitioning on Windows easier!
4.06k stars 408 forks source link

ERROR : There is no matching image. #187

Open FeverKing opened 2 years ago

FeverKing commented 2 years ago

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

MKGaru commented 2 years ago

Try check your OS Edition:

  1. mount ISO your self.
  2. type this command at powershell: Get-WindowsImage -ImagePath G:\sources\install.wim # (G: is your mounted driveletter)
  3. Change config Edition number 6 to your ImageIndex (like 3)

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