Changing Local Admin Passwords
Keywords: passwords *UNKNOWN*
Question:
In Windows NT Environment:
- want to change the local administrator password on multiple workstations
- logging in as a domain admin with local admin rights, but the local administrator password is unknown.
- looking for ideas
Answer:
- wntChgPassword *might* do it with *UNKNOWN* for the old password. (Use *UNKNOWN* with the asterisks around it.) It should accept *UNKNOWN* as the old password field if you are logged on as Administrator.
Give it a try. There seems to be mixed results with it.
- If *UNKNOWN* doesn't work, try:
:resetAll username=StrLower(AskLine("Reset ANY User's Password To 'hello'","Enter The User's Logon Name:","")) rslt=wntMemberGet(PDC,"Domain Users",username,@GLOBALGROUP) if ! rslt message("Unknown Logon Name","%username% Is Not A Valid Logon Name.") goto resetAll endif wntUserSetDat(PDC,username,"password", "hello") wntUserSetDat(PDC,username,"password_expired", 1) message("Password Reset","%username%'s Password Has Been Reset To 'hello'") return
- Or, try to use a list of known passwords to reset them.
- Or, use the wntGetUserDat command for changing passwords.
Article ID: W13303Filename: Changing Local Admin Passwords.txt