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

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.
- Open a different site in the same browser.
- Open the failing site in another browser.
- Restart the affected browser completely.
- 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.
- Launch the Google Chrome on your computer.
- Click on More
for the options list, and select the Settings menu. 
- Switch to the About Chrome tab in the left sidebar pane.
The browser should automatically start looking for the latest updates. - Hit on the button.
It 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.
- Launch Microsoft Edge on your computer system.
- Click on the More
for the menu list, and select the Settings menu.
- Switch to the About Microsoft Edge tab from the left side pane.
The Edge will automatically start checking for updates and installs, if any are available. - Finally, hit the 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.
- Open Task Manager on Windows.
- Right-click each Google Chrome process in the list.
- Click .

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.
- Click the Windows Search box.
- Type cmd.
- Select Command Prompt from the search results.
- Select Run as administrator.

- Paste the following command into Command Prompt.
- Press .
REG ADD "HKLM\Software\Policies\Google\Chrome" /v RendererCodeIntegrityEnabled /t REG_DWORD /d 0

- Close Command Prompt.
- Start Chrome.
- 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
- Paste the Edge command into Command Prompt.
- Press .
- Close Command Prompt.
- Start Edge.
- 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.
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.
- Open Command Prompt with administrator access.
- Run the deletion command for the affected browser.
- Close Command Prompt.
- 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.
- Right-click the Google Chrome shortcut you use.
- Select Properties.

- Click the Target field.
- Press .
- Press .
- Type --disable-features=RendererCodeIntegrity at the end of the field.

- Click .
- Click in the confirmation prompt.
- Click .
- Start Chrome from the modified shortcut.
- 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.
- Close Chrome or Edge.
- Open File Explorer.
- Open the browser installation folder: C:\Program Files\Google\Chrome\Application for Chrome or C:\Program Files (x86)\Microsoft\Edge\Application for Edge.
- Locate chrome.exe or msedge.exe.
- Right-click the executable file.
- Select Rename.
- Type a different valid filename, such as chrome-test.exe or msedge-test.exe.

- Confirm the extension change.
- Approve the administrator request if Windows displays one.
- Double-click the renamed executable.
- 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.
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.
- Locate chrome.exe or msedge.exe in the browser installation folder.
- Right-click the executable file.
- Select Properties.
- Open the Compatibility tab.

- Enable Run this program in compatibility mode.
- Choose Windows 8 or Windows 10, if either is available.
- Click .
- Click .
- Launch the browser from the modified executable.
- 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.
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:
- Uninstall Chrome through Settings
→ Apps → Installed apps. - If the profile folder remains at %LOCALAPPDATA%GoogleChromeUser Data, delete it manually.
- Restart Windows.
- Download a fresh copy of Chrome and install it.
- 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.

Great thread just wish I read it through properly the first time.
After trying these ideas I thought running in compatablity mode was my only work around but it’s a pita as every time I close the browser I had to set Compatability again.
Whats Frustrating most this only occured today, never had an issue with Brave since I installed it a couple of years ago. So wasting 4 hours on this now Ive just about given up but I thought I should have another look at this page. Thats when I tried the name changing bit and WTF, it works,
thanks heaps mate you saved my ass, just one point if I can. When I changed the name it also changed the desktop icon to a white sqaure so I deleted that and went back to the new name exe file and created a desktop icon from it and now its all sweet. Cheers buddy
Was stuck with this issue for long time.
It helped.
Thank you.
Thank you!!
The –disable-features=RendererCodelntegrity option worked. Like a Boss!
Thanks sooo Soo much, was already panicking
Thank you!
Does the code integrity feature need to be re-enabled at some point? Are there vulnerabilities with its being disabled?
yes, please enable code integrity once you no longer have the STATUS_INVALID_IMAGE_HASH error.
Nice, It Work. I have a problem with Microsoft Edge, after renaming it msedge.exe problem solved. I don’t know how, but it working and I’m happy.
Glad it helped!
Both worked for me. Thank you, very much!
Thank you. You are the greatest of All time. Trust me. i had lost total patience and faith. How i wish i can send you a token of appreciation
Thank you !!
I did both ways for the chrome browser and did not work I am not sure if I did it right now not
That really helped!!! thank you…