dotMorten/RebootWarn

A simple tray app that warns you if a reboot is pending, so you won't leave work and come back the next day with a clean session and work lost

★ 2Forks 0C#GitHub ↗Compare

README

RebootWarn

Never discover an overnight Windows restart by finding yesterday's unsaved work gone. RebootWarn quietly watches Windows Update from the notification area and gives you an unmistakable warning when a restart is pending, while there is still time to save everything and reboot on your own schedule.

It stays out of the way, launches automatically after sign-in, and needs no cloud service or account. When Windows Update requires a restart, the tray icon turns red and RebootWarn sends a configurable daily reminder with a direct link to Windows Update.

RebootWarn restart-required notification

Behavior

  • Uses the Windows Update Agent Microsoft.Update.SystemInfo.RebootRequired signal.
  • Checks on launch, every 15 minutes, after resume, and when Check now is selected.
  • Starts after user sign-in through the packaged windows.startupTask extension.
  • Shows the status window on the first interactive launch; later launches start directly in the tray.
  • Closing the window keeps the app running in the notification area; use Quit from the tray menu to exit.
  • Notification and tray actions can open ms-settings:windowsupdate.

Build and test

.\BuildAndRun.ps1 .\RebootWarn.csproj --arch x64
dotnet test .\RebootWarn.Tests\RebootWarn.Tests.csproj -c Debug -p:Platform=x64
.\BuildAndRun.ps1 .\RebootWarn.csproj -c Release --arch x64 --no-launch
.\BuildAndRun.ps1 .\RebootWarn.csproj -c Release --arch arm64 --no-launch

Contributors

dotMorten

Issues