I want to authenticate the administrator username's password.
The administrator username is not a domain account but a local system account.
I am trying to do this in Python, but any code even if it is .NET, VC++ would be fine.
Thanks
views:
28answers:
1
A:
You can either LogonUser (and be sure to CloseHandle after) or call NetUserChangePassword (with old and new passwords the same). Anything in .NET or Python will likely wrap LogonUser.
Bob
2010-09-15 20:09:26
Thanks. Python has the Pywin32 module which supports the LogonUser function and it worked.
ages04
2010-09-17 14:22:26