|
Posted by Roger Abell [MVP] on December 16, 2005, 3:44 am
Please log in for more thread options
There is no public api for accessing the sdb store.
Look at some of the things done in the scripts that ship with
the GPMC as they show what is just about as good as it gets.
> Hi,
>
> I'm trying to script the analysis of security settings in Windows
> 2k3/XP. I'm using the command:
>
> secedit /analyze /db test.db /log test.log /cfg mytemplate.inf
>
> and what I'd like to do is get an export of all the mismatch lines out
> of the test.db so I can see their values (I know the logfile contains
> all the Mismatch lines, but it doesn't say HOW it's mismatched). I know
> I can do this through the MMC, but I'd rather script it so I don't have
> to export each subtree of the local security policy in the config &
> analysis snapin.
>
> Thanks!
>
|