Software⏱️ 3 min read📅 2026-06-11

How to Fix: localStorage on Edge produces "An internal error occurred in the Microsoft Internet extensions"

Edge localStorage issue fix, Windows 10, PowerShell, sfc /scannow, CBS.log

Quick Answer: Try removing navigation data or reinstalling Edge with PowerShell command.

The error 'An internal error occurred in the Microsoft Internet extensions' occurs when attempting to use localStorage or entering it in the console, causing Edge to throw an error. This issue affects users who have installedMicrosoft Edge on their system and are experiencing problems with local storage.

This error can be frustrating for developers and users alike, as it prevents them from accessing and storing data locally within a web page. In this guide, we will walk you through the steps to troubleshoot and resolve this issue.

🛑 Root Causes of the Error

  • The primary cause of this error is related to corrupted system files or registry entries that affect the Microsoft Edge browser's functionality. Specifically, the issue may be caused by a duplicate ownership of directories in the SystemApps folder, which can lead to conflicts between different components of the browser.
  • Another possible cause could be related to the Windows Search service (winsock), as resetting it did not solve the problem. However, this should not be considered the primary cause, and further investigation is required.

✅ Best Solutions to Fix It

Resetting Edge with PowerShell

  1. Step 1: Open PowerShell as an administrator and run the following command to reinstall Microsoft Edge: Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)/AppXManifest.xml” -Verbose}. This will reset the browser's package to its default state.
  2. Step 2: Next, run the following command to remove and reinstall Edge: Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Remove-AppxPackage -DisableDevelopmentMode -Force “$($_.InstallLocation)/AppXManifest.xml”}. This will completely remove the existing package and install a new one.
  3. Step 3: After reinstalling Edge, try accessing a page that uses localStorage to see if the issue is resolved.

Resetting System Files with SFC

  1. Step 1: Open Command Prompt as an administrator and run the following command to scan for corrupted system files: sfc /scannow. This will scan all protected system files and replace any that are found to be corrupt or damaged.
  2. Step 2: If the issue persists, try running the command again with the /v option: sfc /scannow /v. This will provide more detailed information about the corrupted files and may help identify the root cause of the problem.

🎯 Final Words

To resolve the 'An internal error occurred in the Microsoft Internet extensions' issue, try resetting Edge with PowerShell by reinstalling the browser and removing and reinstalling its package. If this does not work, attempt resetting system files using SFC to scan for corrupted system files and replace any that are found to be damaged.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions