This was done on Mint 20 but works the same on nearly any new Linux, but is only recommended for people comfortable or familiar with Linux. This method will work on almost all versions of Windows from NT, 2000, 2003 Server, 2008 Server, 2012 Server, 2016 Server, 2019 Server, 2022 Server, XP, Vista, 7, 8, 10 and 11.
However, if you want the easiest solution to Reset/Removal the Administrator Password for Windows NT, 2000, 2003 Server, 2008 Server, 2012 Server, 2016 Server, 2019 Server, 2022 Server, XP, Vista, 7, 8, 10 and 11 that works without any admin knowledge automatically, then we recommend you read the preceding link or consider a commercial solution for resetting the password using CD/USB for Windows Administrator Accounts.
sudo apt install chntpw
Find your drive in the filemanager and click on it, so it gets mounted.
cd /media/yourusername/thepathtothedrive
chntpw SAM
Hit 1 and Enter
Then type the RID of the user you want to remove the password for which is "01f4" for Administrator and hit Enter.
reset, server, removal, linux, ubuntu, mint, debianthis, recommended, bootable, install, password, chntpw, sudo, apt, mount,