Homepage of safari is locked and unable to change it

Hello,


My Macbook has been infected by seachpage malware.

After I try to delete it, I found my safari homepage is locked to searchpage.com.

I find many way to change it, but it sill be locked.

Do you have any suggestion to overcome this?


Thank you

User uploaded file

MacBook Pro with Retina display, macOS Sierra (10.12.6)

Posted on Sep 5, 2017 12:55 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 8, 2017 9:21 AM

Go to system preferences / profile and delete the profile "set safari homepage..." using the - (minus) sign down the window. Then you can change the homepage!

41 replies

Sep 24, 2017 2:54 PM in response to Pruthvisena

User uploaded filestevejobsfan0123Sep 24, 2017 2:50 PM in response to Pruthvisena

User uploaded file Level 8 (47,622 points)
User uploaded file


iPhone

Sep 24, 2017 2:50 PM Re: Homepage of safari is locked and unable to change itin response to Pruthvisena

You probably have installed adware. You must remove the adware, THEN remove the profile, and it shouldn't come back. Try doing a scan with the free version of Malwarebytes: http://malwarebytes.org/mac.

Sep 6, 2017 9:39 AM in response to Edwarxh

okay, I've found something.


In this thread https://discussions.apple.com/thread/5651631?answerId=24079497022#24079497022 there's a code line in Terminal that prevents changing the Homepage:

sudo dscl . mcxset /Users/USERNAME com.apple.Safari HomePage always -string "ADDRESS"

I've tried it out changing USERNAME for mine and ADRESS to "www.apple.com" and works properly after restarting the mac.


So if there's an option to block the HomePage adress in Safari, there might be a code line that unlocks it (I'm not a developer so I don't understand almost anything).

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Homepage of safari is locked and unable to change it

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.