How to reset or recover Windows password with Ubuntu Linux

If you are one of those users who has decided to install and activate Ubuntu as a secondary operating system, then we invite you to continue reading this article, since we have prepared a small guide for you to learn how to reset or recover Windows password with Ubuntu Linux fast and easy.

It has happened to all of us to forget the password of our Windows user or there are times when we simply want to change it to one that is easier to remember but not necessarily more insecure.

In this way, we inform you that the process is quite similar in case you want to change your Windows password when you also have Ubuntu Linux installed.

Today, we will explain the steps you must follow to reset Windows password with Ubuntu Linux. Fortunately for us, the process of changing or recovering your password in Windows is fairly straightforward.

Steps to reset or recover Windows password with Ubuntu Linux

Without a doubt, with a computer with two operating systems such as Windows and Linux, we can have access to many advantages. One of them is that we can share files and folders between Windows and Ubuntu quickly and easily.

In addition, it is also very useful in case we have forgotten the access of our Windows user since we can reset or recover the password using Ubuntu Linux. To do this, you simply have to follow the next steps.

  • to reset or recover your Windows password you have to open the ‘Xubuntu Software Center’ and type the following word: chntpw
  • next, you will see an option called ‘NT SAM Password Recovery Facility’ appear. Click on it to install and add the application to a USB drive
  • now, to use this app you must select the partition where you have the Windows operating system installed. In case you don’t know where it is, then don’t worry, here we will explain how you can find out
  • so, enter the following command: sudo fdisk -l. Now, you must bear in mind that the partition where you installed Windows will have the following text ‘Microsoft Basic Data’. Also, its size will be much larger than the other partitions that have the same text
  • then, you must write down the device number, which can be the following: /dev/sda1
  • next, we have to create a mount point or folder by entering the following command: sudo mkdir /mnt/windows
  • now, mount the Windows partition in the folder created earlier. To do this, enter this command: sudo ntfs-3g /dev/sda1 /mnt/windows -o force
  • to continue, you should make a list of folders to ensure that you have chosen the correct partition. This is accomplished by entering the following command: ls /mnt/windows

We are about to finish

  • in case the list includes the folders ‘Program Files’ and ‘Windows’ then this means that you have chosen the proper partition.
  • after mounting the partition indicated in ‘/mnt/windows’ you must go to the following location of the Windows SAM file: cd/mnt/windows/Windows/System32/config
  • now, it only remains to enter the following command to make a list of the users registered in the system: chntpw -u username SAM
  • after having entered this command, we will see the following options on the screen: delete the user password, unlock the account, make a user administrator, add a user, delete user, exit.
  • in this case, you must select the option to delete the password or unlock the user.
  • after regaining access to your account, we recommend that you do not leave your username unlocked. Simply put a password back, but this time try not to forget it.
  • Ready! When you have completed all the steps, then you have successfully recovered Windows password with Ubuntu Linux.

In the event of an error when mounting the Windows folder, Windows may still be loaded. To fix it, the best thing you can do is turn off your computer, which you should be able to do by selecting the shutdown option that appears when Windows starts. In this case, you don’t have to log in.

As you may have noticed, thanks to the Ubuntu Linux operating system it is possible to reset or recover Windows password. This is useful information that we must take into account in emergencies, in order to quickly unlock our user.

LEAVE A REPLY

Please enter your comment!
Please enter your name here