Check an user account and password in a Windows Domain

If you don’t know if an user account and password in a Windows Domain is correct, you can test it with this command (in a console)

$ runas /u:your_domain\your_user notepad.exe

This command will prompt you for the password. If you enter the right password, notepad will start. If you don’t enter the correct password, an error will be thrown.

Leave a Reply

Your email address will not be published. Required fields are marked *