How do I turn on kernal-mode hardware-enforced stack protection?

Dhananjai Rengith 0 Reputation points
2023-04-29T19:10:48.94+00:00

The driver scan is not working and I tried turning off the memory integrity, rebooting and trying to find a driver but then memory integrity wouldnt turn back on so i force started memory integrity through registry editor and i dont know how to turn on stack protection.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,798 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Konstantinos Passadis 17,456 Reputation points MVP
    2023-04-29T19:23:17.21+00:00

    Hello Dhananjai Rengith !

    Welcome to Microsoft QnA!

    To turn on stack protection in Windows 10:

    Open the Control Panel and go to System and Security > System.
    
    Click on "Advanced system settings" in the left-hand pane.
    
    In the System Properties window, click on the "Advanced" tab and then click on "Settings" under the "Performance" section.
    
    In the Performance Options window, click on the "Data Execution Prevention" tab.
    
    Make sure that the option "Turn on DEP for essential Windows programs and services only" is selected. If not, select this option and click "Apply" and "OK".
    
    Next, click on the "Stack Protection" tab.
    
    Check the box next to "Enable stack protection" and then click "Apply" and "OK".
    
    Restart your computer for the changes to take effect.
    

    Note that not all systems or applications may be compatible with stack protection, so you may need to test your system and applications to ensure they still function properly after enabling stack protection.

    Hope this helps or else send us some feedback

    Kindly mark the answer as Accepted in case it helped !

    Regards

    1 person found this answer helpful.

  2. Konstantinos Passadis 17,456 Reputation points MVP
    2023-04-30T11:59:08.3166667+00:00

    Hello Dhananjai Rengith !

    Please see this post

    https://www.bleepingcomputer.com/tutorials/how-to-enable-kernel-mode-hardware-enforced-stack-protection-in-windows-11/

    Hope this helps or else send us some feedback

    Kindly mark the answer as Accepted in case it helped !

    Regards