A small python tool to help with resetting password over VNC via rescue
- Boot in rescue mode
- Run reset.py and make sure VNC Windows is in focus within 1 second
- Boot up the VM
- Go into Control Panel and then the create password menu
- Run
py main.py
and focus the password field within 1 second - Run
py main.py -s
and focus the confirm password field within 1 second - Press create
- Success!
py main.py
to run and generate a random password (gets saved to password.txt as well as typed)
py main.py -s
to automatically type the password or text saved in password.txt
py main.py MyPassword
to write "MyPassword"
When you run the reset.py file it will pause for a moment allowing you to press the key which represents the character -
If you are using a Swedish or Danish keyboard this will most likley be the +
button. This is to work around a current bug were the character -
won't type correctly.