How to hack windows passsword

how can i make a code to crack the victims pc windows password and without changing the password with only pluging in the flashdrive (with the code inside) pls help how to make the flashdrive.
(for learning purposes only!)
thanks for all the helpers

The easiest way to get through a password protected user, is to start the system with another os like a Linux distro.
If the Bios is not password protected you can boot up your USB Stick and can get through the password detection.
If the files are also not encrypted or read protected you can read the files also.