Bulk password reset?

G

Guest

Guest
Archived from groups: microsoft.public.win2000.advanced_server (More info?)

On Win2k and 2.3k server, is there a way to bulk reset users' passwords?
I'd like to be able to 'select all' and then reset all passwords.

Can that be done?


--
569@72649.266
 

user

Splendid
Dec 26, 2003
3,943
0
22,780
Archived from groups: microsoft.public.win2000.advanced_server (More info?)

You could use dsquery user to query for the users and then pipe the info
into dsmod to change their passwords:
i.e to change the password for all users starting with the letter u in the
OU=test,DC=contoso,DC=com domain and force them to change password at next
logon:

c:>dsquery user ou=test,dc=contoso,dc=com -name u* | dsmod user -pwd test
-mustchpwd yes

HTH

Srikanth N
This posting is provided "AS IS" with no warranties, and confers no rights.