How to reset Windows password in VirtualBox - ScienceChronicle
ScienceChronicle
May 19, 2024

How to reset Windows password in VirtualBox

Posted on May 19, 2024  •  2 minutes  • 266 words
Table of contents

If you forgot your password for Windows running inside VirtualBOx, the solution is very simple. Here we desribe the steps to reset the password.

We use VirtualBox Version 7.0.8 r156879 (Qt5.12.8) on Linux Mint 20.3 (Una) (Ubunti Codename=focal). The Windows running in VirtualBox is Windows 11 with standard user User for which Passw0rd! password was expired, then changed to something and this something was forgotten:

Windows requires password
forgotten_password

Note: It seems MS removed passwords for the Vms at the time of writing this post (19 May 2024).

Hiren’s BootCD

Hirens BootCD contains NtPwdEdit utility which allows seemless password reset:

ntpwedit

We want to download it, mount under Windows VM and run it. It will see the Windows disk partitions in VirtualBox. Then we can run NtPwdEdit to reset the password. Also, we can access any data on windows partitions, edit windows registry, repair the system, etc. All the utilities which enable this are included on the disk.

Mounting Hiren’s BootCD on Windows VM

In machine Settings add optical disk and mount on it hirens cd:

Mounting Hirens CD
cd mount 1
cd mount 2
cd mount 3

Booting VM from the CD

Run Windows VM and press F12 several times to get into the windows boot menu and choose UEFI CD to boot from:

Booting from CD
windows boot menu1
windows boot menu2
windows boot menu3

It should boot into Hirens Windows system:

inside hirens windows

Resetting password

Ok, we are almost done. Go to Utilites=>Security=>NtPasswordEdit:

choose utility

And now we can reset password for any user:

ntpwedit

❗Don’t forget to click on OPEN button to get the list of users.

If for any reson, the password cannot be reset by NtPasswordEdit, you can try to use Lazesoft utility:

lazesoft

Good Luck!


Share


Tags


Counters

Support us

Science Chronicle