I'll teach you. Backup Windows critical password _windowsxp

Source: Internet
Author: User
Tags delete key
Before reloading the system, various documents, software, and desktop settings can be backed up fairly easily. But do you know how to back up your password? When you are backing up a system for someone else, how do you back up your password to a new machine without knowing the other person's system login password?

   Windows 98

Principle: Windows 98 when a user logs on, the way to authenticate a password is by proofreading the "username" in the Windows directory. PWL "file, if the user name and password for this login are found to be full with the username. PWL "File is consistent, will log on smoothly, instead, you cannot log in." Once you understand the rationale for Windows 98 logins, you can do the same with the user name. PWL "The document under the" Medicine "!

Backup: Create a new Notepad file, enter the following, and save it as a backup.bat.

@echo bakup Password ...

@echo off

MD D:\pwbak

Copy C:\WINDOWS\*.PWL D:\pwbak

@echo bakup Password successfully!

Pause

(Note: "C:\" is the location of the system disk, "D:\pwbak" for the password to save the location, you can change as needed, the same below)

Once the file is created, you can complete a backup of all user passwords as long as you run it under Windows or DOS.

Restore: When you reload the operating system and create a new user that is identical to the user name in the original system (the new username should be exactly the same as in the original system, otherwise the recovery is invalid), you can begin to restore the system login password. Create a new Notepad file, enter the following, and then save it as a restone.bat.

@echo restone Password ...

@echo off

@echo Y|copy d:\pwbak\*.pwl C:\Windows

@echo Restone Password successfully!

Pause

After the file is created, you can also complete the restoration of all user passwords by running it under Windwos or DOS.

  Windows 2000/xp/server 2003

   Method 1:

First step: At the command prompt, enter the at time/interactive Regedit.exe command to add a scheduled task. Use the AT command to run the Registry Editor program with System privileges.

   Small Tips

TIME specifies when the command is run, as long as it is 1-2 minutes from the current time. For example: The current time is 13:43, and the command is "at 13:45/interactive Regedit.exe". "/interactive" allows the job to interact with the user's desktop that was logged on at run time.

Step Two: Open Registry Editor, find [Hkey_local_ Machine\sam\sam], and now you can access it (see figure). You can export the SAM file content by right-clicking the Sam subkey, selecting Export, or clicking file → export on the menu. Close the Registry Editor.

   Small Tips

If you want to export the user password for a single account in Registry Editor for a rainy date, open [HKEY_LOCAL_MACHINE \sam\sam\domains\account\users\names], click the specific user name under the item, and click Export. View the default values for the right pane, such as "Administrator" is "0x1f4". Then click the specific value under the Users item, such as 000001F4, and then click Export. Important WARNING: You cannot delete key values arbitrarily, otherwise fatal errors can occur!

Step three: When needed, double-click the exported reg file, import the registry file to restore the user password when exporting, or migrate to the new computer.

   Method 2:

The first step: Download the Psu.exe tool (download address: Http://www.newhua.com/cfan/200502/psu.rar) and save it to the "C:\WINNT\system32" folder.

Step two: Open the command Line Prompt window, enter the psu-p regedit.exe-i winlogon_pid command, and open Registry Editor. Where the Winlogon_pid value is the PID number of the Winlogon.exe process. Right-click the desktop taskbar, select Task Manager, or press Ctrl+alt+del to open Windows Task Manager and click the Processes tab to view the Winlogon.exe PID values. If the author of Windows XP Winlogon.exe PID value is 824, that is, enter the "Psu-p regedit.exe-i 824" command.

   Small Tips

If you do not see the PID values for the process in Windows Task Manager, click view → select columns, and then select the PID (process identifier) complex option, and click OK.

Step Three: Open Registry Editor, press F5 to refresh, and the [Hkey_local_machine\sam\sam] branch can be accessed. Then follow the second to third step of "Method 1".

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.