Recent Tweets by Zeaun

Server 2008

Change All User Passwords In The Domain

So you have an Active Directory domain and you, for some reason, want to reset everyone’s password to a default value?

This is easier said than done, and only requires one simple command chain. Here you go:

1) Make sure that you are running this on a Domain Controller, or on a computer with the Remote Server Administration Tools installed, and are logged in with a domain admin account.
2) Open a command prompt
3) Type the following:

dsquery user -limit 999 | dsmod user -pwd thenewpassword

And that’s it. This works on every edition of Microsoft’s Windows Server line,… Continue reading