Reset Windows password using a bootable USB drive

System recovery options

In Windows 8, 7 and 10, you can protect your account. So no outsider will go there. But what if you forgot your password? Or have you purchased a computer that already has an account? In Win, you cannot restore an account using email. The code will not be sent via SMS. But you don’t need to format the disk. Resetting the Windows 7 password via a USB flash drive is the solution to the problem.

Reset Windows password with USB flash drive

If you forgot your Windows password, it doesn’t matter

 

Contents

How to make such a USB flash drive?

It is better to make a recovery drive in advance – as long as you have access to your account. This option is available in the account settings. This will ensure your insurance coverage.

Here’s how to create a Windows 10, 8 and 7 password reset flash drive:

  1. Go to the “account”.
  2. “Control Panel”.
  3. “Accounts”. The Win account menu will open.
  4. Insert your USB stick.
  5. Click “Create Floppy” in the list on the left. An explanation window will appear. Follow the instructions.
  6. You don’t need a floppy disk. Select the media.
  7. The program will write a file for recovery there – “userkey.psw”. It can be transferred and copied.

If you forgot the code, insert your USB drive, enter any wrong code, and a link will appear under your account avatar. Click on it, and it will start resetting the Windows 8 password from the USB flash drive. This method is also suitable for other versions of Win. But he works on local “accounts”.

Utility

No Flash Media with Recovery File? Try another method. You need the “Offline Windows Password editor” utility. Do not use it if the OS has EFS encryption. Otherwise, the system will lock the password file.

loading

  1. Find this program on the Internet. There are versions for both USB sticks and CDs. Go to pogostick.net/~pnh/ntpasswd/, open the Bootdisk tab and scroll down to the Download section. Select the “for USB install” archive.
  2. To reset the code in Windows 8, 7 and 10, you need not a simple, but a bootable USB flash drive. It is not enough to copy the files to the media. Format it first. Select “FAT32” or “FAT” as the file system.
  3. Unpack the archive and copy its files to the drive.
  4. Run Command Prompt as Administrator.
  5. In the console, enter “[USB drive letter]: syslinux.exe -ma [USB drive letter]:”.

Formatting a USB flash drive in Windows

Select the Format command from the context menu

Boot priority

The computer should not start from a hard drive, but from an external flash drive. Otherwise, you will not be able to reset your Windows 7, 8, or 10 password.

  1. After turning on the PC, press a specific key to enter the BIOS. It can be F8, F9, Delete, Esc. The line “Press [button] to enter Setup” will appear on the boot screen. The desired key will be indicated there.
  2. In AMI-BIOS, go to the Boot – Device Priority section. Priority should be given to a USB flash drive for password reset Windows 7, 8 or 10. The column on the right will indicate which buttons to press to configure. Set the drive to “1st Boot Device”. And save the changes – press the key next to which is written “Save and Exit”.
  3. In the Phoenix-Award interface, open the “Advanced BIOS Features” menu and in the “First Boot Device” section select the flash drive from which you will restore access.
  4. Or go to the Boot Sequence tab.
  5. After setting the priority and rebooting, the “Offline Windows Password editor” will open. There is no graphical client. But you don’t need to learn console commands to configure.

Reset

  1. The splash screen and the inscription “Boot” will appear. Hit Enter. The app will scan the memory and determine where Windows 8, 10 or 7 is.
  2. A list of system partitions with numbers will be displayed. Enter the number corresponding to the OS.
  3. The application will check if the data can be read and written to the disk.
  4. Then he will ask what parameters you need. Select “Password reset”. There will be a number next to it – type it and press Enter.
  5. In Windows 7, resetting a password from a USB flash drive is changing the registry file. It is called “Sam”. The program creates a copy of it, edits it, and then replaces the original.
  6. Now you need the “Edit user data” option.
  7. A list of users will appear. There are no Cyrillic fonts in the program. If the name of the “account” is written in Russian, it will not be displayed. Instead, there will be “squares”. In this case, focus on the number of characters. Account “Administrator” – 13 “squares”.
  8. Enter the user’s RID number (no leading zero). This number is in the list of users.
  9. Select “Clear user password”. Write the number of this item. At the end of the operation, you will see the message “Password cleared”.
  10. The code has not been erased yet, as you were working on a copy. To replace it with the original file, exit the user menu. Enter the “q” command twice to go up two levels.
  11. The utility will ask itself whether to replace the file. Write “Y” to confirm the action, or “N” to cancel (from the English words “Yes” and “No”).
  12. If you agree, the message “EDIT COMPLETE” will be displayed. This means that you have reset your Windows 10 password using a USB flash drive.
  13. Click “Reset” on the system unit. Or use the keyboard shortcut Ctrl + Alt + Del.
  14. Go to BIOS again and reconfigure the hard disk boot priority.
  15. When you log into your account, the code will no longer be available.

Windows reset password

Press Enter to continue

In Windows XP, resetting a password from a USB flash drive is done in the same way as in other versions of the OS.

Command line

There is a file “Utilman.exe” – it launches special features when selecting “accounts”. Sticky keys, magnifier, high contrast and so on. If you substitute “cmd.exe” for this file, the console will be available even before you log in. And through it you will reset your password.

First you need a drive with a Win or LiveUSB installer. You can create it yourself.

LiveUSB

The LiveUSB recovery program is available on the free.drweb.ru website.

  1. Go to it and hover over the section “For sysadmins”.
  2. Select this utility and download it.
  3. Insert flash drive.
  4. Run the LiveDisk setup file.
  5. In the drop-down list, select the drive and click “Create”.
  6. It’s not just a flash drive to reset your password. You can use it for system repair and disaster recovery. Working with accounts is not the main function of the application. You can simply access the command line through it.

Bootable USB stick

If there is no drive with the operating system, download its image. On the Microsoft website, you can find licensed Windows 8, 7, 10, Vista. They are not free. But that doesn’t mean you have to pay for the distributions you already have. Take a trial version. You won’t install it. You can also enter your product key on the OS page. And you will have an ISO file. But this is not a bootable USB flash drive for resetting Windows 7 password yet. The image needs to be mounted.

  1. For this, the UltraISO program is suitable. You can use another utility if you like.
  2. Find it online and download it. The application is paid. But there is a trial version.
  3. Insert the drive.
  4. Run the program.
  5. “File – Open”. Select the ISO file.
  6. Go to the “Boot” menu and click on “Burn Hard Disk Image”.
  7. In the “DiskDrive” section, select your USB drive.
  8. Then you can format it, if you have not done so earlier. The flash drive must be in
  9. “FAT32”.
  10. Click on “Burn”. The system will warn you that all data from the drive will be deleted. Confirm the action.
  11. Wait while the files are copied.

Replacing files

To remove the Windows 10, 8 or 7 password, enter the recovery mode, and through it – into the command line.

System recovery options

Go to Command Prompt

  1. In the BIOS, set the external drive to boot priority.
  2. Once launched, the installation wizard will open.
  3. Choose language.
  4. Click on “System Restore”. Don’t click on “Install”.
  5. The OS list appears. Check the one you can’t remember the code for.
  6. In the recovery options, click on “Command Prompt”. Now you see a white font on a black background.
  7. Back up “Utilman.exe” – enter “copy [SystemDisk]: Windows system32 sethc.exe [SystemDisk]: File”. The file will be copied to the “File” folder.
  8. Now replace it – “copy [SystemDisk]: Windows System32 cmd.exe [SystemDisk]: Windows System32 Utilman.exe”.
  9. The system will ask you to confirm the action. Write “Y” if you agree.
  10. When the file is copied, click Restart and remove the drive.
  11. In the BIOS, return to the previous settings. Now you can start the OS.

Reset

  1. When you log into your account, open “Accessibility” (button at the bottom left).
  2. But the command line will start.
  3. To reset the Windows password, enter “net user [username] [new code]”. If there is a space in the name or cipher, enclose them in quotation marks.
  4. If you want to remove the code, put two quotes without characters between them.
  5. Restart your computer again and safely log into your account.
  6. Check in the “Utilman.exe” file. Start from your flash drive again, open recovery mode and command prompt. Write in it “move [System-disk]: File Utilman.exe [System-disk]: Windows System32 Utilman.exe”

If you cannot log into Win’s “account”, this does not mean that you have lost all user data. In Windows XP, 7, 8, 10, resetting a password from a USB flash drive is a very simple task. This has its downsides, though. It turns out that any person can log into the account. Protect your personal information in several ways – not just with a code in your account.

Leave a Reply

Your email address will not be published. Required fields are marked *