Today I created a small tool which will do the following things:
- Generate a random complex password
- Unlock a user account and set the new password
This can be very handy for a service desk which resets a lot of passwords for users. And instead of having to think about a password or start a password generator tool, you can do everything with one tool. I created two version of the tool, one with AD search ability and one without. Both version are in the zip file.
Without Search option:
Click here to download the tool.
Minimal Windows 7 or 2008R2
Active Directory PowerShell module
PowerShell V3 (for win7 and 2008R2 please install: https://www.microsoft.com/en-us/download/details.aspx?id=34595)
User must be Samaccountname
To set the password you must have enough rights in the AD.
Console shows errors like : User doesn’t exists, not enough rights etc..
I hope this was informative. For questions or comments you can always give a reaction in the comment section or contact me: