Where can I get a script that will retrieve Local Security policy settings?

Where can I get a script that will retrieve Local Security policy settings?  I would like to query around 20 servers to retrieve accounts that the logon locally policy set.  I can't retrieve this through GPO, because it was never a policy for us.

Any help will be appreciated.
LVL 1
mystikal1000Asked:
Who is Participating?
 
Netman66Commented:
This is the second time I've heard this request.  It's not at all easy with a script.  The logon locally information is stored in a template file in:

C:\WINDOWS\security\templates\policies\gpt#.inf

Look for SeInteractiveLogonRight.

Also follow this thread to see if there is something that surfaces:

http://www.experts-exchange.com/Operating_Systems/Windows_Server_2003/Q_22028032.html


You're better off with a tool to do this one server at a time then merge the logs.

0
 
Jay_Jay70Commented:
hyenas free version should do it for you

http://www.somarsoft.com/
0
 
mystikal1000Author Commented:
Can I retrieve it from a registry setting?
0
 
Netman66Commented:
No, not that I'm aware of anyway.



0
 
mystikal1000Author Commented:
Is there anyone that can create script wrapper to run dumpsec against servers and report on the logon locally results?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.