Kernel-mode Hardware-enforced Stack Protection is Off [Fix]
Fix this error message by modifying values in your registry
- Kernel-mode hardware-enforced stack protection is off and can be fixed with a BIOS update.
- Adjusting a few values in the registry can remedy this issue on your PC.
Your PC security should be your priority, but many users reported Kernel-mode hardware-enforced stack protection is off message in Windows Defender.
This message can leave your PC vulnerable to malware attacks, so you must fix this problem as soon as possible.
Luckily, there are ways to solve this issue, and in today’s guide, we will show you the best way to fix this.
What is kernel mode hardware-enforced stack protection?
This feature is associated with Local Security Authority Protection, and it’s designed to protect sensitive information, such as your login credentials or encryption keys.
Using this feature, your computer will block untrusted code from running in kernel mode and keep your PC safe.
How can I fix Kernel-mode hardware-enforced stack protection is off error?
Before we start fixing this issue, you might want to do the following:
- Update BIOS – It’s suggested to update BIOS. To fix this error, you need to have BIOS that supports Control-flow Enforcement Technology (CET).
1. Modify the registry
- Press Windows key + R and enter regedit. Press Enter.
- Once the Registry Editor opens, navigate to the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
- In the right pane, locate FeatureSettingsOverride and double-click it.
- If it’s not available, right-click the right pane, choose New, and then select DWORD (32-bit Value). Name the new value FeatureSettingsOverride and double-click it.
- Now change its Value data to 9 and save changes.
- Close Registry Editor and restart your PC.
The KSHSP will now be enabled. If it’s not, do the following:
- Open search and enter cmd. Now select Run as administrator to start Command Prompt.
- Enter the following command:
bcdedit /set {current} nx AlwaysOn
- After doing that, this feature should be enabled.
2. Uninstall the GameGuard and other anti-cheat software
- Press Windows key + X and choose Apps and features.
- Locate the software that you want to uninstall and click the Uninstall button.
- Follow the instructions on the screen to complete the process.
According to users, the issue is GameGuard software that comes with Phantasy Star Online 2. After uninstalling the game, the issue should be gone.
Keep in mind that other anti-cheat applications can cause this issue. Users reported it with Valorant and Vanguard, but after removing the game, the issue was gone.
3. Enable virtualization in BIOS
- Restart your PC and keep pressing F2 or Del to access BIOS.
- Once you enter BIOS head over to CPU overclocking.
- Choose Advanced CPU Settings and enable SVM.
- Go back to Windows and you’ll be able to enable this feature from the Core Isolation settings.
4. Perform an in-place upgrade
Download the ISO file
- Visit Windows 10 download page.
- Click on Download Now in Create Windows 10 installation media section.
- Once the software is downloaded, run it.
- Accept the terms of service.
- Choose the Create installation media (USB flash drive, DVD, or ISO file) for another PC and click Next.
- Make sure the settings match your architecture and language and click Next.
- Choose the ISO file and click Next.
- Set the save location and wait for the software to download it.
Perform the upgrade
- Once the ISO file is downloaded, double-click to mount it.
- A new window will appear. Double-click the setup file to run the installation.
- Follow the instructions on the screen.
- Once you reach Choose what to keep screen, make sure you select Keep Windows settings, personal files, and apps. If this option isn’t available, you’ll lose installed applications and files from the system drive if you proceed.
- The installation process will now start.
After the installation is finished, check if the problem is resolved.
These are just some methods that can fix the Kernel-mode Hardware-enforced Stack Protection is off. Your device may be vulnerable error.
If the problem persists, perhaps you should consider using a third-party antivirus. Many great antivirus solutions for Windows offer better protection than Windows Defender.
Did we miss a solution that worked for you? If so, let us know in the comments section below.
Still experiencing issues?
SPONSORED
If the above suggestions have not solved your problem, your computer may experience more severe Windows troubles. We suggest choosing an all-in-one solution like Fortect to fix problems efficiently. After installation, just click the View&Fix button and then press Start Repair.