The Local Security Policy is an advanced tool for configuring the Windows με το οποίο μπορείτε να ελέγξετε διάφορες πτυχές της better safetyof your operating system.
Most users like to experiment with it using Microsoft Management Sideboard (Microsoft Management Console). But if somewhere in the chaotic possibility of settings you mess up and your system fails your wishes then it might be a good idea to reset all its settings to their original form. Below you will see a simple command that can restore all default settings easily and quickly.
For those who have not yet visited it, the Local Policy Group editing console starts if you press the Win + R keys on your keyboard and in the Execute window that appears at the same time if you type secpol.msc and press key OK.
We remind you that the editing console does not work on home editions Windows 10. It is only available in Windows 10 Pro, Enterprise, and Education.
Restore Local Security Policy.
To restore your local security policy settings, do the following:
1. Press Win + X at the same time and select the "Command Prompt".
2. If you are asked if you "want to allow this app to make changes to your device" say "Yes".
3. In the command line window, type the following and press Enter:
secedit / configure / cfg% windir% \ inf \ defltbase.inf / db defltbase.sdb / verbose
4. Restart Windows 10.
You're done. After restarting functional your system is back to its default settings in the local security policy. This trick also works on Windows 8, Windows 7 and Windows Vista.