Testing a windows user account password: Difference between revisions
Jump to navigation
Jump to search
(Created page with "test") |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
test | You may need to test a Windows user account when troubleshooting an issue but the account in questions may not have permissions to say remote desktop etc. | ||
To test the account, open a CMD Window and run the following: | |||
<pre> | |||
runas /u:domain.local\user1 notepad.exe | |||
</pre> | |||
You will then be prompted to enter a password. | |||
If the password is incorrect you will get the following: | |||
<pre style="color: silver; background: black;width: 800px"> | |||
c:\>runas /u:domain.local\user1 notepad.exe | |||
Enter the password for domain.local\user1: | |||
Attempting to start notepad.exe as user "domain.local\user1" ... | |||
RUNAS ERROR: Unable to run - notepad.exe | |||
1326: The user name or password is incorrect. | |||
</pre> | |||
If the password was correct Windows Notepad will open. | |||
[[Category:Windows]] | |||
<comments /> |
Latest revision as of 09:07, 20 March 2022
You may need to test a Windows user account when troubleshooting an issue but the account in questions may not have permissions to say remote desktop etc.
To test the account, open a CMD Window and run the following:
runas /u:domain.local\user1 notepad.exe
You will then be prompted to enter a password. If the password is incorrect you will get the following:
c:\>runas /u:domain.local\user1 notepad.exe Enter the password for domain.local\user1: Attempting to start notepad.exe as user "domain.local\user1" ... RUNAS ERROR: Unable to run - notepad.exe 1326: The user name or password is incorrect.
If the password was correct Windows Notepad will open. <comments />