documentation/modules/post/windows/manage/hashcarve.md
This module changes a user's password by carving a hash in the windows registry.
Here is the process that the module follows:
I would recommend to use hashdump before using the module to backup the user hashes Use at your own risk.
At some point, Windows 10 stopped storing users in that exact way, users whose password was set after that change would not be vulnerable. This will be updated once someone figures how the hashes are now stored.
The module does not modify the user key architecture, you cannot set a hash on a user that does not have a password.