Newbie question about Python & W2K Admin

Mark Hammond mhammond at skippinet.com.au
Thu Jul 24 01:44:12 CEST 2003


stuartc wrote:
> Hi all:
> 
> I need to change a few Local Security Settings on a number of W2K
> machines. An example of a Security Setting I need to change is the
> "Minimum password length" setting, which is under Account Policies,
> Password Policy.
> 
> Instead of doing this manually on each machine, I would like to have
> an automated way to do this.  Can Python be used for this ?
> 
> Any direction on how to automate this using Python or some other tool
> will be greatly appreciated.

Look into the win32net module - you can change all sorts of things 
there.  "Python Programming on Win32" has some good examples.

Mark





More information about the Python-list mailing list