Mac OS

How to Enable or Prevent Reopen Windows when logging back in after Restart or Shutdown on Mac

macrestart

When your apps windows reopens during restart or shutdown, this behaviour can help save some quality time because you can quickly jump in and continue what you were doing. But if you prefer to disable or enable this feature (like wanting to pick off where you left on your Mac device after restart or studown), then you are at the right place. In this guide, I will be showing you how to enable or prevent apps from automatically reopening when you log in to your Mac. Kindly refer to the following related guides: How to prevent a remote shutdown and restart in Windows, and Cannot uninstall the OneDrive App: The item “OneDrive” can’t be moved to the Bin because it’s open on Mac, how to logoff, restart, or shutdown Windows PC or Server remotely via Command Prompt and PowerShell,

There is a difference between Restart and Shutdown operation and this is quite self-explanatory. As for shut down, your Mac won’t start until you press the Power button again. It will interest you to know that newer macOS have an automatic reboot feature built-into them. Therefore, everything is cleared during the ‘shut down’ or ‘restart” process, thereby clearing all processes, cache, and memory and, giving the device a complete start. Here is another interesting guide: How to use command prompt to shutdown and restart your computer, and How to Hide or Remove the Search Button from Windows 10 Taskbar.

Despite this behavior described above, when a restart is performed on your Mac device, the device will load its previously active apps upon restart by reopening all active windows. In this guide, I will be showing you how to enable or prevent opened Windows from Reopening after Restart or Shutdown.

Note: Be sure that the application isn’t included in System Preferences > Users & Groups > Login Items as described in this guide: How to hide or stop Apps such as OneDrive from opening automatically upon login on Macbook Pro.

Use the setting in the logout or restart dialog to Enable or Disable reopen windows at login time

If you disable a login item from the Mac Dock, but it still appears again after you reboot your Mac, then, you may have your MacBook set up to restore all open apps when booting up or restarting. To clear the reopen windows functionality, please follow the following steps:

Click on the Apple menu, then select Restart or Shut Down from the drop-down list.

Applemenu

Disable Reopen Windows at login: Uncheck the Reopen windows when logging back in option, then click on the Restart or Shut Down button to activate the process.

disablereopeningofapps

Enable Windows Reopen at Login: check the Reopen windows when logging back in option, then click on the Restart or Shut Down button to activate the process.

reopenloginwindows

If you want certain apps to launch at startup without popping up on your Mac screen. You can tick the Hide box next to each app that is in the Login Items list. This ensures the program won’t get in your way but will be ready to use when you need it. In this case, please refer to this guide: How to hide or stop Apps such as OneDrive from opening automatically upon login on Macbook Pro.

Use the setting in General preferences

The same behavior can be achieved by using the General settings as shown below. To enable or prevent apps from remembering the windows they had open, choose Apple menu  > System Preferences.

systempreference

In the System Preferences window, click on General as shown below.

Systempreferencegeneral

In this panel, please check the box ”Close windows when quitting an app” to disable it or uncheck the box to enable it.

closewindowswhenquittingappmac

Alternatively, press and hold the Shift key while opening an app. This doesn’t change the setting, but the app forgets any windows that were open the last time you quit the app. If these steps don’t work for an app, the app might have its own setting for reopening windows. Please refer to this guide: How to hide or stop Apps such as OneDrive from opening automatically upon login on Macbook Pro.

I hope you found this blog post helpful. Please let me know in the comment session if you have any questions.

Subscribe
Notify of
guest

2 Comments
Inline Feedbacks
View all comments
Robert Geraci
Robert Geraci
5 months ago

Christian, I appreciate your clear instructions here, and I’ve gone through and done everything you suggest. But what you have said does not address my big problem with the issue of things re-opening on startup. Usually when I reboot my Macbook, the apps that re-open are not only ones that were open before I rebooted. It *also* includes a lot of apps that weren’t open. Not only that, but oftentimes even the apps that I did have open before the boot open up *many more* files (windows) than were open before. Frequently an app like Preview or MSWord will reopen… Read more »

Last edited 5 months ago by Robert Geraci
2
0
Would love your thoughts, please comment.x
()
x