Skip to content


The error is caused by an invalid executable file image security hash you usually see while browsing the Internet or on video streaming websites.

To fix the STATUS_INVALID_IMAGE_HASH issue, we can modify the Registry Key using the command prompt, turn off the code integrity feature, rename the executable file, and adjust the compatibility settings on your system.


info icon
Note: Before following these methods, please try the basic browser troubleshoots and restart your Chrome or Edge browser, as most of these errors may go away automatically after a simple restart.

Method 1: Modify Browser’s Registry Key

Though you can add the key using the Registry Editor, it is easier to do so in the command prompt than in the Registry Editor. However, before that, ensure that Google Chrome is not running in the background. You can launch the Task Manager and cross-check for the same.

  1. Windows search bar, type cmd, and search for it.
  2. Select the command prompt and click the Run as Administrator option to run it as an Admin.
    Windows Command Prompt Run as administrator
  3. Type the following command and press the Enter button on your keyboard to enter the Retry Key.
    REG ADD “HKLM\Software\Policies\Google\Chrome” /v RendererCodeIntegrityEnabled /t REG_DWORD /d 0

    Add Registry Key in Chrome Browser on Window

Once the process is complete, close the command prompt and launch Google Chrome to check whether the error has been fixed.

Similarly, you can modify the registry key in the Microsoft Edge browser. Just replace the path of Google Chrome’s HKEY_LOCAL_MACHINE with Microsoft Edge HKLM.

Method 2: Launch Executable File with Disabled Code Integrity

To resolve the issue, we need to turn off the integrity feature in Chrome. Here are the steps to turn off the code integrity feature:

  1. Right-click on the Google Chrome shortcut icon.
  2. Select Properties from the quick menu.
    Google Chrome Properties in Windows OS
  3. Click in the input field beside the Target label.Disable Code Integrity in Chrome on Target Properties
  4. Now, after the chrome.exe” section, press on the Spacebar to add a space.
  5. Type or paste the following code mentioned below:
  6. After that, click on the Apply button.
  7. Click the Continue button in the prompt to confirm the settings.
  8. Close it by clicking the OK button.

Now, launch Google Chrome and check if the error has been resolved. Similarly, you can also edit the Edge browser properties to turn off code integrity.

Method 3: Renaming Browser’s Executable File

It was a weird solution at first, but it worked for most users. To do this, you must rename the Edge application. It can already be named msedge.exe, but you can name it again and try to see whether it works. You must first locate the Edge executable file.

  1. Open up the File Explorer.
  2. Go to This PC > Local Disk(C:) > Programs files(x86) > Edge > Application.
  3. In the application directory, right-click on the Edge executable file.
  4. Select Rename, then name it to msedge.exe.
    Rename msedge.exe browser file

Similarly, you can locate the Google Chrome executable file, rename it to anything that you wish, and open the same file.

Method 4: Changing the Compatibility Settings in Properties

If none of the other methods work, try changing the compatibility settings of Chrome and Edge and check if it resolves the issue. Here are the steps to change the compatibility settings:

  1. Locate the Chrome and Edge executable file in C:\.
  2. Then right-click on it and select Properties.
  3. Now, in the properties window, go to the Compatibility tab.
    Run Compatibility mode in Windows OS
  4. Enable the check box to Run this program in compatibility mode for option.
  5. Select Windows 7, 8, or 10 from the drop-down and confirm it.
  6. Hit the Apply button, select OK.

Relaunch Chrome and Edge and see if the error is fixed. If not, try other compatibility options.

Bottom Line

Modifying the registry key is a permanent solution to this problem; you won’t see this error again. But if the error still appears, you can follow the other troubleshooting methods mentioned above.

If none of the above works, try reinstalling your Chrome browser or Microsoft Edge browser to see if it works.

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 is a Google Certified Analytics & IT Professional, Digital Content Creator, and Go-To Digital Marketer with an Engineering Degree. He has over a decade of experience solving tech problems, troubleshooting, and innovating digital solutions. Follow him on Twitter and LinkedIn.

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

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 *