Reset Local Security Policy Settings to Default in Windows  

    Reset Local Security Policy Settings to Default in Windows

    Reset Local Security Policy Settings to Default in Windows

    How to Reset All Local Security Policy Settings to Default in Windows
    Published by Category: General Tips
    06 May 2021
    Designer Media Ltd


    How to Reset All Local Security Policy Settings to Default in Windows


    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).

    This tutorial will show you how to quickly reset all Local Security Policy settings back to default in XP, Vista, Windows 7, Windows 8, and Windows 10.

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

    This will not reset Local Security Policy settings for a computer connected to a domain using Active Directory. The network administrator controls these settings instead.

    Local Security Policy will only be available in:
    • XP Professional
    • Vista Business, Ultimate, and Enterprise editions.
    • Windows 7 Professional, Ultimate, and Enterprise editions.
    • Windows 8 Pro and Enterprise editions.
    • Windows 10 Pro, Enterprise, and Education editions.


    EXAMPLE: Local Security Policy settings
    Reset Local Security Policy Settings to Default in Windows-local_security_policy.png
    Reset Local Security Policy Settings to Default in Windows-security_settings_in_local_group_policy_editor.png



    Here's How:

    1 Open an elevated command prompt.

    2 Copy and paste the command below for your Windows into the elevated command prompt, and press Enter. (see screenshot below)

    (For Windows XP)
    secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose


    (For Vista, Windows 7, Windows 8, and Windows 10)
    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

    3 When finished, you can close the elevated command prompt if you like.

    4 Restart the computer to fully apply.

    Reset Local Security Policy Settings to Default in Windows-reset_local_security_policy_settings_command.png


    That's it,
    Shawn Brink




  1. Posts : 11
    windows 10 home
       #1

    user account got deleted upon following this


    i followed this procedure and my standard user-account got disabled. the "scesrv.log" confirms this.

    ----Configure Group Membership...
    Configure Users.
    remove LAPTOP\<username>.

    the c:\users\<username> folder is intact. but that user account is not visible in the login-screen, control-panel, netplwiz and settings-app. i forgot to create a system-restore-point before following this. any solution to recover my user-account?

    FEEDBACK: please including a note, warning the readers about this.
      My Computer

  2. Brink's Avatar
    Posts : 57,927
    64-bit Windows 10 Pro for Workstations build 21390
    Thread Starter
       #2

    Hello @naveen1,

    I'm not sure how this would have deleted a user account since it's only resetting the Local Security Policy Settings back to default.

    Just to confirm, did the account get disabled or deleted. If disabled, you should be to just enable it again.

    Enable or Disable Account in Windows 10

    If deleted, you could try creating a new account with the same name, and use the same method in the tutorial below to change the ProfileImagePath value in the registry to use the original profile folder instead.

    Fix You've been signed in with a temporary profile in Windows 10
      My Computers


 

Tutorial Categories

Reset Local Security Policy Settings to Default in Windows Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 16:38.
Find Us




Windows 10 Forums