Re: Change a windows user's password with C#?
From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 08/09/05
- Previous message: MadBison_at_gmail.com: "Change a windows user's password with C#?"
- In reply to: MadBison_at_gmail.com: "Change a windows user's password with C#?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 09 Aug 2005 06:39:20 -0700
Hello MadBison@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
> 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
- Previous message: MadBison_at_gmail.com: "Change a windows user's password with C#?"
- In reply to: MadBison_at_gmail.com: "Change a windows user's password with C#?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|