Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows cannot open the local policy database 1

Status
Not open for further replies.

wallst32

MIS
Apr 14, 2003
545
US
When I run secpol.msc, I get the error:

"Windows cannot open the local policy database.

An unknown error occured when attempting to open the database."

The first step I did was to delete the edb and log files from %WINDIR%\Security; didn't fix it.

Next I ran a repair, esentutl /g on secedit.sdb; didn't fix it.

Next I deleted secedit.sdb, and rebooted. It did not recreate the secedit.sdb file for me.

Next, I ran secedit.exe /refreshpolicy machine_policy /enforce; this rebuilds the secedit.sdb file, but I still can't open it.

Any suggestions? Windows 2000 SP4.
 
Fixed by changing:

HKLM system CCS control LSA

LMCompat level to 4
and Restrictanon to 1
 
Seen this on a different forum, some different switches to try.

The security database is corrupted.
Run esentutl /g to check the integrity of the security database at
%windir%\Security\Database\Secedit.sdb.

If the database is corrupt:

1.. Attempt to recover it by running esentutl /r on the %windir%\Security folder.
If this fails, attempt to repair it by running with esentutl /p on %windir%\Security\Database\Secedit.sdb.
2.. After that, delete the log files in %windir%\Security.


RoadKi11

"This apparent fear reaction is typical, rather than try to solve technical problems technically, policy solutions are often chosen." - Fred Cohen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top