Reset Safari on macOS without opening
Note : Before Reset Safari, please check for any new available macOS updated.
- To check the macOS is running to the latest version on not.
- You need to click in apple icon from top left corner and the click on App Store.
- After that, click on updates to check for any new updates available for your macOS.
Step 1 : Close all Open Applications to Reset Safari
- Firstly, navigate to Apple Icon from Top Left Corner and then click on Force Quit.
- After that, Force Quit all the open applications except Finder.
Step 2 : Backup Safari Bookmarks
- Secondly, navigate to Go and Select Go to folder Type: ~/Library. Then Hit Enter
- After that, open the folder name Safari.
- Then you will be able to find a file name Bookmarks.plist, this file contain the backup of all your bookmarks.
- However you can either backup this file to online storage or copy it to a flash drive.
Step 3 : Open ~/Library
- Thirdly, click Go select Go to folder then Type: ~/Library and Hit Enter
- Look for Cookies, Cache and Safari. Select them all and Move to Trash.
- Navigate to Folder Saved Application State.
- Search for com.apple.Safari.savedState and Move to Trash.
- After that, close all the open windows.
Step 4 : Open Terminal
- In addition, to all the above three steps we need to use command line to make sure that our Safari is reset properly.
- Therefore, we will go ahead and open Terminal to reset Safari on macOS.
- After that, copy all the commands given below and paste them together at once in Terminal.
mv ~/Library/Safari ~/Desktop/Safari-`date +%Y%m%d%H%M%S`; \ rm -Rf ~/Library/Caches/Apple\ -\ Safari\ -\ Safari\ Extensions\ Gallery; \ rm -Rf ~/Library/Caches/Metadata/Safari; \ rm -Rf ~/Library/Caches/com.apple.Safari; \ rm -Rf ~/Library/Caches/com.apple.WebKit.PluginProcess; \ rm -Rf ~/Library/Cookies/Cookies.binarycookies; \ rm -Rf ~/Library/Preferences/Apple\ -\ Safari\ -\ Safari\ Extensions\ Gallery; \ rm -Rf ~/Library/Preferences/com.apple.Safari.LSSharedFileList.plist; \ rm -Rf ~/Library/Preferences/com.apple.Safari.RSS.plist; \ rm -Rf ~/Library/Preferences/com.apple.Safari.plist; \ rm -Rf ~/Library/Preferences/com.apple.WebFoundation.plist; \ rm -Rf ~/Library/Preferences/com.apple.WebKit.PluginHost.plist; \ rm -Rf ~/Library/Preferences/com.apple.WebKit.PluginProcess.plist; \ rm -Rf ~/Library/PubSub/Database; \ rm -Rf ~/Library/Saved\ Application\ State/com.apple.Safari.savedState
In conclusion, these commands will fully wipe out all of your old Safari settings and make your Safari as on factory default settings.
Therefore, you need to restart your macOS and Open Safari again.
If you have any suggestions regarding this article please mention in the comment section down below.
Please checkout my other articles:
Did you Like my Work ?
Please Like, Share and Subscribe our YouTube Channel.