Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to administer local security policy from commd. line

Status
Not open for further replies.

ggolub

Programmer
Jan 5, 2005
13
0
0
US
Hello forum

I need to code check and if nessesary change to local security policy.
For instance: check if domain account is in local policies/users rights assignment/allow log on locally.
If not - add it.
Can you recommend how to do it please.
 
You could script it, or you could configure a custom security template and use SECEDIT to apply it to affected machines. That can get pretty ugly though, so I would be more likely to script it.

________________________________________
CompTIA A+, Network+, Server+, Security+
MCTS:Windows 7
MCSE:Security 2003
MCITP:Server Administrator
MCITP:Enterprise Administrator
MCITP:Virtualization Administrator 2008 R2
Certified Quest vWorkspace Administrator
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top