What if your Windows system crashes? 6 strokes to fix Windows

  


1. Replace the user

The registry in the system mainly includes the system branch and the user branch. Some users have configured the system environment they use, which causes the login to appear. Various strange faults. Don't rush to install the system. In this case, you can change the item & nbsp; vest & rdquo; continue to debut. Log in to the system with an administrator account, then create a new administrator account in “Control Panel →User Account" and log in with this account. It should be noted that the original user's "My Documents" and some other private data are in the original account directory, you can back up in advance or log in with a new account and open "C:WindowsDocuments and Settings[Username]” .

2.Recover DLL registration status

There are many DLL files in the system. They are actually divided into two categories. There is no need to register standard DLL files and ActiveX DLL files that need to be registered. Some related data is left in the registry. Once the data is destroyed or does not exist at all, an error occurs when calling these DLLs. There are many such DLL files that need to be registered and are related to system functions. When a system function fails, how can you find out the troublesome DLL and re-register it? A better way is to re-register all …&hellip ; Open “Notepad” Enter the following code and save it as regdll.bat, execute it and restart after completion.

@echo off

for %1 in do regsvr32.exe /s %1

3. Full recovery of the initial registry

System initialization, and It's not just the way to reinstall the system. In the system directory, there is a subdirectory dedicated to the registry database file, and the good news is that there is a subdirectory dedicated to the backup of the database database file when the system is newly installed, in the event of system failure When restoring, restore the backup to the current registry database, you can "initialize" the system back to the state when you just installed the system. Since the registry database file is always locked by the system after booting, it needs to be operated under DOS. If it is a dual system, it can be directly operated to another system. Users of the NTFS partition can use the "Recovery Console". ”. At the command prompt, use the CD command to switch the current directory to the subdirectory of the %windir%Repair” and execute the following command:

copy sam %windir%system32config

copy system %windir%system32config

copy software %windir%system32config

copy default %windir%system32config

copy security %windir%system32config

4. Last time Correct Configuration

Many system failures are related to hardware drivers. Sometimes a new version of the driver seems to improve performance, but it may cause system compatibility problems when actually installed on your system. It is not uncommon for the system to fail to enter Windows properly after the driver. “The last correct configuration” is designed for this situation. When you are unable to start normally due to the new driver or system configuration, reboot and press F8 during this process. In the “Advanced Startup Options” & rdquo; menu select “ last correct configuration & rdquo;, the system will use the registry data backup system in the normal state of backup, generally can enter the system.

5. Repair system files

Recovery configuration can only repair the data in the registry. If the system file itself is damaged, you need to use other methods. System file corruption can cause system instability, and even cause it to fail to boot properly. The correct method is to use the system command SFC to scan the system files. If any files are found to be corrupted, you will be asked to insert the installation CD and restore the original files. Click “Start →Run”, type ““sfc /scannow” in the run box to start checking after you press Enter, and restart after completion. If the system on the installation CD is older, it is recommended to use a patched CD to fix it so that the file is not restored to the old version.

6. System Restore

Windows XP's system restore function is not like Windows Me's "chicken ribs", this function can be used to restore the system perfectly before the problem occurs. status. If you can still enter the system, click “ Start → Programs & Rarr; Attachments & Rarr; System Tools & Rarr; System Restore & rdquo; In the pop-up System Restore Settings Wizard, select “ Restore my computer to an earlier time ”, click the “Next” button. In the pop-up system restore point list window, you can select the restore point to be restored. Generally, if the problem just appears, select a restore point that is closer to the current date. If you can't start even if “Safe Mode” can't be started, you can press F8 to select “Enter Security Mode with Command Prompt”, and then type ““C:windowssystem32estorestrui.exe” Run System Restore in the command prompt. .

With these 6 methods in mind, you can fix it the next time you encounter a system strike.

PS: To learn to use GHOST to back up the system frequently, and to make changes to the registry, it is best to back up in advance, just in case!

Copyright © Windows knowledge All Rights Reserved