Windows:ResetLocalPassword: Difference between revisions
Jump to navigation
Jump to search
Created page with "Just a note for something I use at work. If a local Windows user gets changed and we can no longer login, then connect with gss and use the following powershell commands $C..." |
No edit summary |
||
| Line 10: | Line 10: | ||
[Category:Windows] | [[Category:Windows]] | ||
Latest revision as of 21:09, 14 April 2017
Just a note for something I use at work. If a local Windows user gets changed and we can no longer login, then connect with gss and use the following powershell commands
$Computername = $env:COMPUTERNAME
$Username="T......."
$objuser=[ADSI]"WinNT://$Computername/$Username"
$objuser.setpassword("yourtotallysecretpasswordhere")
$objuser.setinfo
This will reset the PW then you can login via HPSA