Hi All,
I am trying to export Resultant Set Of Policies, or RSOP, meaning
"effective policy" using the below Secedit command in a batch file,
%SystemRoot%\system32\secedit.exe /export /mergedpolicy /cfg dump.inf /areas SECURITYPOLICY /quiet
I am getting the information from W2K3 and Xp but for W2K it appears to only pick up the local policy setting. It is strange that when in Local Security Settings and select Action and then Export List (this includes both policy settings). Can someone here if you have any advice on how to pickup these settings for Windows 2000 servers?
Thanks in Advance.
The following are the other method I tried but nothing is giving the expected result. All seems to be working fine for a W2K3 servers.
(
1. Batch File:
%SystemRoot%\system32\secedit.exe /export /cfg dump.inf /quiet
2. Batch File:
%SystemRoot%\system32\gpresult /scope computer /v
3. VBScript:
Using LDAP://rootDSE" context
4. VBScript:
Using winmgmts,
GetObject _
("winmgmts:\\" & strDomain & "\root\rsop\computer")
Set colItems = objWMIService.ExecQuery("Select * from RSOP_SecuritySettingBoolean")
Regards,
Murali.