Tuesday, April 14, 2020

Disable Reopening Windows When Logging Back In Mac OS X Completely

File to be Modified:

~/Library/Preferences/ByHost/com.apple.loginwindow.*


- STEPS-


1. Converting The plist Binary File to XML

plutil -convert xml1 ~/Library/Preferences/ByHost/com.apple.loginwindow.*

2. Edit the plist File

Delete Everything Under: TALAppsToRelaunchAtLogin , you should have only <array></array>

3. Converting The plist XML File to Binary

plutil -convert binary1 ~/Library/Preferences/ByHost/com.apple.loginwindow.*

Change The plist File Permission

chflags uchg com.apple.loginwindow.*.plist

No comments: