Windows 10 向 Windows 添加了一项功能,可(Windows)自动重新打开在您关闭或重新启动计算机时打开的程序。虽然有些人只是喜欢该功能,但其他人正在寻找一种禁用它的方法。如果您想阻止Windows 11/10在重新启动后重新打开程序和应用程序,那么这篇文章会让您感兴趣。
发生了什么变化
在这种情况下发生的变化是,Windows在关闭或重新启动之前会保留您打开的应用程序的状态。一旦计算机再次启动,所有这些应用程序都会重新加载以提高生产力和连续性。这是因为Winlogon 自动重新启动登录(Winlogon Automatic Restart Sign-On)(ARSO) 功能。
但是,如果您喜欢旧的方式,重新启动后重新启动计算机并快速启动,那么您可能会对这个功能有点失望。但这可以通过一些方法来解决,请注意,Windows 目前没有为此功能提供任何控制或开关,但您可以通过一些工作来实现它。
有些人确实将此功能与名为“使用我的登录信息 在更新或重启后自动完成设置我的设备”的设置混淆了,但在 Windows 10 v1709 之前,此设置与此功能无关。但是从Windows 1803开始,微软(Microsoft)改变了一些东西。请仔细阅读,找出答案。
Stop Windows 11/10重新打开程序
这个问题最简单和最好的解决方案是'在关机前关闭你的应用程序。(Close your applications before a shutdown.)' 是的,这似乎是关闭计算机之前的额外步骤,但随着时间的推移,您可以保持这种习惯。但是,如果这对您不起作用,请考虑以下解决此问题的方法:
- 使用 Alt+F4
- 使用可以完全关闭计算机的桌面快捷方式
- 使用关机 -g 命令
- 关闭(Turn)使用(Use)我的登录信息自动
- 组策略编辑器。
1] 使用 Alt+F4
不要使用Start > Shutdown。您可以使用经典的“关闭 Windows”对话框来执行关闭或重新启动,而不是开始菜单。转到桌面并点击“ Alt+F4 ”,现在选择所需的选项并点击“ OK ”。
另一种快速执行此操作的方法是按下“ Win+M ”以最小化所有窗口,然后按下“ Alt+F4 ”以调出经典的关闭对话框。
2]使用(Use)可以完全关闭计算机的桌面快捷方式
这种方法有点棘手,但以后更容易访问和使用。您将必须创建一个桌面快捷方式,该快捷方式将完全关闭您的计算机(full-shut down your computer)而不保留应用程序的状态。
右键单击您的桌面,然后选择“新建 > 快捷方式”。
现在输入“ shutdown /s /t 0 ”并点击Next。命名您的快捷方式并为其选择适当的图标。
此命令将关闭您的计算机而不保留应用程序状态。
重新启动的命令是“ shutdown /r /t 0 ”,如果您希望 Windows 使用快速启动,那么命令将是“ shutdown /s /hybrid /t 0’。
您可以创建任意数量的快捷方式,也可以将此快捷方式固定到任务栏。或者,您可以将此快捷方式固定到开始菜单,以便您可以从开始菜单本身进行专门的控制来关闭计算机。如果您不想处理快捷方式,可以直接从CMD窗口运行上述命令。这篇文章讨论了可供您使用的Shutdown 命令行选项。
3]使用关机-g命令
在运行(Run)框中使用shutdown -g或(shutdown -g)CMD。您可以创建和使用桌面快捷方式。
4]关闭(Turn)使用(Use)我的登录信息自动
打开Settings > Accounts>登录选项并关闭使用我的登录信息自动(Use my sign-in info to automatically)。这将阻止Windows 重新打开 Windows 10 v1803及更高版本以及Windows 11中的程序。
5]使用组策略编辑器
您还可以打开组策略编辑器(Group Policy Editor)并导航到以下设置:
Computer Configuration > Policies > Administrative Templates > Windows Components > Windows Logon Option
在系统启动的重新启动后,双击登录最后一个交互式用户(Sign-in last interactive user automatically after a system-initiated restart),并将其设置为“禁用”。
因此,这是阻止Windows 10在关机或重新启动后重新打开应用程序的两种解决方法。您可以使用这些方法中的任何一种。
阅读下一篇(Read next):禁用此应用程序正在阻止(This app is preventing shutdown)Windows 11/10 中的关机消息。
Stop Windows from automatically reopening last open apps after restart
Wіndows 10 added а feature to Windows that automatically reopened programs, whіch were open when you shut down or restarted your computer. While some just love the feature, оthers arе looking for a way to disable it. If you are one who wants to stop Windows 11/10 from reopening programs & applicatiоns after a restаrt, then this post will interest you.
What changed
What has changed in this scenario is that Windows preserves the state of your open applications before it shuts down or restarts. Once the computer has started again, all these applications are reloaded in the interest of productivity and continuity. This is because of the Winlogon Automatic Restart Sign-On (ARSO) feature.
But if you liked it the old way, a computer starting fresh and fast after a restart then you might be a little disappointed by this feature. But this can be tackled with a few approaches, make note that Windows does not provide any control or switch for this feature as of now, but you can work around a bit to achieve it.
Some people do confuse this feature with a setting called Use my sign-in info to automatically finish setting up my devices after an update or restart’, but this setting has nothing do with this feature till Windows 10 v1709. But starting with Windows 1803, Microsoft changed a few things. Read on to find out.
Stop Windows 11/10 from reopening programs after restart
The most simple and best solution to this problem is ‘Close your applications before a shutdown.’ Yes, that seems one additional step before shutting down your computer, but that is a habit you can maintain over time. But if this does not work for you, consider the following approaches to this issue:
- Use Alt+F4
- Use a desktop shortcut that will full- shut down your computer
- Use shutdown -g command
- Turn off Use my sign-in info to automatically
- Group Policy Editor.
1] Use Alt+F4
Don’t use Start > Shutdown. Instead of the start menu, you can use the classic ‘Shut Down Windows’ dialog to perform a shutdown or restart. Go to desktop and hit ‘Alt+F4’, now choose the desired option and hit ‘OK’.
Another way of doing this quickly would be pressing ‘Win+M’ to minimize all the windows and then hitting ‘Alt+F4’ to bring up the classic shut down dialog.
2] Use a desktop shortcut that will ful- shut down your computer
This method is a little tricky one but it is easier to access later and use. You will have to create a desktop shortcut that will full-shut down your computer without preserving the state of the applications.
Right-click your desktop and then select ‘New > Shortcut’.
Now type in ‘shutdown /s /t 0’ and hit Next. Name your shortcut and also choose an appropriate icon for it.
This command will shut down your computer without preserving the application state.
The commands for restart are ‘shutdown /r /t 0’ and if you want Windows to use fast-boot, then the command will be ‘shutdown /s /hybrid /t 0’.
You can create as many shortcuts you want, and you can also pin this shortcut to the taskbar. Alternatively, you can pin this shortcut to the start menu so that you can have dedicated control to shut down your computer from the start menu itself. If you do not want to deal with the shortcuts, you can directly run the above commands from a CMD window. This post talks about the Shutdown command line options available to you.
3] Use shutdown -g command
Use shutdown -g in the Run box or CMD. You may create and use the desktop shortcut.
4] Turn off Use my sign-in info to automatically
Open Settings > Accounts > Sign-in Options and turn off Use my sign-in info to automatically. This will stop Windows from reopening the programs in Windows 10 v1803 and later, as well as Windows 11.
5] Use Group Policy Editor
You can also open the Group Policy Editor and navigate to the following setting:
Computer Configuration > Policies > Administrative Templates > Windows Components > Windows Logon Option
Double-click on Sign-in last interactive user automatically after a system-initiated restart and set it to “Disabled”.
So, these were two workarounds to stop Windows 10 from reopening applications after a shutdown or a restart. You can use any one of these methods.
Read next: Disable This app is preventing shutdown message in Windows 11/10.