On Windows 10.0.14393, when Windows Update causes my computer to restart, after logging in again, some programs that were running before shutdown are started again. Programs that I've seen this happen for are Outlook, Internet Explorer, Visual Studio and SQL Management Studio, but there may be more (seems to be Microsoft programs only though). Some of these are run as administrator, and for those I get a UAC popup.

Most of these programs don't restore to their exact previous state anyway, so it's pretty useless, and it's also disconcerting that the computer seems to take control just after logging in.

I haven't seen options in these programs that cause them to be restarted after a computer restart, so I think Windows is doing this.

I want Windows Update to restart the machine in my absence, I just don't want it to try to restore the running programs. How do I stop Windows from doing that?

(I know about the setting in Windows Explorer and already turned it off. This is about other programs.)

  • 1
    Since the new Creators update, shutdown.exe has a new parameter: /g (restart pc and start any registered program at startup). So this is the cause of what you're experiencing. I don't know how to block the behavior, but I assume that if you get the shutdown.exe from a previous windows 10 version, and replace it with the current one, the behavior will stop.
    – LPChip
    Aug 8, 2017 at 9:22
  • @LPChip: Thanks! It seems that I indeed want to suppress (this part of) the behaviour of the Windows Restart Manager. Replacing shutdown.exe is unlikely to work, as the /g parameter probably just makes it pass the proper flag to the ExitWindowsEx or InitiateShutdown function, and most installers will call one of those functions themselves.
    – gpvos
    Aug 8, 2017 at 9:45
  • You could force restart in minimal mode (only a few MS services, no third party), either with or without networking. You just set "bootnext" variable using bcdedit.
    – snayob
    Aug 8, 2017 at 10:29
  • 14393 is 1607 not 1703. Which means 1607 does not have the feature that only exists in 1703.
    – Ramhound
    Aug 8, 2017 at 11:55
  • @Ramhound: It looks like this restart manager already exists since Vista. Maybe shutdown.exe got updated more recently, but I don't think that is relevant in this case, as I already wrote above.
    – gpvos
    Aug 8, 2017 at 16:26


You must log in to answer this question.

Browse other questions tagged .