Discussion on:

Message 4 of 4
0 Votes
+ -
RE: Reset user passwords with Windows Server 2003's DSMod command-line tool
if you dont know the users DN you could pipe the dsquery right into the dsmod command, here is an example:

If you wanted to change the password for smith, joe:
dsquery user -name Smith*joe | dsmod user -pwd xxx -mustchpwd yes
Posted by sprinkl3s
1st Aug 2007