|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Change a windows user's password with C#?I have gathered some code for changing a windows users password, but I need a bit more info. I want to change the password on several Winsows 2003 Server machines. None of them are in a domain. It appears that the WinNT directory services provider does not work on Windows 2003 Server. I get a security message. It used to work fine on Windows 2000 Server. I understand that the LDAP Provider will not work unless the server is part of a domain. Is this correct? Is there any way forward for me given I have Windows 2003 Server machines without a domain, and want to programatically change their passwords? Thanks David Hello MadBi***@gmail.com,
i am not sure if WinNT is not working anymore. But you should be able to set a password via WMI. Have a look at the SDK and the win32_account class. There is also a WMI newsgroup on this server. HTH --------------------------------------- Dominick Baier - DevelopMentor http://www.leastprivilege.com Show quoteHide quote > Hello > > I have gathered some code for changing a windows users password, but I > need a bit more info. > > I want to change the password on several Winsows 2003 Server machines. > None of them are in a domain. > > It appears that the WinNT directory services provider does not work on > Windows 2003 Server. I get a security message. It used to work fine on > Windows 2000 Server. > > I understand that the LDAP Provider will not work unless the server is > part of a domain. Is this correct? > > Is there any way forward for me given I have Windows 2003 Server > machines without a domain, and want to programatically change their > passwords? > > Thanks > David
X509 digital certificate for offline solution
How to send certificate for client authentication? Authorization against AD using MC++ Bad Data error in DES encryption Securing a control assembly against use of foreign assemblies sn.exe exit code documentation ? String to byte[] & back using Base64 Create an Event Log on a Least Privilege User Account Extra '\0' chars after decryption <identity impersonat=> problems. |
|||||||||||||||||||||||