Creating users on Windows NT

waldekO osuchw at
Fri Oct 26 00:07:27 CEST 2001 [noah at] wrote in message news:<9r7tqp6mia at>...
> Does anyone have sample code to create a user
> on a local or a remote NT machine?
> I'm trying to sort through this Microsoft WMI stuff
> because it seems like that would allow me to
> create a user on a local or a remote machine,
> but it's taking me forever to figure out where
> to start... Right now I'd be satisfied if I could
> just create a user from the Windows cmd.exe command line
> and simply call that from Python.
> Does anyone have experience with WMI and Python?
> Assume ActivePython...
> Yours,
> Noah
> ==================================
> Poster's IP address:
> Posted via
> Linux Programmer's Site

You do not need WMI to create a user on NT.
The in win32/demo directory of your Python
installation should get you started.

More information about the Python-list mailing list