Jul 4, 2019

Chrome is defaulting to MineSearch. I have removed the malware but can't get it to default to google

Apple rep helped me remove the malware and we removed google chrome and re-installed on my mac, however, when I open Chrome it still defaults to SearchMine which is the malware. We removed all malware with the Apple Rep (ran malware bytes) but not sure how to fix this chrome issue.
Locked
Informational notification.
This question is locked and replying has been disabled.
Community content may not be verified or up-to-date. Learn more.
Recommended Answer
Jul 8, 2019
Hi all,
 
Very much appreciate your patience as we worked through this issue together. Here is a full recap of the steps which should resolve this issue:
  1. Save these steps somewhere safe and close Chrome.
  2. Click the "Preferences" icon in your Mac's menu bar and select "Profiles".
  3. Select all "AdminPrefs" profile(s) and delete it/them by clicking the minus (-) icon at the bottom.
Once you've removed the unwanted "adminprefs" profile(s), you should be able to follow these steps:
  1. Open the Terminal app (Go > Utilities > Terminal or press Command+Space and search Terminal)
  2. Enter the commands below and hit the Enter key after each one:
    • 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
Now restart Chrome and the issue should be resolved. If not, you may need to restart your Mac.
 
(I'm going to mark this post a recommended answer to this topic. This is the best way for this forum system to display an important update at the beginning of a thread, and I want to help ensure that those new to the discussion see the latest update).
Last edited Aug 28, 2019
Product Expert Alumni david.king recommended this
Helpful?
All Replies (18)
Jul 5, 2019
Hi Wes,

Thanks for reaching out to us -- it appears that you may have unwanted software on your computer which has made changes to your computer settings. Here are some steps that may help to resolve the issue:
  1. (Windows only) Run the Chrome Cleanup Tool (Tell me how).
  2. Scan your computer for the unwanted software using recommended removal software:
  3. Uninstall unfamiliar or suspicious extensions (Tell me how).
  4. Uninstall suspicious programs from your computer:
  5. Reset your browser settings.
Hope this helps -- keep us posted!
Aug 8, 2019
Is "Adminprefs" an actual thing?  I dont have this as an option.  I have preferences in my profiles, but none actually labeled "adminprefs."  Please advise.
Aug 24, 2019
I could not get rid of this to save my life but after spending hours on it I decided to dig around the website a bit to see if it could help me and on the FAQ page it had an uninstaller I was a little unsure but ran it anyway and it uninstalled it from chrome. Hope it can help someone else.
Aug 24, 2019
Which website did you dig around... I have spent countless hours, uninstalled, reinstalled and still there!
Aug 27, 2019
I have tried everything.. followed the above instructions. use Malewarebytes to remove virus ( it says i am clean ). but everytime i open a new tap on chrome. 

Searchmine comes up. someone please help me.. it is so frustrating ......:(
Aug 28, 2019
I've fixed the quotes in my reply here too :)
Oct 23, 2019
Could not find AdminPrefs in Chrome
Oct 28, 2019
Is it possible to use similar steps to correct on Safari?
Oct 31, 2019
David.King
Thanks for the detailed steps! However, I am not familiar with Terminal and clearly made a mistake and now I don't know how to rectify it. I am hoping you can help!

I went to Terminal app, opened it and then chose "Shell"/"New Command". I typed in the commands you outlined and hit return after each of them. I must have made an error in the commands because it didn't work. Now, I can't get rid of the new commands I put in, nor do I see where I can edit them. 

I then followed Stefan vd post and downloaded Chrome Policy Remover for Mac. When I tried to run it, I got the error "Can't get window 1 of application "Terminal". Terminal got an error: Can't get window 1. (-1728)

Help! Thanks!
Oct 31, 2019
I got it resolved! Once I learned where to put the commands in Terminal, it WORKED! Thank you for providing the code!
Nov 2, 2019
Thank you, after following these steps it all worked for me. I copy and pasted the lines in terminal. After doing this, Chrome and Safari back to normal. 
That seachmine was so nasty. I think I got it after a prompt that said I had to install flash from a new application.
Thank you David King for the solution
Nov 4, 2019
I tried exactly what you recommend but on the terminal I obtain this answer: Domain (com.google.Chrome) not found. Defaults have not been changed.

Any other recommendation to get rid of that search mine engine? Thanks a lot.
I'm on MacBook Pro System 10.11.6
Feb 8, 2020
Hey I’m struggling mine say defaults have not been changed after I type the command
false
15387435746353591489
true
Search Help Center
true
true
true
true
true
237
Search
Clear search
Close search
Main menu
false
false