Kernel-mode Hardware-enforced Stack Protection is Off [Fix]
Fix this error message by modifying values in your registry
4 min. read
Updated on
Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more
Key notes
- 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.
User forum
0 messages