Windows XP operating system forgot the password solution

  
Many friends will encounter the Windows XP operating system forgot the password, although it is not a big event, but sometimes eaten, here are a few ways for everyone. Method 1: (1) Start the computer and use the DOS boot disk (for example: Windows98 boot disk) to enter the pure DOS state. (2) At the DOS prompt, follow the steps below: cd\\ (switch to the root directory) cdwindows\\system32 (switch to the system directory) mkdirtemphack (create temporary folder) copyLogon.scrtemphackLogon.scr (backup Logon.scr) copycmd .exetemphackcmd.exe (backup cmd.exe) delLogon.scr (delete Logon.scr) renamecmd.exeLogon.scr (change cmd.exe to Logon.scr) exit (exit) (3) restart the computer, appear on the login waiting screen After quietly waiting, if the screen saver time is not modified, the system will automatically start the login screen saver program in about 10 minutes, but since Logon.scr has been replaced by cmd.exe, the system starts cmd.exe and enters the command line. Prompt. (4) At this point, we can use the command: netuserpassword to change the password. Assuming that a super administrator's account is Admin and you want to reset the password to admin, you can use the command: netuserAdminadmin to change the password after you press Enter. (5) Next, do you want to enter the desktop system to see what is on the hard disk? Try entering the Explorer command at the command line prompt. Is it very smooth to enter the Windows desktop? Tip If you have a normal user account, you can turn it into a super administrator Administrator account with a few changes. Back up Logon.scr and usermgr.exe, replace cmd.exe in the second step with usermgr.exe, then restart and wait quietly. This is not the command prompt, but the user manager. We have the authority to add ourselves to the Administrator group. Method 2: Since Windows XP is installed by default in the installation process, many friends have not noticed setting a password for it. Instead, they create a personal account according to the requirements. After entering the system, they will use this account to log in, and The created user account is only displayed in the Windows XP login interface, without the Administrator. The actual account still exists and the password is empty. Know this principle, you can start normally, after the login interface appears, press Ctrl+Alt, then press Del twice, the classic login screen will appear, then fill in the Administrator name in the user name, the password is empty Enter, then, you can go to “Control Panel""Users & Passwords" to modify the password of the user you want to modify. Displaying a message prompt before the password expires By default, Windows XP will display a message to the user 14 days before the password expires. If you want to change the number of days, open “Registry Editor”, find [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\WindowsNT\\CurrentVersion\\WinLogon], double-click the “PasswordExpiryWarning” double-byte value in the right pane, according to your own The number of days that need to be set in advance. When you resume from standby, do not enter a password to open the “ control panel & rdquo; → power options, click the “ advanced & rdquo; tab, and then <; when the computer resumes from standby, prompt to enter the password & rdquo; cancel. Another trick for not expiring passwords Windows XP will remind you to change your password 14 days before the password expires. In addition to canceling the reminder by modifying the registry, we can also type: lusrmgr.msc in the "Run” command, press Enter, in the pop-up LocalUsersandGroUPS dialog box, select the "User" folder, on the right Find the user name you are using in the window, for example: Format. After double-clicking, the “Format” property dialog box will pop up, just check the “Password never expires” checkbox. Login screen when exiting screen saver with password In Windows XP, if screen saver and password protection are set, the screen is locked when the screen saver is exited, and the welcome screen is displayed. How can I log in to the screen when I exit the screensaver? Click “My Computer”→“Control Panel”→“Display”, under < screen saver" in the "Screensaver" tab, click “ Protection program & rdquo;. Check the “Password Protection” checkbox to uncheck the "Show welcome screen" If you want to display the login interface when you turn it on, you need to go further. Double-click “user account" in the “Control Panel", open the “user account" window, click “change user login or logout method&rdquo ;, cancel the "Use welcome screen" in front of the check. In this way, whether you log in or return from the screen saver, you will go directly to the login screen instead of the welcome screen. Creating a password reset disk Before using Windows 2000, many users have encountered the problem of not being able to enter the system because they have forgotten their password. In Windows XP, you can create a password reset disk, so when you forget your password. You can use it to reset a password. Click Start → Control Panel, then click User Account; click on your account name below; in the pop-up User Account dialog box, select “Create a password reset disk”, follow the wizard's instructions to complete the password reset disk. Production. Be careful to keep the disk in a safe place, as anyone can use it to access your local user account. Find a password prompt Do you worry about not remembering your login password? It doesn't matter. When the password is initially generated, you can generate a prompt at the prompt. Windows XP will save the password prompt in the registry [Hkey_local_machine\\Software\\Microsoft\\Windows\\CurrentVersion\\Hints]. Limit the number of automatic logins This setting is used to limit the number of automatic logins. Once the limit is reached, the automatic login function is disabled and the system displays a standard authentication window. Open “Registry Editor”, find [HKEY_LOCAL_MACHINE\\Software\\Microsoft\\WindowsNT\\CurrentVersion\\WinLogon], create a string value named AutoLogonCount in the right pane, and set its value to the number of automatic logins. This way, each time the system is started, the number of automatic logins will be reduced once, until it is zero. Then automatic login is not allowed. AutoLogonCount and DefaultPassword will be removed from the registry and AutoAdminLogon will be zero. Disabling the Shift key when logging in automatically When using the automatic login function, the user can ignore the login process by holding down the Shift key and enter another username and password to enter the computer. This trick can disable the Shift key feature when auto-login. The steps are as follows: Open the “Registry Editor” and find the [HKEY_LOCAL_MACHINE\\Software\\Microsoft\\WindowsNT\\CurrentVersion\\WinLogon] subkey and select it. Create a string value named IgnoreShiftOverride in the right window, and set its key value to 1. Exit & ldquo; Registry Editor & rdquo;, restart the computer. This way you can't interrupt the automatic login process by holding down the Shift key at startup. Let others access your computer to open “Control Panel”→“User Account", then click “Create a new account”, then enter another user account name and password in the wizard, and finally select its type Set to “Restricted", then click the “Create Account” button so others can log in to your computer. Allowing a designated user to log in only at a specific time. Parents may wish to limit their time to use their computer. Just follow the steps below and you can do it easily. However, this requires you to have Administrator privileges. First enter the "Command Line Prompt", take the Guest account as an example. If you need to set this account, you can log in from 9:00 am to 5:00 pm, Monday through Friday. You can use the following command: netuserGuest/time:M-F, 08:00-17:00, or netuserGuest/time:M-F, 9am-5pm. It will take effect after the carriage return. If you need to specify the time of day, then just follow the format: netuserGuest/time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00. The netuserGuest/time:all command allows the user to log in at any time. Watch out for your encrypted files Starting with Windows 2000, Windows can help you encrypt files in the NTFS file system partition. To do this, right click on the file or folder you want to encrypt and select “Properties", click the “Advanced” button on the "General" tab of the property, a window will pop up, select the window "Encrypt content to protect data" to encrypt files on NTFS volumes. Tip This is called EFS (EncryptingFileSystem, Encrypted File System). The advantage of this encryption is that the encryption process is completely transparent, that is, if you encrypt these files, your access to those files will be completely allowed (you don't need to enter the password because the authentication process is in your login to Windows) It was done at the time, while others could not access or move the data. However, if your Windows suddenly crashes, you can only reinstall the system if you have nothing to do, but the original encrypted data will not open. At this time, only in the domain environment, you can get help from the domain administrator to decrypt these files. This is because when you use EFS encryption, the system automatically generates a key based on your SID (SecurityIdentifier). To decrypt these files, you need to use this key. For the system, the different users are not distinguished according to the user name, but the SID is unique according to the SID. The relationship between the SID and the username is the same as the relationship between the person's name and the ID number. Although there are people with the same name and the same name, their ID numbers will never be the same; although they have the same username (on the network, because local users cannot have the same username), their SIDs are absolutely different. This explains why you can't open a previous encrypted file even after you reinstall the system even if you log in with your previous username and password. Therefore, it is best to decrypt the encrypted data before reinstalling the system. However, in order to cope with a sudden system crash, you need to back up your own key, so that after the system crashes, just reinstall the system and import the key, you can continue to use the previous encrypted file. To back up the key: Click “Start”→“Run”, enter: certmgr.msc.
Copyright © Windows knowledge All Rights Reserved