password change in NT
how can we change a user password thru a third party program.is there any third party programs for this purpose?
i want to write a program to do this. kindly help me.
i know that it is possible to chnage thru user manager.
Windows Forum
how can we change a user password thru a third party program.is there any third party programs for this purpose?
i want to write a program to do this. kindly help me.
i know that it is possible to chnage thru user manager.
by gary sharp
Net User /Domain will do this from a script or batch file.
cheers
g
by ramesh
by shubens
In a program you must use fuction
NET_API_STATUS NetUserChangePassword(
LPWSTR domainname,
LPWSTR username,
LPWSTR oldpassword,
LPWSTR newpassword);
for more information, see the microsoft knowledge base : Article ID Q151546
by ramesh
Do you want to change the pwd of a domain account of local? THey require different approaches. Answ#1 is correct for a domain account or a local account if you are actually sitting at the workstation, however this does not work on a remote workstation.
You have two choices with the products MS provides.
load the rcmdsvr.exe on the remote workstaion and open a remote command prompt and type net user command as though you where local, or you can use either the sc.exe or at.exe commands to schedule a task to run on the remote worksation, but have it happen immediately, so the use does not get the time to see the password change in clear text.
version #2 is risky relative to security, unless performed during non-use hours.
I have written a script that hits all workstaions on the domain as per the rcmd method.
by ramesh
by dsmit221
Third Party programs you can use for Administration of users are
Enterprise Administrator
or
Hyena (Shareware Product)
by ramesh
by joncr
I have done this using the NET PASSWORD mentioned above and wrote a KIX script around it. One word of warning:
We had the problem that all the 98 laptop users that were ras'ing in could not use this method unless you specified the PDC (look at the syntax at with NET PASSWORD /?)
by ramesh
by jmartin
by ramesh
by sedeka2
Answer #1 is my final answer!:-) Works for me.
Go for it.
Chris
by ramesh
by ramesh
This discussion is closed to new replies.
Sort by Trending