Hello @Edvin Suljic,
Hotpatch updates are intended to minimize downtime and disruptions. These updates install and take effect without the need to restart the device. Typically, hotpatching is used for specific updates, such as security fixes or critical patches, that can be applied without compromising the overall stability of the operating system.
To prevent automatic restarts after hotpatching in Windows, you can leverage Group Policy Editor to configure settings that delay or prevent automatic restarts, especially during active hours or when a user is logged in.
Navigate>> Win+R>> gpedit.msc>>Computer Configuration > Administrative Templates > Windows Components > Windows Update>>legacy policies>>
Enable this policy to prevent automatic restarts when a user is logged in during scheduled updates.
Enable this policy and set the start and end times for active hours, preventing restarts during those times.
After configuring the policies, open a Command Prompt as administrator and run gpupdate /force
to apply the changes.
Note: However, hotpatch updates are designed to apply patches without requiring a restart, so these settings primarily affect standard Windows updates.
If you have any further queries, do let us know.
If you found this informative, please consider accepting an answer as a token of appreciation. And don't forget to give it a thumbs up 👍 if it was helpful.