Skip to main content


Random #windows tip -

If you restart your PC using the command "shutdown -t 0 -g", it will reopen the apps you had open before the reboot (the ones that support it at least)

in reply to Jen Gentleman

Do you happen to know if that also happens if an application calls ExitWindowsEx with the EWX_REBOOT flag? Or is there a better API for doing a graceful reboot, short of literally running shutdown.exe?