Skip to content

Fix Aw, Snap! STATUS_INVALID_IMAGE_HASH Error in Chrome

A Chrome or Edge tab suddenly shows Aw, Snap! and says the executable image hash is invalid. The website usually isn't the problem. The browser can't start its own renderer process, so clearing cookies or site data changes nothing.

Update the affected browser and restart it first, then work through the Windows policy, shortcut, rename, and compatibility tests in order. Reinstall only if those checks fail.

In this guide, I have covered:

Why Chrome shows Aw, Snap! with an invalid image hash

Your tab disappears and Chrome replaces it with “Aw, Snap!” plus a code you never asked for. That code, STATUS_INVALID_IMAGE_HASH, means the browser’s code integrity check rejected the executable image it was asked to run. The site is probably fine. The Chromium renderer cannot start.

Here, “image” means the browser program file on disk, not a photo or video on the page. Clearing site data or changing a streaming site’s playback settings will not repair a failed executable hash check.

Chrome STATUS_INVALID_IMAGE_HASH error

note icon

Before changing Windows settings: Start with the basic browser troubleshoots and one full restart of Chrome or Edge. That clears stale browser processes before you test anything deeper.

Confirm the error before changing Windows settings

Before you touch Windows settings, confirm you are chasing the right error. Read the code on the crashed page exactly, and check whether the failure follows the browser or one website. These checks separate a temporary renderer crash from a damaged installation.

  1. Open a different site in the same browser.
  2. Open the failing site in another browser.
  3. Restart the affected browser completely.
  4. Open the failing site again.

Chrome may show a different code instead: RESULT_CODE_MISSING_DATA. That one has its own fix, so use the Fix: RESULT_CODE_MISSING_DATA error in Chrome browser guide. Don’t apply the code integrity changes below to a different error code.

A private-connection warning is a different problem entirely. That certificate error has nothing to do with renderer code integrity, so use the related guide below.

Update Chrome before applying Windows workarounds

Your first real fix is the boring one: finish the update. A Chrome update can replace a damaged executable and restore files that no longer match the installed browser version. If the error started right after an update, complete that update before you change any code integrity setting.

  1. Launch the Google Chrome on your computer.
  2. Click on More vertical 3dots icon for the options list, and select the Settings menu. Google Chrome Settings options
  3. Switch to the About Chrome tab in the left sidebar pane.
    update Chrome browserThe browser should automatically start looking for the latest updates.
  4. Hit on the Relaunch button.
    Google Chrome Update to Latest Version with Relaunch button on computerIt will complete the Chrome browser update process.

You’ll know it worked when the page that failed opens after Chrome restarts. If it loads, the normal installation repaired the error and no Windows changes are needed.

If Chrome shows DNS_PROBE_POSSIBLE rather than the hash code, use the Fix DNS_PROBE_POSSIBLE Error in Chrome guide. A DNS lookup failure is a separate network problem, so changing renderer code integrity will not fix it.

Update Microsoft Edge if Edge shows the error

Same crash, different browser? Edge ships with its own updater and its own policy path, so repairing Chrome does nothing for it. Updating Edge is the safest next check when the hash error appears there.

  1. Launch Microsoft Edge on your computer system.
  2. Click on the More horizontal 3-dots icon for the menu list, and select the Settings menu.
    Edge computer browser Settings menu
  3. Switch to the About Microsoft Edge tab from the left side pane.
    About Microsoft Edge Settings page for Edge UpdateThe Edge will automatically start checking for updates and installs, if any are available.
  4. Finally, hit the Relaunch button if available after the (major) update.
    Edge browser will be updated to the latest version.

You’ll know it worked when the failed page loads after Edge restarts. If it does, skip the Edge policy and executable steps entirely.

Close every Chrome process before editing its policy

Windows keeps Chrome renderer processes alive after the last window closes. Add a policy while those processes are still running and the next launch can behave as though nothing changed. End them first.

  1. Open Task Manager on Windows.
  2. Right-click each Google Chrome process in the list.
  3. Click End task. Chrome Processes End Task

You’ll know it worked when Task Manager shows no Google Chrome processes. If you are repairing Edge, exit Edge from its menu and confirm that its processes have ended before continuing.

Disable renderer code integrity for Chrome with a Windows policy

Still failing on a current Chrome build? Then test whether the renderer code integrity check is the cause. The policy below turns that check off for Chrome on this computer, and it stays off until you delete the registry value.

  1. Click the Windows Search box.
  2. Type cmd.
  3. Select Command Prompt from the search results.
  4. Select Run as administrator.
    Windows Command Prompt Run as administrator
  5. Paste the following command into Command Prompt.
  6. Press Enter.
    REG ADD "HKLM\Software\Policies\Google\Chrome" /v RendererCodeIntegrityEnabled /t REG_DWORD /d 0

    Add Chrome registry key in Windows Command Prompt

  7. Close Command Prompt.
  8. Start Chrome.
  9. Open the page that displayed Aw, Snap!.

You’ll know it worked when that page loads normally. That result means Chrome’s renderer code integrity check was rejecting the installed executable.

Use the Edge policy path

Edge stores its policy in a different registry location, so the Chrome command never touches it. Open Command Prompt as administrator again and run this one instead:

REG ADD "HKLM\Software\Policies\Microsoft\Edge" /v RendererCodeIntegrityEnabled /t REG_DWORD /d 0
  1. Paste the Edge command into Command Prompt.
  2. Press Enter.
  3. Close Command Prompt.
  4. Start Edge.
  5. Open the page that displayed Aw, Snap!.

You’ll know it worked when Edge opens the failed page normally. That confirms Edge’s code integrity check was the problem.

note icon

Security note: This setting disables a browser integrity check. Remove it after testing instead of leaving Chrome or Edge with code integrity disabled.

Restore the integrity setting after testing

A diagnostic that stays switched on is just a new problem. Run the deletion command for the browser you changed:

REG DELETE "HKLM\Software\Policies\Google\Chrome" /v RendererCodeIntegrityEnabled /f

For Edge, use Microsoft\Edge in place of Google\Chrome.

  1. Open Command Prompt with administrator access.
  2. Run the deletion command for the affected browser.
  3. Close Command Prompt.
  4. Restart the affected browser.

You’ll know it worked when the policy value is gone and the browser is back to its normal integrity checks. If the error returns at that point, the executable itself is the problem, so move on to the shortcut and rename tests below.

Launch Chrome with a temporary code integrity bypass

If a managed Windows policy blocks your registry command, test the browser executable through a dedicated shortcut instead. The switch affects only launches made from that shortcut, which makes it a clean way to confirm the cause.

  1. Right-click the Google Chrome shortcut you use.
  2. Select Properties.
    Google Chrome properties in Windows
  3. Click the Target field.
  4. Press End.
  5. Press Space.
  6. Type --disable-features=RendererCodeIntegrity at the end of the field.
    Disable code integrity in Chrome through the Target field
  7. Click Apply.
  8. Click Continue in the confirmation prompt.
  9. Click OK.
  10. Start Chrome from the modified shortcut.
  11. Open the page that displayed Aw, Snap!.

If the page opens from the modified shortcut, the executable failed the normal integrity check. Remove the appended switch from the Target field when the test is finished.

Microsoft Edge uses the same shortcut method. Add the switch to the Edge shortcut’s Target field instead.

Rename the browser executable for a one-time test

You have confirmed an executable hash problem and the registry is off-limits. Renaming the actual executable can get around a stale hash check without touching policy. Treat it as the last local change before a reinstall.

  1. Close Chrome or Edge.
  2. Open File Explorer.
  3. Open the browser installation folder: C:\Program Files\Google\Chrome\Application for Chrome or C:\Program Files (x86)\Microsoft\Edge\Application for Edge.
  4. Locate chrome.exe or msedge.exe.
  5. Right-click the executable file.
  6. Select Rename.
  7. Type a different valid filename, such as chrome-test.exe or msedge-test.exe.
    Rename the msedge.exe browser file
  8. Confirm the extension change.
  9. Approve the administrator request if Windows displays one.
  10. Double-click the renamed executable.
  11. Open the page that displayed Aw, Snap!.

If the renamed copy opens without Aw, Snap!, the original file was tied to the invalid hash. Restore the original filename before installing a browser update.

note icon

If Windows blocks the rename, do not force ownership or permission changes. Continue with a clean reinstall instead.

Test the executable in Windows compatibility mode

Sometimes the renamed copy behaves differently, and that points at how Windows launches the browser rather than the file itself. Compatibility mode is another temporary test. It can affect program behavior, so remove it once you have your answer.

  1. Locate chrome.exe or msedge.exe in the browser installation folder.
  2. Right-click the executable file.
  3. Select Properties.
  4. Open the Compatibility tab.
    Run compatibility mode in Windows
  5. Enable Run this program in compatibility mode.
  6. Choose Windows 8 or Windows 10, if either is available.
  7. Click Apply.
  8. Click OK.
  9. Launch the browser from the modified executable.
  10. Open the page that displayed Aw, Snap!.

If the page loads in compatibility mode, uncheck Run this program in compatibility mode after testing so current browser updates and Windows features are not affected.

Reinstall the browser if the executable still fails

Nothing above worked, so the files on disk are damaged or blocked in a way settings won’t unpick. A fresh installation replaces them. It is the final option because a complete reset can take profile data and extensions with it.

note icon

Before resetting Chrome: Back up bookmarks, passwords, and other profile data you do not want to lose.

For Chrome on Windows, use this clean reinstall sequence:

  1. Uninstall Chrome through Settings settings gear icon → Apps → Installed apps.
  2. If the profile folder remains at %LOCALAPPDATA%GoogleChromeUser Data, delete it manually.
  3. Restart Windows.
  4. Download a fresh copy of Chrome and install it.
  5. Set Chrome as your default browser, then set your default search engine again.

You’ll know it worked when the first launch comes up with a fresh profile and the failing page opens without Aw, Snap!.

If Chrome is installed on another device, the reinstalling your Chrome browser guide covers the wider reinstall process.

If Edge is the affected browser, use the Microsoft Edge browser reinstall guide after backing up your profile data.

Frequently Asked Questions

What does STATUS_INVALID_IMAGE_HASH mean in Chrome?

It means Chrome’s code integrity check rejected the executable image before the page could render. The problem sits in the browser’s Windows installation or configuration, not in the website.

Can I fix Aw, Snap! in Microsoft Edge?

Yes. Update Edge first, then use Edge’s separate policy path or apply the executable tests to msedge.exe. The Chrome policy under Google\Chrome does not control Edge.

Is it safe to disable Chrome’s renderer code integrity?

Not as a permanent setting. It removes a browser security check, so use the policy or shortcut bypass only for diagnosis and remove the change afterward.

Do I need to rename chrome.exe or msedge.exe?

Usually not. Update or reinstall the browser first, and reserve renaming and compatibility mode for a remaining Windows executable problem.

Why does Aw, Snap! appear on streaming websites?

The site triggers a browser renderer process, and that process fails the executable hash check. Another browser may open the site normally, which is why testing outside the affected browser is useful.

Please share the article if you find it helpful:

Disclosure: This page may contain affiliate links, which means we may receive compensation for your purchases; of course at no extra cost to you (indeed, you may get special discounts).
Kushal Azza

Kushal Azza

Kushal Azza has worked in digital analytics for 14 years. He co-founded SolvyOne Digital and is building WPAQ.com, a website audit tool. He writes about measurement, AI, workflows and building products. Follow him on X/Twitter and LinkedIn.

26 comments and feedback

  1. thank you! using cmd run as admin + the
    REG ADD “HKLM\Software\Policies\Google\Chrome” /v RendererCodeIntegrityEnabled /t REG_DWORD /d 0
    resolved the issue.

  2. Ahh thank you so much

    The first two methods didn’t work for me and I had lost all hope. But I went to properties of the browser and ran compatibility troubleshooter before applying your suggestion and the troubleshooters solved the issue.

Leave a thought or feedback

Please leave a descriptive comment or feedback with your real name. Our human moderator vets every comment, and it may take 24 to 48 hours to get published or rejected.
Your email address will not be published, and we will never spam your inbox. Required fields are marked *