A few tips for emergency rescue of damaged Windows operating system

  

Many times we will find more and more problems with our system. If we use it, the system will not run very efficiently, and it will not even run normally. If you choose to reinstall the system, it will not only be troublesome, but it will also take a long time to wait. In fact, when the Windows system encounters a failure that cannot be started or runs incorrectly, we may wish to use the following six measures to quickly and effectively "First Aid" damaged Windows system, maybe it will gain miraculous effects!

1, system restore function

If we install Windows XP system in our computer, then in addition to the above method to rescue the damaged system, but also with the unique features of WindowsXP system & ldquo; system restore function & rdquo;, to restore the operating state of the Windows system to normal, the following is the specific implementation steps of the method:

Click & ldquo; start & rdquo; /& ldquo; program & rdquo; /& ldquo ;Accessory”/“System Tools”/“System Restore” command, in the System Restore Settings Wizard interface that pops up, will "Restore my computer to an earlier time" item selected, Then click the “Next” button; in the system restore point list window that pops up, we generally select a restore point that is closer to the current time to restore the system. Once the target restore point is selected, continue the order. By clicking the "Next" button, the Windows system can be automatically restored to the previous normal working state with the latest xp system download. It is worth mentioning that before using this function, we must create a suitable system restore point in time for the Windows system to run normally, so that it can be used in the future recovery system.


2, the last configuration

Windows 2000 or later operating system, after each successful startup will automatically back up the system registry, once we find the Windows system When it is not able to start normally, it is mostly the last time we made a wrong operation on the system or made a wrong installation of some software, which destroyed the relevant settings of the system registry. At this point, we can try to restart the computer system with the last successful startup configuration: just press the F8 function key in time to restart the system, call up the system boot menu, and then select “ last time correct The configuration of the project, in this case, the Windows system may be able to start normal.


3, repair system files

If some of the core files of the Windows system are accidentally damaged, then even if you use “last configuration”, Windows system It is also difficult to guarantee that it will start normally. If the Windows system only has a small number of system files damaged, then we may wish to use the built-in SFC scan repair command of Windows system to try to repair the damaged system files. Once the repair is successful, the Windows system starts again. Will return to normal. When repairing damaged system files, just click the “Start” and then “Run” dialog box. In the pop-up system run dialog box, enter the string command “sfc/scannow” and click the Enter key. After that, the command program will search and scan the system files at every corner of the system. Once the system file is found to be incorrect or the system file is damaged, it will automatically pop up a prompt interface, asking us to insert the Windows system. A CD-ROM is used to extract normal system files to replace abnormal system files, thereby achieving the purpose of repairing system files. If the system repair operation is successful, I believe that when we restart the computer system, we will not see any abnormality.


4, re-register DLL files

Windows systems are sometimes subject to frequent damage, mainly because many applications often share calls to some DLL files, once there are applications After the program is automatically uninstalled after use, the DLL files called by these applications are often deleted, so that when the Windows system or other applications in the system call the shared DLL files again, Naturally, an error will occur.

In the first-aid case, the Windows system is not working properly due to the loss of the system DLL file, we do not need to re-install the operating system, just need to re-register the DLL files that have been lost. Let the system return to normal operation. Considering that we don't know which DLL file is damaged or lost, we can use the following method to re-register all the DLL files of the system, instead of needing to be alone or Several DLL files are registered:


First open a file editing program like Notepad, and then enter the following command line code in the corresponding program interface:

@echooff

for%1in(%windir%/system32/*.dll)doregsvr32.exe/s%1

Save the above command line code as a batch with the extension BAT Processing the file, for example, here I assume that the code content is saved as a repair.bat file; secondly, create a shortcut icon for the repair.bat file, and drag and drop the shortcut icon directly to the system desktop, and wait until later in the system. When all DLL files are re-registered, we only need to double-click the shortcut icon of the repair.bat file, and the system will automatically start re-registering all DLL files. Once all the DLL files have been re-registered, we may try to run the Windows system again. I believe the system will be very normal at this time!


5, restore the original file

If the failure of the Windows system is not normal due to the system registry was accidentally destroyed, then we can use the regular copy Command to copy the original registry information of the system directly to the corresponding directory of the system, so that the purpose of recovering damaged system files can be quickly realized. Since the Windows system is successfully installed for the first time, the original registry information will be automatically saved to the Repair subdirectory under the system installation directory, so we only need to copy the registry information under the Repair subdirectory directly to the system configuration. The directory is fine:

If the local computer only has one operating system installed, then we may wish to use the Windows98 boot CD to boot the system to the DOS command line state; if two are installed in the local computer For the above operating system, you only need to switch the system to another system that can run normally; then in the DOS command line state, switch the current directory to the "%windir%/Repair" subdirectory status via the CD command. Next, and then execute the following string command:

copysam%windir%/system32/config

copysystem%windir%/system32/config

copysoftware%windir%/system32 /config

copydefault%windir%/system32/config

copysecurity%windir%/system32/config

Once The above string command execution process, the system displays a prompt asking whether to overwrite the previous file, we direct an affirmative answer it. After the system registry information is replaced by all the original registry files, we restart the system again, I believe the system will be able to run normally.


6. Logout of the current user

If the damaged part of the Windows system is caused by improper installation of software or improper settings of the software. If you do, then we can usually use the "delete current user" method to give first aid to the damaged Windows system, because the impact of the software on the system settings can only be limited to the currently logged in users, once in the current user state system If it doesn't work properly, we can completely log out the current user and log in to the system as another user, so that Windows can generally resume normal operation.

Before logging out of the current user and switching to other users to log in to the system, we need to open the control panel window of the system, then double-click the "User Account" item, and then click "<quo; Add the ” button to re-create a new login account, and set a suitable access password for the account, and set the corresponding account to super administrator privileges windows7 system download.

After logging in to the Windows system with another account, some important data saved in the current user directory may not be accessible. Therefore, before logging out the user, we need to open the system explorer window. Find the user directory corresponding to the current account. For example, if the current login system account is aaaa, then the system default account directory should be “C:/Windows/DocumentsandSettings/aaaa”, and all important data below the directory should be backed up. Go to a partition directory other than the system partition.

After doing the above preparations, we can now execute the "start”/“logout aaaa” command to log out the current login account and re-create it. The account is logged in to the Windows system. After successfully logging in to the Windows system with the new account, we restore the important data backed up to the new user directory corresponding to the current account, so that the damaged Windows system can restore the previous normal operation. The state is gone.

Copyright © Windows knowledge All Rights Reserved