System Reset Local Security Policy Settings to Default in Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:
  • Tags Tags
    mmc

secpol_banner.webp

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


 
Last edited:
It may be just me but when I did this I could login to my user accounts and the PC wanted to set up a new account.

Fixed mind, it took a while to work it out.
 

My Computer

System One

  • OS
    Win 11 Pro
    Computer type
    PC/Desktop
    Memory
    32gb
    Graphics Card(s)
    nvidia 4060
    Monitor(s) Displays
    Asus and BenQ
    Screen Resolution
    Full HD
    Hard Drives
    4 by 2tb drives
    Keyboard
    Logiteck
    Mouse
    Cherry
    Browser
    Librewolf, Vivaldi
    Antivirus
    ESET
    Other Info
    Windows 11 Pro Version 25HT
Back
Top Bottom