Overview
This guide explains how to fix the Unhandled exception error in Windows 10 when all the other solutions don’t work.
Run the game in Windows XP compatibility mode
Before trying more “heavy” solutions, let’s try with the simple things.
- Right click gta-vc.exe, and click Properties.
Also see, if needed: Steam – Game folder location (Windows) (video NOT by me) - Reach the compatibility tab
- Click on Change settings for all users
- Set compatibility mode to Windows XP (Service Pack 2)
- Skip this step. If the game won’t run, please come back and follow this step as well: check “Run this program as an Administrator”
- Click OK on all dialogs
- Do the same things with testapp.exe
Set DEP properly
A wrong DEP configuration might prevent the game from running.
- First of all, open an Administrator Command Prompt[www.howtogeek.com]
- Enter the following command:
bcdedit /set nx OptOut
- Reboot your system
- Now, if you haven’t done it already, please add gta-vc.exe and testapp.exe to your DEP exceptions[www.gfi.com] and reboot your computer.
Also see, if needed: Steam – Game folder location (Windows) (video NOT by me)
Disable Process Mitigations
If you still have the error after setting DEP properly, you might need to disable Process Mitigations.
- Open an Administrator PowerShell prompt.[www.thewindowsclub.com]
- Use the Set-ProcessMitigation[docs.microsoft.com] PowerShell command to disable Process Mitigations. Run the following command (copy and paste! Use right click in the PowerShell window to paste!):
Set-ProcessMitigation -System -Disable DEP,EmulateAtlThunks,ForceRelocateImages,RequireInfo,BottomUp,HighEntropy,StrictHandle,DisableWin32kSystemCalls,AuditSystemCall,DisableExtensionPoints,BlockDynamicCode,AllowThreadsToOptOut,AuditDynamicCode,CFG,SuppressExports,StrictCFG,MicrosoftSignedOnly,AllowStoreSignedBinaries,AuditMicrosoftSigned,AuditStoreSigned,EnforceModuleDependencySigning,DisableNonSystemFonts,AuditFont,BlockRemoteImageLoads,BlockLowLabelImageLoads,PreferSystem32,AuditRemoteImageLoads,AuditLowLabelImageLoads,AuditPreferSystem32,EnableExportAddressFilter,AuditEnableExportAddressFilter,EnableExportAddressFilterPlus,AuditEnableExportAddressFilterPlus,EnableImportAddressFilter,AuditEnableImportAddressFilter,EnableRopStackPivot,AuditEnableRopStackPivot,EnableRopCallerCheck,AuditEnableRopCallerCheck,EnableRopSimExec,AuditEnableRopSimExec,SEHOP,AuditSEHOP,SEHOPTelemetry,TerminateOnError,DisallowChildProcessCreation,AuditChildProcess
- Reboot the system and try again.
Disable Meltdown and Spectre fixes
Nothing works? Try disabling Meltdown and Spectre fixes.
Warning! Disabling these fixes might expose your system to some security threats! Do this at your own risk.
- Open the Registry Editor as Administrator[www.lifewire.com]
- Reach the following path:
ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management
- On the right side, create the following DWORD (32-bit): FeatureSettingsOverride
- Still on the right side, now create the following DWORD (32-bit): FeatureSettingsOverrideMask
- Double click both values and set them to 3
- Reboot your computer and try again