What to do if Microsoft Edge is hijacked

Milan Stanojevic
by Milan Stanojevic
Deputy Editor
Loading Comments
Download PDF
Affiliate Disclosure

microsoft edge hijacked

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

  1. Turn on Airplane mode
  2. Turn off your internet connection
  3. Quickly open a new tab
  4. Open one of your favorites
  5. Clear Edge cache
  6. Create a web shortcut on your desktop
  7. Create a .html file on your Desktop
  8. Perform a Cortana search
  9. Use Ctrl + W shortcut
  10. Delete Microsoft Edge folder from AppData
  11. Use Command Prompt to close Microsoft Edge
  12. Perform winsock reset
  13. Edit hosts file

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.
  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.

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:Usersyour user nameFavorites.
  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.
  5. Select Browsing history, Cookies and saved website data, Cached data and files and click Clear.
  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.
  2. Enter www.google.com or any website address in the input field and press Next.
  3. 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:

  1. Create a new text file using Notepad.
  2. Open the newly created file.</li>
  3. Go to File > Save as.
  4. When the save dialog opens, make sure to set Save as type as All files and enter file.html as the File name.
  5. Click Save.
  6. Run file.html from your desktop. It should open Edge if Edge is set as your default browser.
  7. 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.</p>

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.
  2. When Local AppData folder opens, navigate to the following folder:
    • PackagesMicrosoft.MicrosoftEdge_8wekyb3d8bbweACMicrosoftEdgeUserDefaultRecoveryActive
  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 <strong>Windows Key + X and choose <strong>Command Prompt from the menu.
  2. When Command Prompt starts enter tasklist and press Enter.
  3. You should see a list of all running processes. Locate MicrosoftEdge.exe and find its <strong>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 <str< span=””>ong>Enter to run it. Remember, 9436 is just an example, so make sure to use the correct PID</str<> that corresponds to MicrosoftEdge process on your computer.
  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.
  3. Type netsh winsock resetrong> and press Enter.
  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:WindowsSystem32driversetc.
  3. Make sure to select All filesg> from the menu in the bottom right corner.
  4. Choose hosts and click Open.
  5. At the bottom of the file insert the following:
    • harmfulwebsite.com
  6. Remember to replace harmfulwebsite.com with the actual address of the website that is hijacking Microsoft Edge.
  7. Save changes.<!–li>
  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.


Editor’s Note: This post was originally published in April 2016 and has been since updated for freshness, and accuracy.