> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.eclean.gg/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Fix "Microsoft Edge can't read and write its data directory"

This error usually means the Microsoft Edge WebView2 Runtime that eclean uses is damaged or cannot write to its data folder. Reinstall the runtime from Microsoft first. If that fails, delete its registration key in the Registry Editor and install it again. eclean needs WebView2 version 125.0.2535.41 or newer.

## Before you start

You need an administrator account. Editing the registry can break Windows if you delete the wrong key, so back it up first. If you are not comfortable with this, contact support.

## Step 1. Try a repair install first

1. Open the Microsoft WebView2 download page at [developer.microsoft.com/microsoft-edge/webview2](https://developer.microsoft.com/microsoft-edge/webview2) and download the **Evergreen Standalone Installer** for your PC (x64).
2. Run it, then start eclean. If it opens, you are done.

If the error remains, continue with the registry steps. They are a community fix, not an official Microsoft procedure.

## Step 2. Open the Registry Editor

1. Press the Windows key and R.
2. Type `regedit` and press Enter.
3. Select **Yes** on the User Account Control prompt. The editor opens with administrator rights.

## Step 3. Back up the WebView2 key

1. Copy this path: `HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}`
2. Paste it into the address bar of the Registry Editor and press Enter.
3. Right-click the key `{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}` and select **Export**.
4. Save the file to your Desktop or Documents.

## Step 4. Delete the key and reinstall

1. Right-click the same key and select **Delete**. Confirm.
2. Close the Registry Editor.
3. Run the WebView2 installer from the same Microsoft page. The Evergreen Bootstrapper needs an internet connection and the Standalone Installer works offline.
4. Restart eclean.

## Related startup messages

If eclean says WebView2 is missing or outdated, see [eclean won't start and shows a startup error](https://help.eclean.gg/en/article/eclean-wont-start-and-shows-a-startup-error-e09c8h/).

## If it still fails

Contact support with your Windows build and the exact message. Use the chat on [help.eclean.gg](https://help.eclean.gg) or email [hello@eclean.gg](mailto:hello@eclean.gg).

## Related articles

- [eclean won't start and shows a startup error](https://help.eclean.gg/en/article/eclean-wont-start-and-shows-a-startup-error-e09c8h/)
- [Whitelisting eclean with your antivirus software](https://help.eclean.gg/en/article/whitelisting-eclean-with-your-antivirus-software-1meqr8j/)