We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

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

mystikal1000
mystikal1000 asked
on
Medium Priority
329 Views
Last Modified: 2010-08-05
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.
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2006

Commented:
hyenas free version should do it for you

http://www.somarsoft.com/
CERTIFIED EXPERT
Top Expert 2005
Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Can I retrieve it from a registry setting?
CERTIFIED EXPERT
Top Expert 2005

Commented:
No, not that I'm aware of anyway.



Author

Commented:
Is there anyone that can create script wrapper to run dumpsec against servers and report on the logon locally results?
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.