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.
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.
In this guide, I have shared written instruction about:
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.
- Windows search bar, type cmd, and search for it.
- Select the command prompt and click the Run as Administrator option to run it as an Admin.
- Type the following command and press the
REG ADD “HKLM\Software\Policies\Google\Chrome” /v RendererCodeIntegrityEnabled /t REG_DWORD /d 0
button on your keyboard to enter the Retry Key.
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:
- Right-click on the Google Chrome shortcut icon.
- Select Properties from the quick menu.
- Click in the input field beside the Target label.
- Now, after the chrome.exe” section, press on the to add a space.
- Type or paste the following code mentioned below:
--disable-features=RendererCodelntegrity
- After that, click on the button.
- Click the button in the prompt to confirm the settings.
- Close it by clicking the 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.
- Open up the File Explorer.
- Go to This PC > Local Disk(C:) > Programs files(x86) > Edge > Application.
- In the application directory, right-click on the Edge executable file.
- Select Rename, then name it to msedge.exe.
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:
- Locate the Chrome and Edge executable file in C:\.
- Then right-click on it and select Properties.
- Now, in the properties window, go to the Compatibility tab.
- Enable the check box to Run this program in compatibility mode for option.
- Select Windows 7, 8, or 10 from the drop-down and confirm it.
- Hit the button, select .
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.
Lastly, if you've any thoughts or feedback, then feel free to drop in below comment box. You can also report the outdated information.
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.
Thanks a lot for this info, the first step using command prompt worked 100% immediately
thanks, strange but it worked after renaming both browsers chrome and edge
thank you so muchhhhhh
Can the administrator do something to make an this error happen?
Brilliant! really worked for msedge! thank you!
Wow, rename works! but how can the shortcut still find it???
This trick didn’t work. Is there anything else that I can do to fix this?
Thank you so much dude.
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.