Windows 10 brought us a new browser called Microsoft Edge and for the most part, users are quite pleased with it. Unfortunately, some users reported that Microsoft Edge has been hijacked by a malicious website. While this might seem like a major security problem, in fact, it’s quite easy to fix.
Usually, when Microsoft Edge is hijacked, you’ll see the same page every time you open Edge. That page usually comes with an error message that asks you to call a certain number in order to fix the security problem.
This is just a scam — your computer isn’t infected by a virus or malware despite what the error message says. This message appears because you’re stuck on a scam website but you can easily fix this problem by following one of our solutions.
We strongly recommend securing your browser from the start with a full-dedicated VPN tool. Get now CyberGhost VPN (77% flash sale), for enhanced security. It protects your PC from attacks while browsing, masks your IP address and blocks all unwanted access.
Fix Microsoft Edge Has Been Hijacked
Solution 1 – Turn on Airplane mode
If Microsoft Edge is hijacked, try turning on Airplane mode. To turn airplane mode on, click the network icon in the Taskbar and choose Airplane mode from the menu. Once Airplane mode is enabled, open Microsoft Edge and close the tab. Close Microsoft Edge, turn off Airplane mode and everything should be back to normal.
Solution 2 – Turn off your internet connection
To fix the problem with hijacked Microsoft Edge, you can also just turn your internet connection off. After you’ve disabled your internet connection, open Edge and close that website. Once you’re done, turn on your internet connection and the problem should be fixed.
In addition to closing that tab, a few users recommend changing your start page. To change your start page, do the following:
- Open Edge and click more icon in the top left. Choose Settings from the menu.
- In the Open with section choose A specific page or page, select Custom from the menu and enter the address of that page.
- Click the plus button and your new start page should be added. If you have more than one page on this list, you might have to drag your recently added website to the top of the list or remove all other websites.
Solution 3 – Quickly open a new tab
In order to fix this problem, users are advising to quickly open a new tab before the error message appears. To do that, make sure to press New Tab button as fast as you can when Microsoft Edge starts. If you manage to open a new tab, you can easily close the malicious tab that is giving you the error message.
- READ ALSO: Fix: Microsoft Edge is Slow on Windows 10
Solution 4 – Open one of your favorites
Microsoft Edge will display you the same message every time you open it, but you can fix this error by opening one of your favorites. To do that, follow these steps:
- Go to C:\Users\your user name\Favorites.
- In the Favorites folder you should see some of your websites. Double-click any of them and it should open in Microsoft Edge.
- Now just close the problematic tab and the issue should be fixed permanently.
If you don’t have any favorites, you can just open any other file in Edge, an image or a PDF for example, and close the problematic tab.
Solution 5 – Clear Edge cache
In order to remove the problematic tab, you might have to clear Edge’s cache. To do that, follow these steps:
- Start Edge and keep pressing Ctrl + T to open a new tab. If you manage to do so successfully, the error message shouldn’t appear. You might have to try this a couple of times before you manage to do it properly.
- Close the problematic tab.
- Click the More icon in the top right corner and choose Settings from the menu.
- Scroll down to Clear browsing data section and click Choose what to clear.
- Select Browsing history, Cookies and saved website data, Cached data and files and click Clear.
- After the browsing data is cleared, restart Edge and your problem should be fixed.
Solution 6 – Create a web shortcut on your desktop
If Microsoft Edge is hijacked by a malicious website, you could just open a new website from a shortcut. In order to do that, follow these steps:
- Right-click your Desktop and choose New > Shortcut.
- Enter www.google.com or any website address in the input field and press Next.
- Now enter the name of your shortcut and click Finish.
After you’ve created the shortcut, just double-click it and it should open Microsoft Edge in a new window and allow you to close the problematic tab.
Solution 7 – Create a .html file on your Desktop
To fix the problem with hijacked Microsoft Edge, you can also create a .html file on your Desktop and run it. To do that follow these steps:
- Create a new text file using Notepad.
- Open the newly created file.
- Go to File > Save as.
- When the save dialog opens, make sure to set Save as type as All files and enter file.html as the File name.
- Click Save.
- Run file.html from your desktop. It should open Edge if Edge is set as your default browser.
- When Edge opens, close the problematic tab and the problem should be fixed.
Solution 8 – Perform a Cortana search
A Cortana search can also do the trick: after searching for anything on the web with Cortana, open the search results in Edge. A new tab should be open with your search results and allow you to close the problematic tab.
Solution 9 – Use Ctrl + W shortcut
Try using the Ctrl + W shortcut. In order to do this, you’ll have to quickly press Enter to close down the notification and then press Ctrl + W to close the malicious tab. This can be a bit tricky to perform, so you might have to try it a few times.
Some users also suggest pressing the Esc key for about 15-30 seconds before the notification window disappears completely. We’re not certain if pressing Esc key fixes the issue, but it’s worth trying out.
Solution 10 – Delete Microsoft Edge folder from AppData
If the problem with a hijacked Microsoft Edge persists, you might want to delete Microsoft Edge data from AppData folder. In order to remove this folder, just follow these steps:
- Press Windows Key + R and type %localappdata%. Press Enter or click OK.
- When Local AppData folder opens, navigate to the following folder:
- Delete all the files from Active folder and check if the problem is fixed.
Solution 11 – Use Command Prompt to close Microsoft Edge
Few users suggest that you can fix the problem with hijacked Microsoft Edge by closing it using Command Prompt. To do that, follow these instructions:
- Press Windows Key + X and choose Command Prompt from the menu.
- When Command Prompt starts enter tasklist and press Enter.
- You should see a list of all running processes. Locate MicrosoftEdge.exe and find its PID. In our example, the PID was 9436, but we have to mention that you’ll most likely get a different number.
- Enter taskkill /f /pid 9436 and press Enter to run it. Remember, 9436 is just an example, so make sure to use the correct PID that corresponds to MicrosoftEdge process on your computer.
- If you did everything right, Microsof Edge should close. Now start Microsoft Edge again and check if the issue is resolved.
Solution 12 – Perform winsock reset
- Make sure Microsoft Edge isn’t running.
- Press Windows Key + X and choose Command Prompt (Admin) from the menu.
- Type netsh winsock reset and press Enter.
- Restart your computer and check if the problem is resolved.
Solution 13 – Edit hosts file
To complete your solution, you’ll need to memorize the name of the website that hijacks Microsoft Edge. We’ll use harmfulwebsite.com as an example, but you need to make sure to use the proper web address. To edit hosts files, do the following:
- Open Notepad and choose File > Open.
- Navigate to C:\Windows\System32\drivers\etc.
- Make sure to select All files from the menu in the bottom right corner.
- Choose hosts and click Open.
- At the bottom of the file insert the following:
- 127.0.0.1 harmfulwebsite.com
- Remember to replace harmfulwebsite.com with the actual address of the website that is hijacking Microsoft Edge.
- Save changes.
- Open Edge and close the problematic tab.
- Optional: If the issue is fixed, remove the changes you made to the hosts file.
As you can see, this isn’t as serious problem as you first thought and in most cases, you can fix it just by turning off your internet connection and closing the problematic website. These scams aren’t uncommon and we’ve already covered how to fix system32.exe failure error, so if you need more information feel free to check that article out.
We recommend you to download this tool to fix various PC problems, such as malware but also file loss and hardware failure.
- READ ALSO: Fix: Windows 10 Can’t Connect To Router