Creating users on Windows NT
osuchw at ecn.ab.ca
Fri Oct 26 00:07:27 CEST 2001
188.8.131.52 [noah at noah.org] wrote in message news:<9r7tqp6mia at enews3.newsguy.com>...
> 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...
> Poster's IP address: 184.108.40.206
> Posted via http://nodevice.com
> Linux Programmer's Site
You do not need WMI to create a user on NT.
The win32netdemo.py in win32/demo directory of your Python
installation should get you started.
More information about the Python-list