Difference between revisions of "Cleaning Policies From Chrome"

From LogiWiki
Jump to navigation Jump to search
(Created page with "#Open the '''Terminal app''' (Go > Utilities > Terminal or press Command+Space and search Terminal) #Enter the commands below, hit Enter after each #defaults write com.google....")
 
 
Line 1: Line 1:
 
#Open the '''Terminal app''' (Go > Utilities > Terminal or press Command+Space and search Terminal)
 
#Open the '''Terminal app''' (Go > Utilities > Terminal or press Command+Space and search Terminal)
#Enter the commands below, hit Enter after each
+
#Enter the commands below, hit Enter after each<syntaxhighlight lang="bash">
#defaults write com.google.Chrome HomepageIsNewTabPage -bool false
+
defaults write com.google.Chrome HomepageIsNewTabPage -bool false
#defaults write com.google.Chrome NewTabPageLocation -string “<nowiki>https://www.google.com/”</nowiki>
+
defaults write com.google.Chrome NewTabPageLocation -string “https://www.google.com/”
#defaults write com.google.Chrome HomepageLocation -string “<nowiki>https://www.google.com/”</nowiki>
+
defaults write com.google.Chrome HomepageLocation -string “https://www.google.com/”
#defaults delete com.google.Chrome DefaultSearchProviderSearchURL
+
defaults delete com.google.Chrome DefaultSearchProviderSearchURL
#defaults delete com.google.Chrome DefaultSearchProviderNewTabURL
+
defaults delete com.google.Chrome DefaultSearchProviderNewTabURL
#defaults delete com.google.Chrome DefaultSearchProviderName
+
defaults delete com.google.Chrome DefaultSearchProviderName
 +
 
 +
</syntaxhighlight>
 
#Restart Chrome
 
#Restart Chrome
  

Latest revision as of 11:32, 6 October 2021

  1. Open the Terminal app (Go > Utilities > Terminal or press Command+Space and search Terminal)
  2. Enter the commands below, hit Enter after each
    defaults write com.google.Chrome HomepageIsNewTabPage -bool false
    defaults write com.google.Chrome NewTabPageLocation -string “https://www.google.com/”
    defaults write com.google.Chrome HomepageLocation -string “https://www.google.com/”
    defaults delete com.google.Chrome DefaultSearchProviderSearchURL
    defaults delete com.google.Chrome DefaultSearchProviderNewTabURL
    defaults delete com.google.Chrome DefaultSearchProviderName
    
  3. Restart Chrome

After cleaning the policies from Chrome, go back to chrome://policies and look for any more malicious looking entries. Use the above syntax as a guide to remove them.

As a last resort use the following command. They will remove all Chrome settings:

defaults delete com.google.Chrome