Posts Tagged ‘reset Windows password with chntpw’

How to Reset Forgotten Windows Password with Ultimate Boot CD (UBCD)

January 15th, 2015 by Admin

In this tutorial we’ll show you how to crack and reset Windows password when you forget it or want to unlock a computer with an unknown password. There are tons of recovery tools available to bypass password, but here I’ll use the freeware Ultimate Boot CD (UBCD).

Ultimate Boot CD is a Linux-based bootable disc with loads of useful software for repairing or fixing almost any Windows problem. The built-in chntpw utility could be used to wipe windows passwords and view/edit the registry. Here’s how.

Note: Ultimate Boot CD is a freeware so don’t expect it to work with domain controllers. If you want to find a more powerful yet easy-to-use password recovery software, try the PCUnlocker Live CD.

How to Reset Forgotten Windows Password with Ultimate Boot CD?

Before getting started, you need to download the Ultimate Boot CD (about 588Mb) from its official website, and then burn it to a CD. With the CD you can follow the steps below to reset forgotten Windows 8/7/Vista/XP password:

  1. Boot your locked computer from Ultimate Boot CD. On the boot menu of Ultimate Boot CD, choose Parted Magic and press Enter.

    ultimate-boot-cd

  2. The next screen you have to select your graphic settings. Just select option 1 and press Enter to use the default settings.

    parted-magic

  3. Once you are presented with the Parted Magic desktop, go to the left bottom corner of the screen and choose System Tools -> Change Windows Password.

    change-windows-password

  4. A new small window will open. It lists all Windows partitions detected on your local hard drive. Click on the correct drive and it will start the chntpw utility in the console.

    select-windows-installation

  5. You will now be presented with the chntpw Main Interactive Menu. Type 1 and press Enter.

    chntpw

  6. This will list out all of the Windows users on the system. Type the name of your desired user and press Enter.

    enter-username

  7. You will now be given the option to blank out the password, as well as several other ways to promote or unlock the user account. Type 1 and press Enter, it will remove the existing password.

    user-edit-menu

  8. If you don’t want to reset other user password, type ! and press Enter.

    quit-edit-menu

  9. Type q and hit Enter at this point to quit the User Edit Menu.

    quit-chntpw

  10. You will then be asked to write the registry hive to disk. Type y to confirm and save your changes.

    write-hive-files

  11. Now you can reboot, and you can log into your Windows account with a blank password. Once you’re logged in, you can go to the Control Panel to change your password to something else — something you can remember.

How to Reset Windows Password with Ubuntu for Free

September 3rd, 2012 by Admin

Windows has an in-built option to create password reset disk to log into system in case a user forgets the Windows account password. However, in a worst case scenario, where you don’t have a password reset disk nor have access to any administrator account, Ubuntu Live disk may help. In this article, we will guide you through step-by-step procedure of resetting Windows user account password.

While Ubuntu Live CD is widely used to troubleshoot PC problems, you can use it to reset Windows user account passwords as well. The process requires creating a Ubuntu Live CD or Live USB, and then booting it to gain full system access for resetting forgotten Windows password.

Note:  This method is free and easy for Linux users. For Windows users, we recommend you to try the Reset Windows Password bootable utility – Which is based on Windows PE and you can use it to easily reset forgotten Windows password on Windows 8/7/Vista/XP/2008/2003/2000.

Step 1: Create a Bootable Ubuntu Live USB

To get started, grab Universal USB Installer, and then download Ubuntu 10.10 (32-bit or 64-bit) from here.

Launch Universal USB Installer, select Ubuntu 10.10 from drop-down menu, and then click Browse to select the Ubuntu ISO file. Now, select the USB drive letter and set the persistent file size.

Once all settings are in place, click Create to begin creating a bootable Ubuntu Live USB.

Step 2: Boot from Ubuntu Live USB

After the Ubuntu Live USB is created, reboot your PC and access computer BIOS by pressing ESC, F2, F10, F9 or other system defined key. Head over to Boot menu and set USB/Removable Hard disk as first boot option. Once boot priority is changed, save the changes and reboot the system. From boot menu, choose Run Ubuntu from this USB option to load Ubuntu 10.10.

Step 3: Install Chntpw

Once your booted into Ubuntu, hit Ctrl + Alt + T to open a Terminal window. I know this may seem a little scary but it is actually quite easy. Once this window is open, simply type sudo apt-get install chntpw and hit Enter. It should download and install the program without needing further assistance. Once it’s finished and your back at the regular prompt, simply type exit and hit Enter. Now you should be back on the Desktop.

Step 4: Reset Windows Password

Now, you need to mount the hard disk partition where Windows is installed. You will be able to access all the removable drives and hard disk partitions from Places menu.

Open all partitions to find the drive with Windows folder. When you find it, make a note of the drive’s label that appears in the menu bar of the file browser.

Once the drive with Windows folder is mounted, open Applications menu from panel, and select Terminal from Accessories menu.

In Terminal window, enter cd /media command, and then list all mounted media drives with ls command.

Once listed, you have to navigate to drive that contains Windows folder. Enter the following command to do so.
cd <hard drive label>

Since we have to make changes to Security Accounts Manager (SAM), which is residing in Windows/System32/config folder. Enter:
cd Windows/System32/config

Once you’re in config folder, use chntpw tool to read Windows user account credentials and make changes to saved passwords. Enter following command to run chntpw tool.
sudo chntpw SAM

The chntpw shows all the configured Windows user accounts with their current status.

It presents 4 different Windows user account tweaking options at the bottom, including clear the admin account password, replace current password/edit password, promote standard user, and unlock locked user accounts. You can reset Windows admin user account password by pressing ‘1’ followed by ‘Y’,  However, to edit the admin password, press ‘2’, enter a new password, hit enter and then press Y to change the password.

The sudo chntpw SAM command can only make changes to Windows admin account password. If you want to change standard user’s password, use the switch –u followed by correct user account name.
sudo chntpw –u <user account name> SAM

Once you’ve changed the user account password, reboot your system, and plug out Ubuntu Live USB. If you’ve just reset the admin password, Windows will not prompt you to enter the password. However, if you changed the password, use the new password to log in to Windows.