mtniehaus / UpdateOS

Sample app for installing Windows updates during an Autopilot deployment
137 stars 29 forks source link

Procedure not working on ESP and White Glow #1

Closed JoergBrors closed 3 months ago

JoergBrors commented 3 years ago

Hi, we have enrolled several machines using the script embedded in the ESP of Autopilot. We install the latest Updates during the preparation of the device ( in white glow mode) and it works perfekt !! Now a month ago the deployment stops. It finished the installation of updates (using this script) and other Software ( machine part), and finaly reboot. After the reboot it check again the first stage of autopilot an hang in the contacting MDM Server. The ESP defined timeout do not help and give no error. Please how i can find the responsible update and how I can exclude this.

Thanks Joerg

TVMike commented 1 year ago

Hi all, I experience the same behavior with Windows 20H2. After the ESP is done and the script was successful, there is no change in the version of the Windows Installation. Same behavior is, when installing on Windows 21H2.

Maybe it is also required to mention, that we Switch the edition of Windows 10 20H2 from Pro to Enterprise during the user enrollment (see for that Microsoft E3 licensing). Maybe you have an idea, what is necessary to push the latest updates on the devices, prior first use.

pchatham commented 1 year ago

Installing Updates with PSWindowsUpdate during Pre-provisioning is fixed in Windows 11 Just tested with Windows 11 21H2

TomBackx commented 1 year ago

cause of the always returning IE splashscreens this stopped working (for us) at the moment we migrated to Windows 11. added lines belows to 'fix' it again :

disable IE Firste Run Wizzard and setting TLS settings to 1.2 ; otherwise Install-PackageProvider will fail

Write-Host "disable IE Firste Run Wizzard" Set-ItemProperty -path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\main' -Name "DisableFirstRunCustomize" -Value 1 write-Host "Setting TLS to 1.2"