System Reset Local Security Policy Settings to Default in Windows 11


  • Staff
secpol_banner.png

This tutorial will show you how to reset Local Security Policy settings back to default all at once in Windows 10 and Windows 11.

Local Security Policy (secpol.msc) is a Microsoft Management Console (MMC) snap-in with rules that administrators can configure on a computer or multiple devices for the purpose of protecting resources on a device or network. The Security Settings extension of the Local Group Policy Editor (gpedit.msc) snap-in allows you to define security configurations as part of a Group Policy Object (GPO).

Local Security Policy (secpol.msc) is only available in the Windows 10/11 Pro, Enterprise, and Education editions, but all policies can be manually configured using Registry Editor in any edition of Windows.

References:

You must be signed in as an administrator to reset all Local Security Policy settings back to default.



EXAMPLE: Local Security Policy (secpol.msc)

secpol.png



Here's How:

1 Open Windows Terminal (Admin), and select either Windows PowerShell or Command Prompt.

2 Copy and paste the appropriate command below into Windows Terminal (Admin), and press Enter. (see screenshots below)

(Windows PowerShell)​
secedit /configure /cfg $Env:WINDIR\inf\defltbase.inf /db defltbase.sdb /verbose

OR​

(Command Prompt)​
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

Reset_Local_Security_Policy_settings_PowerShell.png

Reset_Local_Security_Policy_settings_command.png

3 When finished, close Windows Terminal (Admin).

4 Restart the computer to fully apply.


That's it,
Shawn Brink


 

Attachments

  • secpol.png
    secpol.png
    21.1 KB · Views: 13
Back
Top Bottom