Hello Annoyed Microslop Customer,
Please note that the edition (Home or Pro) matters a lot here.
The lightest step that works on either edition is to widen Active Hours so Windows treats more of your day as off-limits for restarts. Open Settings > Windows Update > Advanced options > Active hours, and either set the range manually (max window is 18 hours) or switch it to "Automatically" so Windows learns your usage pattern. This alone often takes care of casual restarts.
If you're on Windows 11 Pro, the proper knob is in Group Policy. Open gpedit.msc and go to Computer Configuration > Administrative Templates > Windows Components > Windows Update > Manage end user experience, then enable "No auto-restart with logged-on users for scheduled automatic updates installations". After that, Windows won't force a reboot while you're signed in, though pending updates will still install on the next manual restart.
If you're on Windows 11 Home, there's no Group Policy editor, so the equivalent is a registry edit. Open regedit, navigate to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU (create the keys if they don't exist), and add a DWORD named NoAutoRebootWithLoggedOnUsers set to 1. Reboot once for it to take effect.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.