What to do if Microsoft Edge is hijacked

By: Milan Stanojevic
7 minute read

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

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:

  1. Open Edge and click more icon in the top left. Choose Settings from the menu.more-settings
  2. In the Open with section choose A specific page or page, select Custom from the menu and enter the address of that page.
    specific-page
  3. 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.
    add-specific-page

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.

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:

  1. Go to C:\Users\your user name\Favorites.
  2. In the Favorites folder you should see some of your websites. Double-click any of them and it should open in Microsoft Edge.
  3. 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:

  1. 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.
  2. Close the problematic tab.
  3. Click the More icon in the top right corner and choose Settings from the menu.
  4. Scroll down to Clear browsing data section and click Choose what to clear.
    clear-edge
  5. Select Browsing history, Cookies and saved website data, Cached data and files and click Clear.
    clear-browsing-data
  6. 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:

  1. Right-click your Desktop and choose New > Shortcut.
    new-shortcut
  2. Enter www.google.com or any website address in the input field and press Next.
    create-shortcut
  3. Now enter the name of your shortcut and click Finish.
    create-shortcut-2

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:

  1. Create a new text file using Notepad.

  2. For various PC problems, we recommend this tool.

    This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

    1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
    2. Click “Start Scan” to find Windows issues that could be causing PC problems.
    3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

  3. Open the newly created file.
  4. Go to File > Save as.
    save-as
  5. When the save dialog opens, make sure to set Save as type as All files and enter file.html as the File name.
    save-html
  6. Click Save.
  7. Run file.html from your desktop. It should open Edge if Edge is set as your default browser.
  8. 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:

  1. Press Windows Key + R and type %localappdata%. Press Enter or click OK.
    localappdata-run
  2. When Local AppData folder opens, navigate to the following folder:
    • Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\MicrosoftEdge\User\Default\Recovery\Active
  3. 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:

  1. Press Windows Key + X and choose Command Prompt from the menu.
    command-prompt-start-menu
  2. When Command Prompt starts enter tasklist and press Enter.
    cmd-tasklist
  3. 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.
  4. 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.
    taskkill-cmd
  5. 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

  1. Make sure Microsoft Edge isn’t running.
  2. Press Windows Key + X and choose Command Prompt (Admin) from the menu.
    command-prompt-admin
  3. Type netsh winsock reset and press Enter.
    cmd-netsh-winsock-reset
  4. 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:

  1. Open Notepad and choose File > Open.
  2. Navigate to C:\Windows\System32\drivers\etc.
  3. Make sure to select All files from the menu in the bottom right corner.
    all-files
  4. Choose hosts and click Open.
  5. At the bottom of the file insert the following:
    • 127.0.0.1 harmfulwebsite.com
  6. Remember to replace harmfulwebsite.com with the actual address of the website that is hijacking Microsoft Edge.
  7. Save changes.
  8. Open Edge and close the problematic tab.
  9. 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.

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Discussions

Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading