Am trying to use copypwd to save and restore password hashes on Win2003 Server SP1, but whenever i set a password it gets set as blank.
Running locally, tried "change at next login"/"password never expires" set/unset, tried NoLMHash policy set/unset.
Steps to reproduce:
- Set users password to "password"
- copypwd dump > copypwd.txt
- remove all but the users hash:
username:8846f7eaee8fb117ad06bdd830b7586ce52cac674 19a9a224a3b108f3fa6cb6d
- copypwd set
- copypwd dump > copypwd2.txt
- hash is now:
username:31d6cfe0d16ae931b73c59d7e0c089c0aad3b435b 51404eeaad3b435b51404ee
which corrosponds to a blank password (note the last 2x16 bytes).
Has anyone else come across this or know how to fix it?
Running locally, tried "change at next login"/"password never expires" set/unset, tried NoLMHash policy set/unset.
Steps to reproduce:
- Set users password to "password"
- copypwd dump > copypwd.txt
- remove all but the users hash:
username:8846f7eaee8fb117ad06bdd830b7586ce52cac674 19a9a224a3b108f3fa6cb6d
- copypwd set
- copypwd dump > copypwd2.txt
- hash is now:
username:31d6cfe0d16ae931b73c59d7e0c089c0aad3b435b 51404eeaad3b435b51404ee
which corrosponds to a blank password (note the last 2x16 bytes).
Has anyone else come across this or know how to fix it?
Comment