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 difference)
|
Revision as of 21:08, 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
[Category:Windows]