Occasionally, a forced restart is happening on my Windows 10 computer. When the OS is restarted every program that I've had prior to the restart is reopened at startup. The programs are reopened like I would just double-click them.

I usually hold 5-6 windows of Visual Studio and few more programs all together. When the above happens, I have to wait several minutes until I can start working, as everything takes ages to load.

Is there a setting to disable these programs from automatically opening at startup?

  • 4
    This is a new thing, and it is happening to me. I am not on a domain and do not have the Creators Update. What is surprising is that there is little information about it online. You can read about it a bit here: windowsreport.com/restore-apps-pc-reboot What's strange is that I cannot find the settings to turn it on or off as that article describes.
    – jdgregson
    Commented Aug 9, 2017 at 19:22
  • 24
    I'd love a way to disable this new behavior. When my pc restarts I want a nice clean slate and not 20 programs trying to open
    – mejobloggs
    Commented Aug 10, 2017 at 9:46
  • 6
    How is this not regarded as a major security flaw? If I turn off my PC with, for example, a YouTube video open then somebody else can turn it back on and listen to what I was watching without knowing my account password because the video starts playing as soon as windows boots.
    – Ubiquitous
    Commented Feb 10, 2018 at 9:07
  • 6
    Another stupid decision by Microsoft. It defeats a large part of the purpose of restarting a Widows machine - to close running apps, stop rogue processes, and generally return to a known good state. Commented Mar 13, 2018 at 6:42
  • 2
    @johni have you had an opportunity to try any of the proposed solutions? I'm sure that your schedule is very busy, but this question now has more than 95k views and it would really be nice if the original author provided us with some feedback. Thanks for your help!
    – Run5k
    Commented Jun 3, 2018 at 15:53

7 Answers 7


Good news! It has been somewhat "fixed."

I was interested in clickbangdead's solution, but unfortunately I could not make it work no matter what I tried. Then I went back to the Microsoft Answers thread where he originally posted his solution, because maybe someone could have found a new solution in the subsequent pages. And voilà, indeed. Navigate to the following location:

Settings > Accounts > Sign-In Options

Scroll down to Privacy on the right and then set the following to Off:

Use my sign-in info to automatically finish setting up my device after an update or restart.

Privacy Settings

I was skeptical, because that doesn't seem like it has much to do with reopening my Google Chrome upon restart, but I tested and it (finally) works!

Update: with the release of Windows 10 version 1803 (the April 2018 Update), Microsoft modified the wording within that Privacy option to emphasize that it will "reopen my apps" if it is configured to be On.

Use my sign-in info to automatically finish setting up my device and reopen my apps after an update or restart.

Disable Reopen My Apps

  • 6
    This works well on version 1709, build 16299.248.
    – Mihai
    Commented Feb 21, 2018 at 23:21
  • 7
    Great find thanks. This should be the accepted answer.
    – Aidan
    Commented Mar 3, 2018 at 11:33
  • 4
    But what are the side effects?
    – Ray
    Commented Mar 14, 2018 at 19:33
  • 4
    Doesn't work in Version 1709 Build 16299.192. Commented Apr 7, 2018 at 4:14
  • 6
    I don't have this setting even though I'm fully up-to-date. I think it's because I'm on Enterprise? Anyone know how to disable the setting on Enterprise?
    – mejobloggs
    Commented Jun 13, 2018 at 21:03

From: Stop Auto Reopen of Programs after Restart in Windows 10

This is a new "feature" in Fall Creators Update. To prevent apps from being reopened after reboot, don't use the Start > Shutdown button. Instead, use the shutdown.exe command-line.

shutdown.exe /s /t 0

To restart, use this command-line or shortcut:

shutdown.exe /r /t 0
  • 55
    As someone that likes the convenience of Start > Shutdown, I'd prefer a solution that doesn't require me to make a shortcut or manually run shutdown.
    – Johannes
    Commented Nov 3, 2017 at 4:38
  • 2
    I added it to the Start menu like so: Put the shutdown command above in a file named shutdown-now.cmd (or whatever you want), created a shortcut to it, and moved it to the shell:programs folder (more on shell commands). Next I right-clicked it in the Start menu and chose Pin to Start. For bonus points, right-click on the shortcut in Explorer, choose Properties, Change Icon..., and pick something you like.
    – User5910
    Commented Jan 29, 2018 at 4:19
  • 2
    As of February 2018, there is a 'fix' that doesn't require you to workaround your default shutdown behavior. It i's explained in the answers down below, it is a simple setting switch to turn off. Commented Mar 4, 2018 at 13:37
  • 2
    What about when your PC auto restarts over night though? My issue is coming back to work in the morning, finding my pc has restarted, then trying to deal with it opening 30 programs that each pop up error screens because they can't connect to server, or load projects etc.
    – mejobloggs
    Commented May 9, 2018 at 20:27
  • 2
    LOL! And what if it's just an auto-restart after update every Wednesday, that just loads my browser with most recently played (and paused) youtube video, and plays it on my loudspeaker in the middle of the night?
    – tishma
    Commented Jan 10, 2019 at 0:08

Sadly this (privacy settings/use my sign-in info...) doesn't work (at least for me on four machines). It seems like this always happens when you reboot:


quote from a MS Support Engineer over there:

Old behavior:

  • When you shut down your PC, all apps are closed

  • After reboot/restart, you have to re-open any app you'd like to use

New behavior:

  • When shutting down your PC, any open apps are "bookmarked" (for lack of a better word)
  • After reboot/restart, these apps will re-open automatically

If you want to start with no apps open (other than those set to auto-start via Task Manager/Start), you'll need to ensure all apps are closed before shutting down or restarting the PC.

Wish they had included this for "installation/updates require a restart" only. Didn't find any GPOs so far or any way to turn it off.

  • 27
    MS makes some boneheaded decisions. I see the usefulness, if it were optional.
    – user565955
    Commented Nov 16, 2017 at 19:41
  • 4
    Seriously? I need to close all apps when I don't want to pop them up again after rebooting? I mean I'm fine with this new default behaviour... but why is there no option :( Maybe there is a way to run scripts before shutdown or reboot, to close all active processes...
    – Armin
    Commented Dec 1, 2017 at 19:41
  • The worst part is it doesn't even work entirely as described - a good number of apps if left open won't be re-opened at all. Commented Jan 4, 2018 at 14:51
  • 1
    I always make sure that I closed everything before shutdown. But sometimes it still tries to open some apps after reboot
    – notacat
    Commented Mar 28, 2018 at 14:22
  • 2
    It sucks especially since the laptop may decide to reboot randomly during its sleep, and if you happened to have a chrome tab with youtube open, it'll just autoplay it. This waked me up in the middle of the night several times already in the past year.
    – Dan M.
    Commented Jun 23, 2019 at 0:47

The fastest way to reboot without reopening apps I found is: click anywhere on the desktop (or Winkey-D) and then alt-F4 and choose "restart".

  • 1
    How did I not know that? Bonus points for finding a quick keyboard shortcut for shutdown / restart for Win 10. Commented May 29, 2018 at 13:20

While the setting at Accounts > Sign-in options > "Use my sign-in info to automatically finish setting up my device and reopen my apps after an update or restart" works on some of my devices (1803 and 1809), it was hit and miss. This registry change, however, has been 100% effective at disabling this unwanted feature.

reg add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v DisableAutomaticRestartSignOn /t reg_dword /d 1 /f
  • it seems working on Windows 2016 too
    – Boogier
    Commented Jun 17, 2019 at 6:27
  • this works win10 pro 1909 18363.778, Thank you. Commented May 1, 2020 at 11:05
  • my favorite solution :)
    – Alex
    Commented Jul 26, 2020 at 15:09

I posted this to the MS thread: https://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_perf-insiderplat_pc/programs-autostart-after-boot-in-windows-10-fall/09dd8d3e-7b36-45d1-9181-6587dd5d53ab?messageId=552051d1-b7e5-4709-826a-cce7d243086a

I'll post here too: here is a more friendly solution for someone that doesn't want to have to keep shutting down unwanted apps:

Create a batch file with the following command line:

for /f "tokens=1-3,*" %%a in ('reg query HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce /v "Application Restart*" ^| findstr "Application Restart"') do reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce /v "%%a %%b %%c" /f

Place this somewhere on the drive that the user would have read rights too.

In gpedit.msc, then under User Configuration → Windows Settings → Scripts add the script as a logoff script.

  • 7
    It is pretty common for applications to schedule automatic updates using RunOnce. Will this script prevent such applications from updating, or is it specific to only the apps that were open on shutdown and restart only due to this new 'feature'?
    – Johannes
    Commented Nov 8, 2017 at 5:28
  • I've tested this batch file approach and can confirm that - as far as I can tell so far - it works as described and is specific to the apps there were open on shutdown. Nice work, thank you.
    – zippy72
    Commented Dec 13, 2017 at 10:42
  • clickbangdead, I believe this was an elegant and beautiful solution to the problem, but apparently it no longer works on <version 1709 build 16299.248>. However, using the very same link to the MS thread you provided, a now-working solution can be found on the last pages. I didn't have enough rep to comment at the time, so I posted a solution down below, like an addendum. Commented Mar 4, 2018 at 13:39

I just denied all "write" permission for myself to the registry key HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce.

Works for me.

Edit: This also might be helpfull

  • 2
    This worked for me (y)
    – Arbitur
    Commented Oct 20, 2018 at 20:53
  • Though because of this I get error while installing Python...
    – Arbitur
    Commented Dec 16, 2018 at 22:58
  • 1
    Unfortunately this does not work (Win10 Enterprise LTSB). Even with write permissions for that key revoked, applications still restart when the machine is rebooted automatically. Commented Dec 21, 2018 at 4:39
  • 1
    We always appreciate the contributions from our community members, but please do not provide answers that are only a hyperlink. While the information may be valuable, if the source web page ever goes offline the answer is essentially useless. Quote all of the pertinent excerpts from the article within your answer, then you can still provide the hyperlink to cite your source. Please see the following article from our Help Center: How do I write a good answer? Thanks for your help!
    – Run5k
    Commented Jan 18, 2019 at 11:38
  • 1
    This will break a lot of things like uninstallers and updaters that rely on RunOne
    – PeterFnet
    Commented Feb 6, 2020 at 16:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .