Extracting information from secedit database files (sdb)



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!

.



Relevant Pages

  • Re: NTFS Effective Permissions?
    ... >> in the GUI are identical, while a script that uses ADsSecurity.dll to ... >> display the detailed security settings shows that they are not the same. ... > run CACLS on such a folder, does it agree with the GUI, or with your ... no. flags aceflgs acetype accessmask trustee ...
    (microsoft.public.scripting.wsh)
  • Re: retrieve active directory user property = idle session limit
    ... It is not a wsh thing preventing you from doing what you want. ... And security settings, the good old. ... session idle time from 50 minutes to 30 minutes. ... This is not the purpose of script, and not get you an answer. ...
    (microsoft.public.scripting.wsh)
  • Re: macro security & vbscript
    ... Macro security settings affect all VBA, which is what the "run a script" ...
    (microsoft.public.office.developer.outlook.vba)
  • Re: move my documents automatically
    ... I was hoping if there was some tweak available or a script that would do such ... Docs target as if s/he were the user (by changing registry perhaps? ... security settings for the new Docs folder (Is it just System and the User ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: IE6 hangs on loading ABCNEWS.COM ESPN.COM HSN.COM DISNEY.COM
    ... Some of the script prompts are about "Flash", ... "General troubleshooting for scripting errors" ... > my.yahoo.com puts up a prompt about scripts, ... >> Try using your Security settings and if you like also your Privacy ...
    (microsoft.public.windows.inetexplorer.ie6.browser)