Link to home
Start Free TrialLog in
Avatar of pricey
pricey

asked on

Recreating secedit.sdb

When I try to look at the local security policy it tells me the database does not exist.  That is fine I can deal with that, by recreating the security database as per the following instructions.

Open the %SystemRoot%\Security folder, create a new folder, and then name it "OldSecurity".
Move all of the files ending in .log from the %SystemRoot%\Security folder to the OldSecurity folder.
Find the Secedit.sdb file in the %SystemRoot%\Security\Database folder, and then rename this file to "Secedit.old".
Click Start, click Run, type mmc, and then click OK.
Click Console, click Add/Remove Snap-in, and then add the Security and Configuration snap-in.
Right-click Security and Configuration and Analysis, and then click Open Database.
Browse to the %SystemRoot%\Security\Database folder, type Secedit.sdb in the File name box, and then click Open.
When you are prompted to import a template, click Setup Security.inf, and then click Open.

NOTE: If you receive an "Access denied" message, you can safely ignore it.

The problem I have is that I don't get and Access denied message.  The message I receive is a s follows.

Security Templates (Title)
An extended error has occurred
Import failed.

I click OK and nothing has happend.
Please help most urgently I'm really stuck with this.

I have tried using the templates from a different server and setting the permissions on folder.  Could it be permissions to a registry key?  I have more than one server in this situation.

Many Thanks
Richard
Avatar of TooKoolKris
TooKoolKris

You didn't create the template files on a XP machine and then try to import into Windows 2000 did you?

Windows Cannot Read Template Information" Error Message When You Try to View a Windows XP-based Template in a Windows 2000 Domain
http://support.microsoft.com/default.aspx?scid=kb;en-us;827012&Product=win2000
Avatar of pricey

ASKER

No I'm just trying to import the standard templates that come with the OS.
Can you load up one of the pre-defined templates that comes with 2000 ? The ones in Systemroot\Security\Templates ?

The predefined security templates are:

Default workstation (basicwk.inf)
Default server (basicsv.inf)
Default domain controller (basicdc.inf)
Compatible workstation or server (compatws.inf)
Secure workstation or server (securews.inf)
Highly secure workstation or server (hisecws.inf)
Secure domain controller (securedc.inf)
Highly secure domain controller (hisecdc.inf)
Avatar of pricey

ASKER

No,

I get the same error when I do that also.

Avatar of sirbounty
Not sure if this is still outstanding, but I'd recommmend

Start-> Run-> SFC /PurgeCache
Start-> Run-> SFC /ScanNow

ASKER CERTIFIED SOLUTION
Avatar of Bhaskar24
Bhaskar24

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pricey

ASKER

Many thanks Bhaskar.
This didn't work for me. And my secedit.db is gone. What should I do?