mtniehaus / updateos Goto Github PK
View Code? Open in Web Editor NEWSample app for installing Windows updates during an Autopilot deployment
Sample app for installing Windows updates during an Autopilot deployment
Hi @mtniehaus ,
Could you add a parameter to exclude the updates so that it only does drivers as well?
I'm looking for a way to only install drivers during Autopilot and have the CU's etc. apply later. This will also run a lot quicker than doing all updates. I'm currently achieving this with PSWindowsUpdate module but I like your method better.
Regards,
Nick
The Command if (!$.EulaAccepted) { $.EulaAccepted = $true } leads to an Error (sorry for the German error message):
Für "EulaAccepted" und die Argumentanzahl "1" wurde keine Überladung gefunden.
In C:\Windows\IMECache\12341234-1234-1234-1234-123412341234\OSUpdate.ps1:117 Zeichen:38
+ if (!$_.EulaAccepted) { $_.EulaAccepted = $true }
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
+ FullyQualifiedErrorId : RuntimeException
I came across this error when a feature upgrade needs to be installed during pre-provisioned deployment.
The error also causes the feature upgrade to fail.
After some research I found a way to fix the error:
if (!$_.EulaAccepted) { $_.AcceptEula() }
https://www.powershellgallery.com/packages/UpdateOS/ does not seem to have v1.4.
Hi there,
Not an issue, but I was wondering if we can modify the script to skip installation of the optional driver updates?
Thank you
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
Hello there,
Big fan of your work - both while you were at Microsoft and now your oofhours blog.
I was wondering if you can modify the script to exclude the installation of Windows feature updates?
Thank you
The "ExcludeDrivers" parameters is not taken over, when re-launching 32-bit as a 64-bit process.
UpdateOS/UpdateOS/UpdateOS.ps1
Line 59 in a6c6c3f
Cannot process argument transformation on parameter 'ExcludeDrivers'.
Cannot convert value "System.String" to type "System.Management.Automation.SwitchParameter". Boolean parameters accept
only Boolean values and numbers, such as $True, $False, 1 or 0.
Hello,
Looking for a way to apply windows updates during autopilot setup. Came across this option and started some test runs based of the setup instructions. During account setup I see the app failure below:
Apps(0x81036502)
It happened once I added the .intunewin app with the update. Once I remove it, the setup finished. I also tested ESP with just that PowerShell update app and failed. Have you seen this error before? and have a suggested resolution?
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.