Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-ZTI always downloads the esd instead of choosing the custom wim. #154

Closed
oingobo opened this issue Jul 24, 2024 · 3 comments
Closed

-ZTI always downloads the esd instead of choosing the custom wim. #154

oingobo opened this issue Jul 24, 2024 · 3 comments

Comments

@oingobo
Copy link

oingobo commented Jul 24, 2024

I'm attempting to use OSDCloudUSB to lay down offline VLSC media, zero touch. The .Wim is saved to the USB in E:\osdcloud\os\windows 23 H2\install.wim

I'm using the following command. Edit-OSDCloudWinPE -StartOSDCloud "-OSName 'Windows 11 23H2 x64' -OSLanguage en-us -OSEdition Enterprise -OSActivation Volume -ZTI"

For some reason, the script wants to always pull an .ESD even though the Wim is located in the right spot and matches the global variables.

@AkosBakos
Copy link
Collaborator

Use this switch: -FindImageFile
https://www.osdcloud.com/archive/under-review/wim#findimagefile

@gwblok
Copy link
Collaborator

gwblok commented Jul 30, 2024

@oingobo, please respond if you still need assistance. I typically start OSDCloud via a script instead of a single command line, which gives me a lot more power.

I have a sample of how I start OSDCloud:
https://github.com/gwblok/garytown/blob/master/Dev/CloudScripts/SettingOSDCloudVarsSample.ps1

I then use Edit-OSDCloudWinPE -startnet "https://win11.garytown.com" which will trigger my scripts I keep on github.

@oingobo
Copy link
Author

oingobo commented Jul 30, 2024

Thank you both for responding so quickly.

I needed to use volume media* (VLSC) and leverage -ZTI. I ended up converting the install.wim from the VLSC the media to an ESD and renamed it the same as the windows 11 23h2 feature update esd. This way your logic thinks the media on the USB drive is a cached copy.

The OSDCloudUSB process is now, boot from thumb and the next screen is Autopilot OOBE with the assigned username.

Thank you for all you do.

*Because we want to make WHFB enrollment optional on Entra ID only Windows 11 device. This didn't come until April release.

@oingobo oingobo closed this as completed Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants