How to do if win7 forgets the computer password

Time:2020-9-29

The computer has entered thousands of households, and now it has become a necessary tool for work and entertainment. Many of our important information will be saved in the computer. Therefore, many users have formed the good habit of encrypting the computer, but they have no good habit of recording and saving the password. At this time, some users will have a headache because they forget the login password What should we do? And now more and more people use win7 system, how to do if win7 computer password has been forgotten? The following small make up some simple methods for your reference, hoping to help you.

1、 Forget the power on password

Power on password refers to the password that you jump out after you turn on the computer. At this time, you have to enter the correct password to start the system. When this kind of password appears, you want to enter the computer’s BIOS settings are not available, so the security is relatively good (it is recommended that laptop computers do not set such passwords. Because once you forget the password and then lose the corresponding decryption disk, you have to go to the notebook manufacturer’s repair shop to burn money). Solution: open the chassis, take out the CMOS lithium battery on the motherboard, and put it in after a while (5-10 minutes), and the password will disappear automatically. Principle: because the power on password is set through BIOS, it will be stored in the CMOS on the motherboard. This kind of memory will disappear after a long power failure, so the password will disappear.

2、 Forget BIOS Setup password

The BIOS setting password is the password used to enter the BIOS for setting by pressing the corresponding key (different BIOS keys are different, aword and Ami’s Del) in the process of post. The power on password is also set here. This password protects the permissions of BIOS settings. It does not affect the start-up of the training system. Solution: can discharge through CMOS, but it is best to use debug to clear it. Because always fiddling with computer hardware, it will make its service life shorter. After starting the training system, enter the DOS environment and enter the debug command. At this time, the input prompt of “-” will appear, and then enter the following command

-o 70 10

-o 71 10

-q

I believe that through this practice, you can clear the password.

Principle: 70 and 71 are used in the command line, because the data access in CMOS is realized through the two I / O ports of 70 and 71. Port 70h is a byte address port, which is used to set the address of data in CMOS, while port 71h is used to read and write the data unit content in the CMOS address set by port 70h.

3、 Forget your Windows 98 login password

Some employees will restrict the login by changing the windows registry and the corresponding login method. If the input is incorrect, the corresponding information will be prompted and the login cannot be performed. If you don’t input the password, you can’t use LAN even if you log in. Solution: press the F8 key to call up the Startup menu and select safe mode before starting the training system after the computer starts self-test. Find the file with PWL suffix in it, then change its name or delete it, then change the login method, and the corresponding password will be automatically cleared.

Principle: the file with PWL as the file suffix is the password file with the file name as the login name. After deleting it, the corresponding password will disappear.

4、 Forget the login password of Windows NT / 2000

In order to ensure the security of Windows NT / 2000, it is generally required to set and practice the system login password. Solution: first of all, we should distinguish whether the file format of the system is fat or NTFS, because if it is NTFS, some boot disks can’t be used as files, because the training needs to change or delete files. If it is fat, you can start your computer with a normal Windows 98 boot disk, while NTFS requires other tools, such as ntfsdos, which can make files in NTFS file format by making two floppy startup disks. Use the boot disk to start the computer (now it is in DOS state), enter the partition where the system is located (such as disk C) and rename or delete the file C: Windows / system32 / config / Sam. if the next login password is blank, you can log in.

Principle: this file is equivalent to a database file in the training system to save the password of the current system user. After deleting or changing this file, the system will consider that there is no password, and a SAM file will be generated automatically at the next startup.

5、 Forget Windows XP login password

Solution 1Use the net command (assuming the user name forgetting the password is xxcxz)

We know that “net user” command is provided in Windows XP, which can add and modify user account information. Its syntax format is as follows:

net user [UserName [Password | *] [options]] [/domain]

net user [UserName {Password | *} /add [options] [/domain]

net user [UserName [/delete] [/domain]]

1. Restart the computer, press the F8 key immediately after the startup screen appears, and select “safe mode with command line”.

2. At the end of the running process, the system lists the selection menu of the super user “Administrator” and the local user “xxcxz”. The mouse clicks “Administrator” to enter the command line mode.

3. Type the command: “net user xxcxz 123456” to force the password of “xxcxz” user to “123456”. If you want to add a new user here (for example: the user name is ABCDEF, the password is 123456), please type “net user ABCDEF 123456 / add”. After adding, you can use the command “net local group administrators ABCDEF / add” to promote the user to the system management group “administrators” and make them have super permissions.

4. Restart the computer, select the normal mode to run, you can use the changed password “123456” to log in to the “xxcxz” user.

Solution 2Using “Administrator”

We know that in the process of installing Windows XP, you should first log in as “Administrator” by default, and then you will be required to create a new account so that you can log in with this new account when you enter Windows XP XP login interface will only show the created user account, not “Administrator”, but the “Administrator” account still exists and the password is empty.

When we understand this point, if we forget the login password, on the login interface, press and hold the CTRL + Alt key, and then press and hold the Del key twice, the classic login screen will appear. At this time, type “Administrator” in the user name, enter with the password blank, and then modify the password of “zhangbp”.

6、 Forget the Linux root login password

This is a different system from Microsoft. It has good security, and its kernel is free, but the practice is a little complicated. The root account is the default login password of the system administrator in Linux, which is equivalent to the administrator in Microsoft Windows NT / 2K. If you log in as root, you will have a lot of management and training authority. Since you can change the root password, then other user passwords will be a piece of cake. However, when changing the password, you must restart the computer, and methods like telnet may not be able to change it.

Solution 1. Lilo

1. When Lilo: prompts, type Linux single

The screen shows Lilo: Linux single

2. Press enter. After the computer starts, you can directly enter the Linux command line

3. #vi /etc/shadow

Delete the contents after root: and before the next: in the first line, that is, the line beginning with root,

The first line is similar to

root::……

preservation

4. Reboot. The root password is empty

Solution 2. Grub

1. When the grub screen appears, use the up and down keys to select the item that you usually start Linux (don’t choose DOS), and then press the e key

2. Use the up and down keys again to select the item that you usually boot Linux (similar to kernel / boot / vmlinuz-2.4.18-14 ro root = label = /), and then press the e key

3. Modify the command line you see now and add single. The result is as follows:

kernel /boot/vmlinuz-2.4.18-14 single ro root=LABEL=/

4. Press enter to return, and then press the B key to start, you can directly enter the Linux command line

5. #vi /etc/shadow

Delete the contents after root: and before the next: in the first line, which starts with root. The first line is similar to

root::……

preservation

6. Reboot. The root password is empty

Solution 3Take down the hard disk of this machine and hang it on other Linux system. The method is the same as the second one

Principle: in Linux training system, all kinds of files are placed in a fixed directory (UNIX is also the case), “/” is the root directory, and the login password of the training system is placed in the / etc directory. If the login password is encrypted, it is put in the shadow file; and the unencrypted file is put in the password file (because you haven’t used linux for a long time, so the file name is not clear). Find the corresponding user name to change the password, and delete the password in the corresponding item (because the content of this file is placed in a fixed format).

7、 Forget win7 password

Windows 7 system has been used for more than a year. If our win7 system has set a user password, what should we do if we forget the password? The security level of win7 system is higher than that of XP system. The solution to this problem is not the same as that under XP system.

The simplest way is: when the machine is turned on to the welcome interface, a prompt box for inputting the user name and password appears. Press Ctrl + Alt + delete? To jump out of the account window, and enter the user name? Administrator? Enter.

If the administrator account also has a password, can you do this?

Press F8 to select “safe mode with command line” when win7 system starts

Select “Administrator” to pop up the “command prompt” window

Add user? Net user ASD / add

Net localgroup administrators ASD / add

Restart? Select ASD to enter

Control panel – user accounts – users who forget their passwords – delete passwords

In addition to the above? There are two common cases of forgetting the password of win7 system?

1、 Forget your password? But you’re logged in.

In this case, it is relatively simple to solve this problem. First, enter the search box in the start menu mmc.exe ”? or press and hold Win + R? To open the operation window and input ” mmc.exe ”, click OK to enter the console. Open file add / remove snap ins? Locate local users and groups in the available snap INS on the left? Click Add finish? And then click OK. Expand local users and groups in the root node of the console, select user, right-click the user name on the right, and set password. There is no need to enter the original password.

2、 Forget your password? Unable to log in to the system.

1. Find a PE disk to start the computer

2. After entering PE, go to C + + windows / system32

(1) Change Magnify.exe and cmd.exe The owner of is? Administrators

(2) Change Magnify.exe and cmd.exe The permission administrators for is full control

(3) Change of name Magnify.exe by Magnify.exe1 Change of name cmd.exe by Magnify.exe

3. Change password

(1) Restart to Windows 7

(2) Enable magnifier

(3) The rest is very simple, enter the command “net user” to view the user name, and then enter the command “net user user name new password”. ? activate the administrator account and use net user administrator/ active:yes Finally, close the command prompt window and enter the new password just set in the login password box. See if you have successfully entered the system. In the end, don’t forget to change the files that were moved and renamed back. This is a serious back door.

4. Forget your password? Unable to log in to the system. This situation is more troublesome to handle. I have tried security mode, win7 system disk repair and winpe? Login, but I can’t modify the system files. It seems that the previous Vista method can’t be used. My method is similar to that of logging in to winpe to modify files. I need an Ubuntu installation CD here? My version is 8.10 desktop. Choose CD boot? Enter the Ubuntu installation interface? Select language? Then go to the first item “Try Ubuntu without changing…”. Next, wait for the file to be loaded? The time will be a little longer? After entering the desktop? Open the folder X of win7: Windows / system32? Click the osk.exe ”Cut to other position cmd.exe ”Change name to ” osk.exe ”? and then restart from the hard disk. At this time, click the “win7” button in the “easy start” screen, and then click the “OK” button to access the “win7” screen. The rest is very simple, enter the command “net user” to view the user name, and then enter the command “net user user name new password”. Finally, close the command prompt window and enter the new password just set in the login password box. Let’s see if we’ve successfully entered the system. Finally, don’t forget to change the previously moved and renamed files back.