How to Completely Disable “Reopen Windows When Logging Back In” on Mac OS

If you’re tired of seeing all your open applications and windows restored every time you sign out or restart your Mac, you can disable the “Reopen windows when you sign in” feature. This guide will show you how to disable it completely, regardless of whether the checkbox is selected or not.

Steps to Disable the “Reopen Windows When Logging Back In” Feature

Follow these steps to disable the feature:

  1. Open the Terminal application on your Mac.
  2. Copy and paste the following command into the Terminal and press enter:
  3. curling http://pastie.org/pastes/2427953 -L -s -o ~ / fixlogin.sh
  4. Check the file to make sure it contains the correct script by running:
  5. cat ~ / fixlogin.sh
  6. If the file matches the contents of the script, run the following command:
  7. chmod + x ~ / fixlogin.sh && sudo ~ / fixlogin.sh;  rm ~ / fixlogin.sh
  8. Alternatively, you can create your own file with the following script:
  9. #!  / bin / bashecho β€œ#!  / bin / bash ”> /tmp/loginfix.shechoβ€œ rm /Users/*/Library/Preferences/ByHost/com.apple.loginwindow.* ”>> /tmp/loginfix.shmv /tmp/loginfix.sh / usr / bin / loginfix.shchmod + x /usr/bin/loginfix.shdefaults write com.apple.loginwindow LoginHook /usr/bin/loginfix.sh
  10. Run the script by typing the following command:
  11. chmod + x ~ / fixlogin.sh && sudo ~ / fixlogin.sh;  rm ~ / fixlogin.sh
  12. If you want to revert back to the default settings, use the following command:
  13. sudo defaults remove com.apple.loginwindow LoginHook

Benefits of Disabling “Reopen Windows When Logging Back In” on Mac OS

  • This guide is free to read and provides an easy solution to disable the feature.
  • It helps users who are tired of having their windows and applications restored.
  • The price of this guide is free.

FAQs

Q: What does this guide explain?

This guide explains how to disable the “Reopen Windows When Logging Back In” feature on Mac OS X.

Q: How does this guide help?

This guide provides a solution for users who want to prevent their windows and applications from being restored after signing out or restarting their Mac.

Editorial Staff
Editorial Staffhttps://www.bollyinside.com
The Bollyinside editorial staff is made up of tech experts with more than 10 years of experience Led by Sumit Chauhan. We started in 2014 and now Bollyinside is a leading tech resource, offering everything from product reviews and tech guides to marketing tips. Think of us as your go-to tech encyclopedia!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Related Articles

Best Telemedicine Software: for your healthcare practice

Telemedicine software has transformed my healthcare visits. It's fantastic for patients and doctors since they can obtain aid quickly. I...
Read more
I love microlearning Platforms in today's fast-paced world. Short, focused teachings that engage me are key. Microlearning platforms are great...
Think of a notebook on your computer or tablet that can be changed to fit whatever you want to write...
As of late, Homeschool Apps has gained a lot of popularity, which means that an increasing number of...
From what I've seen, HelpDesk software is essential for modern businesses to run easily. It's especially useful for improving customer...
For all of our important pictures, stories, and drawings, Google Drive is like a big toy box. But sometimes the...