Easy-GPU-PV icon indicating copy to clipboard operation
Easy-GPU-PV copied to clipboard

The system cannot find the file specified

Open quinnlybacon opened this issue 3 years ago • 3 comments

Same issue as https://tagmerge.com/issue/jamesstringerparsec/Easy-GPU-PV/25 but restarting PowerShell didn't fix it.

Not sure if it's an issue with the autounattend file or if it's because I'm putting the VHD not on the C drive or what Here's the transcript that was generated


Windows PowerShell transcript start Start time: 20220518190055 Username: DESKTOP-HURNV03\Quinn3600X RunAs User: DESKTOP-HURNV03\Quinn3600X Configuration Name: Machine: DESKTOP-HURNV03 (Microsoft Windows NT 10.0.19043.0) Host Application: C:\Windows\syswow64\WindowsPowerShell\v1.0\PowerShell_ISE.exe Process ID: 14224 PSVersion: 5.1.19041.1682 PSEdition: Desktop PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.19041.1682 BuildVersion: 10.0.19041.1682 CLRVersion: 4.0.30319.42000 WSManStackVersion: 3.0 PSRemotingProtocolVersion: 2.3 SerializationVersion: 1.1.0.1


INFO : Opening ISO Win10_21H1_EnglishInternational_x64.iso... INFO : Looking for G:\sources\install.wim... INFO : Looking for the requested Windows image in the WIM file INFO : Image 6 selected (Professional)... INFO : Creating sparse disk... INFO : Mounting VHDX... INFO : Initializing disk... INFO : Creating EFI system partition... INFO : Formatting system volume... INFO : Setting system partition as ESP... INFO : Creating MSR partition... INFO : Creating windows partition... INFO : Formatting windows volume... INFO : Windows path (K:) has been assigned. INFO : Windows path (K:) took 1 attempts to be assigned. INFO : System volume location: J: INFO : Applying image to VHDX. This could take a while... INFO : Image was applied successfully. INFO : Applying unattend file (autounattend.xml)... INFO : Making image bootable... PS>TerminatingError(Start-Process): "This command cannot be run due to the error: The system cannot find the file specified."

TerminatingError(Start-Process): "This command cannot be run due to the error: The system cannot find the file specified." ERROR : This command cannot be run due to the error: The system cannot find the file specified. INFO : Log folder is C:\Users\QUINN3~1\AppData\Local\Temp\Convert-WindowsImage\2cebf702-817c-4b65-8e6d-acb92fadcc40 INFO : Closing Windows image... INFO : Done.


Windows PowerShell transcript end End time: 20220518190258


quinnlybacon avatar May 19 '22 00:05 quinnlybacon

I recommend you do the setup with the VHD on the C drive, to at least see if it makes a difference (and say here if it does), before then moving it to where you intend to have it, and changing the VM's settings to match.

Kodikuu avatar May 31 '22 16:05 Kodikuu

i have the same issue but it still didnt work for me

uhuhuhuhuhuhuhuh avatar Jun 11 '22 21:06 uhuhuhuhuhuhuhuh

Hi, be sure to run the x64 version of Powershell ISE (not x86). If not, the script won't find "bcdboot.exe" or other executables.

Abyss-W4tcher avatar Sep 19 '22 18:09 Abyss-W4tcher

I added a check for this for future users

jamesstringerparsec avatar Dec 14 '22 03:12 jamesstringerparsec