Table of Contents
PSWindowsUpdate lets you inspect and install Windows updates from PowerShell. UpdGUI adds a graphical front end for selecting updates. Both are third-party tools; they use the Windows Update client rather than replacing its services or guaranteeing trouble-free updates.
If restart timing is your only concern, first configure Windows Update active hours or pause updates temporarily. Keep the update service available.

Install and inspect PSWindowsUpdate
Back up important files, connect a laptop to power, and finish any pending restart before starting. On a work-managed computer, ask your administrator rather than overriding update policies.
Open Windows PowerShell as administrator. The Gallery package lists PowerShell 5.1 and the Desktop edition; do not assume a PowerShell 7 Terminal profile is equivalent. Review the publisher and installation instructions on the PSWindowsUpdate Gallery page, then run:
Install-Module -Name PSWindowsUpdate
Import-Module PSWindowsUpdate
Get-Command -Module PSWindowsUpdateRead repository and dependency prompts before accepting them. Microsoft hosting the Gallery does not make every uploaded module Microsoft-authored or automatically safe.

The older screenshots illustrate the workflow, but avoid copying their blanket -Force or execution-policy changes. If a script is blocked, inspect Get-ExecutionPolicy -List and the actual error. Execution policy is not a guarantee that code is trustworthy, and changing it is not a universal installation fix.
Prepare and launch UpdGUI
Get the project files and read the current instructions in the CodingWonders UpdGUI repository. Preserve the supplied file structure instead of assuming that copying one script always includes everything it needs. Review downloaded code before running it with administrator rights.

The project requires FullLanguage mode. Check it with:
$ExecutionContext.SessionState.LanguageMode
If the result is ConstrainedLanguage, stop and check with the administrator. Application-control policy can enforce this mode; changing execution policy does not remove that restriction safely. Microsoft explains the distinction in its PowerShell language-mode documentation.
In an elevated Windows PowerShell window, change to the extracted project folder and run:
.updgui.ps1The initial dot and backslash are part of the command. If Windows blocks the downloaded script, review its source and the applicable policy rather than bypassing protections to make it launch.
Review updates before installing

In UpdGUI, retrieve the update list, inspect the titles and KB numbers, select the intended updates, and start installation. Save open work first. An update may require a restart, and selecting it manually does not eliminate compatibility risks.
For command-line inspection, start with commands that list information:
Get-WindowsUpdate
Get-WUHistory
Get-WURebootStatus
Get-Help Get-WindowsUpdate -Full
Use the installed module’s help to confirm selection and installation parameters before making changes. Avoid starting with -AcceptAll or automatic reboot options.
A filter such as -Category "Security Updates" is not a complete security-patching strategy: cumulative updates can use other classifications. Excluding drivers also does not guarantee stability. Review the actual update list, install needed updates, restart when appropriate, and check Windows Update and update history afterward. Record any error code before troubleshooting; do not repeatedly run reset or uninstall commands without identifying the failure.
Reader Comments 0
Sign in with email or Google to join the discussion.