jamesstringerparsec / Easy-GPU-PV

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

Windows 10 w/ install.esd (not install.wim) files from Windows Creation Tool #112

Open michaeltarleton opened 2 years ago

michaeltarleton commented 2 years ago

Scenario

When using a WIndows10.iso file created from the Windows Media Creation tool, the \sources\install.wim does not exist... only a \sources\install.esd. This causes the script to error out.

The Error

image

Troubleshooting

  1. Replaced all string instances of install.wim with install.esd: Result: Still fails

Configuration Used

$params = @{
    VMName = "GPUPV"
    SourcePath = "C:\Users\{{REPLACEME}}\Downloads\Windows10.iso"
    Edition    = 6
    VhdFormat  = "VHDX"
    DiskLayout = "UEFI"
    SizeBytes  = 120GB
    MemoryAmount = 32GB
    CPUCores = 16
    NetworkSwitch = "Default Switch"
    VHDPath = "C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\"
    UnattendPath = "$PSScriptRoot"+"\autounattend.xml"
    GPUName = "AUTO"
    GPUResourceAllocationPercentage = 50
    Team_ID = ""
    Key = ""
    Username = "{{REPLACEME}}"
    Password = "{{REPLACEME}}"
    Autologon = "true"
}
ebombme commented 2 years ago

I tried to set this up with Win10 21H2 and ran into the same problem with the installation media. Did a lot of research, and realized it was a LOT of work to fix the script.

You have to extract the install.wim default install from the install.esd, Create a new ISO image with that file in the original location, Modify the script to mount that ISO image instead Then cross your fingers in the hope there are no other problems with the newly created .wim file.

See youtube video linked below for info on how to extract this file: "Fix! How to Get Install.wim From Windows 10 Installation File if Missing in Windows 10/8.1/8?" - https://www.youtube.com/watch?v=0JCMzgPqtsA