Page 2 of 2
Re: OS deployment + post-install script
Published: September 5, 2022 - 11:50 AM
by Eyji
Yes, perfect, thank you. I did need to add the line for the update at the beginning.
One last question: have you ever encountered this issue? I can't seem to deploy it on PCs with a USB-C dock.
Re: OS deployment + post-install script
Published: September 5, 2022 - 4:59 PM
by sfonteneau
Hello,
the USB-C drivers are probably missing from the WinPE image,
depending on the error you're getting.
Re: [SOLVED] OS deployment + post-install script
Published: September 6, 2022 - 4:09 PM
by Eyji
Hello,
yes, the USB-C drivers are missing from the WinPE image. How can I integrate the missing drivers as .exe files into the WinPE image?
Re: [SOLVED] OS deployment + post-install script
Published: September 8, 2022 - 4:12 PM
by sfonteneau
copy the file
Code: Select all
C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\en-us\winpe.wim
towards
then add the drivers to the WIM file:
Code: Select all
Dism /Mount-Image /ImageFile:"c:\waptdev\winpe.wim" /index:1 /MountDir:"C:\mountpe"
Dism /Add-Driver /Image:"C:\mountpe" /Driver:"C:\SampleDriver\driver.inf"
Dism /Unmount-Image /MountDir:"C:\mountpe" /commit
Dism /Export-Image /SourceImageFile:c:\waptdev\winpe.wim /SourceIndex:1 /DestinationImageFile:c:\waptdev\winpe_cleaned.wim
then copy
towards
Code: Select all
C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\en-us\winpe.wim
You can now regenerate the winpe from the wapt console
Re: [SOLVED] OS deployment + post-install script
Published: September 9, 2022 - 11:50 AM
by Eyji
Hello,
thank you for your help, everything is working now.
You can close the ticket as resolved.