OSDeploy / OSDCloud

OSDCloud is a process to fully deploy a Windows OS from a WinPE Environment
https://osdcloud.osdeploy.com
58 stars 13 forks source link

Powershell module missing #40

Open ymestechwey opened 1 week ago

ymestechwey commented 1 week ago

Hello,

After creating bootable usb with the latest OSD version, it gives by booting the error "The system cannot find the file PowerShell"

I have installed a clean windows 11 version, and followed these steps: https://www.osdcloud.com/osdcloud/setup

Then used the next commands:

I'm trying now with a older OSD powershell version, but am i doing something wrong?

Best regards,

Yme

ymestechwey commented 1 week ago

I have done the same steps but then with version 24.5.14.1. Now it works without issues, so seems to be a bug in 24.6.18.1

NBL-HEIM commented 5 days ago

I also am on 24.6.18.1 and cannot build a physical laptop. I'm only able to deploy the generated ISO on a HyperV VM and it works great. Upon reviewing the logs on the laptop using OSDCloud, it seems that its missing DISM commands on the USB drive after downloading the Windows ESD image (in my case Windows 11 23H2).

NBL-HEIM commented 1 day ago

@ymestechwey How were you able to test going back to v24.5.14.1? When I completely rebuilt the repository on v24.5.14.1, the ISO that was created still reaches out on the Powershell gallery to download the latest 24.6.18.1. How did you specify to only download 24.5.14.1? Is that a setting somewhere in the .json files?