I manage a few sites and I'm facing issues with deploying Windows 24H2 updates. I have a script that works well, which automates the installation of missing patches and facilitates the upgrade to Windows 24H2 without user input, allowing me to push it through my remote monitoring and management tool. However, the problem arises after the installation—despite the script completing successfully, Windows doesn't seem to recognize the new updates until I manually check in the Update Center and prompt a reboot. I'm looking for a way to automate this last step or perhaps another method for deploying the patch that doesn't require this manual intervention.
4 Answers
Yes! You should also think about simplifying your command. Instead of using 'Get-WindowsUpdate' followed by 'Install-WindowsUpdate', you could just run 'Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -Install -IgnoreReboot'. This will save time and resources since you're essentially calling for the same updates twice.
Consider using the '-AutoReboot' option if you want the machine to restart automatically after the updates are applied. If scheduling a reboot later is preferable, then use the '-ScheduleReboot' option. That way, the updates can install while ensuring minimal disruption to your users.
If you're trying to upgrade to Windows 11 24H2, why not try the Windows Update Assistant? It can be pushed silently in the background without requiring manual checks in the Update Center. Here’s how you can set it up to run silently through your RMM, ensuring a smoother upgrade process.
It sounds like the script needs a little tweaking! You might want to remove the '-IgnoreReboot' flag; that way, if a reboot is necessary, the update process will manage it automatically. If you're worried about user disruption, consider scheduling the script to run at a time that’s convenient for them, like after hours or on weekends.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures