Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

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.
0
mystikal1000
Asked:
mystikal1000
  • 2
  • 2
1 Solution
 
Jay_Jay70Commented:
hyenas free version should do it for you

http://www.somarsoft.com/
0
 
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
 
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

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now