Closed HeyJudeRW closed 3 months ago
Oh yeah, workaround for me was using this install command for the Intune Win32App:
C:\Windows\Sysnative\WindowsPowerShell\v1.0\powershell.exe -noprofile -executionpolicy bypass -file .\UpdateOS.ps1 -ExcludeDrivers
Thank you Rudy Ooms 😉 https://call4cloud.nl/2021/05/the-sysnative-witch-project/
I checked in a (brute force) fix for this, so you won't need to do any workarounds. Sorry about that.
The "ExcludeDrivers" parameters is not taken over, when re-launching 32-bit as a 64-bit process. https://github.com/mtniehaus/UpdateOS/blob/a6c6c3f0d9cf4a83cc50751329fd01d11ec70d5d/UpdateOS/UpdateOS.ps1#L59 I tested with "@PSBoundParameters". but it errors out: