Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to Change users passwords in Windows NT 4.0

Status
Not open for further replies.

kamire

Technical User
Nov 28, 2002
54
RW
I would like to create a script which will be used by a person in helpdesk who is not an administrator to change users passwords when they get this problem. I have realised that I spend too much time doing this as opposed to more important tasks. Can someone help.
 
The net user command would do this - though user would obviously need privileges to run it. If the helpdesk is a workstation, you could use psexec in a batch file (with username and new password as parameters) - this allows you to supply username/password credentials to run the job remotely on the server - though the password would be plain text in the batch file (part of pstools freeware from
 
Yes Net user is doing this but I would like a scenario where the user is prompted for a name and thus something like this:

username:
password:

Please can someone advise on whether there is a script or something in the net which can do that.
 
I forgot that if I user net user I will not give the user a chance to change his password to something he will like
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top