Hi Alex_346
Welcome to Microsoft Community.
Based on your description, I understand that your default search engine is Google, but it is constantly changed to Safe Search after booting. I understand your feelings very well!
May I ask that you provide a screenshot of this if you are comfortable with it? Because without screenshots it may not be possible to understand the situation better with just text, thank you very much!
Since you mentioned the PowerShell tab, it reminded me that there may be a script or third-party process that runs automatically in PowerShell that causes this to happen repeatedly.
I will give you some solutions and hopefully it will solve your problem successfully! However, this first reply may not be able to solve your problem due to the lack of information and the fact that it requires different aspects of troubleshooting, so please understand and provide me with more information (pictures would be great!) in your reply. Thank you very much!
Option 1: Please try creating a new local administrator user account and logging in first to see if you still experience the problem assuming we use a different user.
Click “Windows Logo Key” to open the search bar -> Type “cmd” in the search bar and open it with administrator privileges -> Please enter the following commands
net user USERNAME PASSWORD /add
net localgroup administrators USERNAME /add
Please note: USERNAME PASSWORD can be replaced with your preferred account name and password, if you don't need a password you can leave out the PASSWORD.
Option 2: Please check your startup programs to see if there are any scripts or applications that start up automatically.
(1) “Windows Logo Key + R” open “Run” -> type “shell:startup” and open it -> in the startup folder, check if there are some scripts like PowerShell or suspicious applications. If there are, you can try to remove them.
(2) Then check the Task Manager for any suspicious or unknown startup programs.
“Ctrl + Shift + Esc” to open Task Manager -> select ‘Startup apps’ tab -> check if there are any suspicious or unknown startup apps. If there are, please try to disable or uninstall them.
Option 3: Please try to start your computer cleanly. Since Clean Start uses only a limited set of files, drivers and services, it is suspicious and effective in troubleshooting the possibility of problems caused by third-party applications, drivers, third-party services.
You can refer to Clean Boot: How to perform a clean boot in Windows - Microsoft Support
After a clean boot, please scroll down to the page after the link to find “How to determine what is causing the problem after you do a clean boot”, which is a dichotomy that helps us to locate the service that is causing the problem.
Disclaimer: A “clean boot” starts Windows with a minimal set of drivers and startup programs. It helps to determine whether a background service is interfering with your game or program and to isolate the cause of a problem. These steps of "clean boot" might look complicated at first glance. However, to avoid any trouble for you, please follow them in order and step-by step so that it will help you get back on track.
Option 4: Please try to use different browsers with different kernels to see if the default search engine is tampered with for safe searches.
This will help us to further determine if the tampering may be due to malware, viruses, etc.
You can try Edge and Firefox, or Chrome and Firefox.
Edge and Chrome use the same version of the same type of kernel, so it is more scientific for us to try testing with browsers with different kernels.
I sincerely hope that the above solution will solve your problem. Please feel free to contact me if you have any problems or still can't solve them. (Photos related to the question would be great!).
I look forward to hearing back from you.
Best Regards
Arthur Sheng | Microsoft Community Support Specialist