You do not need to reinstall Windows to easily solve the problem

Source: Internet
Author: User

Windows XP is a widely used operating system. Its Stability and ease of use are unquestionable. However, like a human being, it can cause headaches and headaches. It is not uncommon to have a cold or catch a cold. At this time, many people will think of reinstalling the system, however, the biggest trouble for reinstalling the system is that you need to back up the data before. Otherwise, it will be difficult to restore to the previous usage habits. Once a system cannot be started, you will have no chance to back up the data, what should you do now? I will give you a better answer here.
1. In Windows

If your computer can still enter the Windows environment, congratulations. In this case, even if the system has a problem, it will not be a big problem. In this case, the following methods are usually used:

1. Extract the missing important files from the installation disc

If Windows XP has been accessed, but the hacker finds that some files are missing, rundll32.exe is missing. The following describes how to restore the file: Click Start/run, and enter expand x: i386Rundll32 in this window .. ex _ c: windowssystem32Rundll32.exe (x indicates the drive letter, rundll. ex _ indicates the file to be decompressed. c: windowssystem32 indicates the target folder, which must be determined based on the actual situation) to restore the lost file to the system. Of course, you can also copy the file directly from other normal machines to the corresponding directory of the local machine.

In addition, you can use the Regsvr32 program file to restore the lost dll link file. During restoration, you must enter Regsvr32 a in the running window. dll (. dll indicates the lost link file). After you press enter, the file will be registered in the Registry, and then click "OK" in the pop-up dialog box.

2. DLL file recovery

The DLL file name is a dynamic link library file, which is usually stored in the Windowssystem32 folder. The file is lost or replaced, and can also be accessed to Windows, however, system errors often occur during application execution. This error can usually be caused by Sfc (System File Checker ). Sfc is a command line program that can run only in the "command prompt" Window of WindowsXP. To implement multiple functions, sfc provides multiple parameters in the following format: sfc/parameter 1/parameter 2 ......, Each parameter must be separated by a space. The following describes several main parameters for your convenience:

/Scannow: used to scan all protected system files. It is also a widely used parameter. It mainly replaces wrong system files with correct system files. This parameter can also be used to add the latest version of the protected system file to the DLLCache folder. During the operation, you may need the Windows XP installation disc and its patch file. If you do not have this disc, instead, the installation file is backed up on the hard disk. You can modify the Registry to complete this function. In the run window, enter the Regedit command to enter the registry editor window, find the hosts item, and modify Installation Sources, ServicePacksourcePath, and SoutcePath in the right window as the system installer path on the hard disk, in this way, you do not need to insert a Windows XP installation CD during the restoration process.

/Scanonce: scan the protected system files at the next startup. You also need to read the installation CD and patch files. This command is often used only when an error message is prompted when the/scannow command is executed.

/Scanboot: scans the protected system files every time the system is started. This may greatly reduce the startup speed. Generally, it is not used. The usage is the same as that of the/scanonce parameter.

/Purgecache: used to clear the File Cache (this file is under % systemroot % system32dllcache by default) and scan all protected system files immediately, the "/cachesize = x" parameter must be added later. This parameter is used to set the File Cache size, in MB. If this parameter is set to a small value, hard disk space can be saved, if you set a larger value to protect system files, more system files may be recovered as much as possible.

Generally, you can restore the system file by executing sfc/scannow. The time is generally about 10 minutes.

3. System Restoration

If sfc/scannow still fails, you may want to use the system restoration function to restore the system. This method is especially convenient when system faults occur after some software is added or deleted.

Choose Start> All Programs> accessories> System Tools> system recovery. Run the system recovery command to open the system recovery wizard ", select "Restore my computer to an earlier time", click "Next", select a date, and then follow the Wizard to restore it.

The System Restoration function mentioned above is operated in Windows XP. If you cannot access Windows XP, you can solve the problem as follows:

(1) restore the operating system in Safe Mode

If Windows XP can enter safe mode, the system can be restored in safe mode, in the same steps as "Restore origin ".

(2) restore the system in DOS mode

If the system cannot enter Safe Mode, press F8 at startup, select "Safe Mode with Command Prompt", log on as an administrator, go to the % systemroot % windowssystem32estore directory, and find the rstrui file, run the rstrui file directly and follow the prompts.

(3) restore the system when the Restore point is lost.

In Windows XP, the System Volume Information folder is preset, which is usually hidden and stores the backup Information restored by the System. Open the "show all files and folders" attribute and deselect "Hide protected System files". The "System Volume Information" folder is displayed on each disk. You can use this folder to recover data. Right-click my computer, select "properties"/"System Restore", cancel the "Disable System Restore on All Drives" check box, and click "Apply. This is done to recreate a Restore Point. Open the "System Restore" command to find the loss recovery point.

The preceding description is for FAT32 partitions. If the System partition is NTFS, you may encounter some trouble when starting the System Volume Information folder. Because you may not be added to the System Volume Information Security Attribute and cannot access the file. Right-click the folder and select "properties" from the shortcut menu. The System Volume Information Properties dialog box is displayed. Select the "Security" tab and click "add, open the "select user or group" window, click the "advanced" button in the lower-right corner of the window, and then click "Search now". All users and groups on the computer are listed, select the name of your current account or account group and click "OK ". In this way, the selected account is added to the System Volume Information security attribute to access the folder.

2. In a DOS environment


If the computer cannot enter Windows XP, you don't have to worry too much about reinstalling the system, because there are still some methods.

1. Security Mode

Press F8 when Windows XP is started and select "safe mode". If it can be started successfully, it will be restarted after exiting.

2. The last correct configuration

The basic operation is the same as the security mode, but it must be noted that the NumLock indicator on the keyboard should be disabled before you press Enter.

3. fault recovery platform

(1) console Installation

① Console hard disk installation

Insert the Windows XP installation disc, click "start"/"run", enter the i386winnt32.exe/cmdcons command, and press Enter. The "fault recovery console" Installation option is displayed in the displayed dialog box, and click "yes, after the computer is restarted, the "Microsoft Windows Recovery Console" menu is displayed in the "Start" menu. After selecting the menu, you can go to the "fault Recovery Console ".

② Console CD installation

First set the boot sequence to CD-ROM In the BIOS, then insert the WindowsXP installation disc boot system in the optical drive, when the screen shows "welcome to the installer", start the fault recovery console by R. Then the system will ask you to enter the administrator password, and then enter the fault recovery station. If multiple systems are installed, you need to use the optical tag key to select the recovery item. For a hard disk that uses SCSI or RAID, press the F6 key when it is started. To forget the administrator password, run Gpedit when Windows XP is started normally. choose "Local Computer Policy", "Computer Configuration", "Windows Settings", "Security Settings", "Local Policy", and "Security Options" in the Policy Editor ", in the window on the right, double-click "fault recovery console: Allow automatic system management-level Logon", right-click, select "start", and click "OK" to save the settings, you do not need to enter the password when entering the Recovery Console.

(2) "fault recovery console" Application

① Repair the damaged multi-Start Menu

If multiple operating system menus are lost for some reason, you can go to the fault recovery console and enter the Bootcfg/scan command to automatically scan and display the installed operating system, enter the Bootcfg/rebuild command, Press Y after the prompt appears, and enter the missing Start Menu item after the prompt "Enter the load identifier, after "Enter OS loading options", enter fastdetect and press enter to find the multi-system menu. In addition, you can enter the Bootcfg/add command to add menu items to the Startup menu.

② Repair System Boot Zone

If the boot fails due to some damage to the system boot area, you can go to the fault recovery console and enter Fixboot in the command line to repair the boot area.

③ Recover important system files

Some important files in the system are directly related to whether the startup is successful. For example, if the Ntldr file is lost, the system cannot be started. You can enter the console and enter the command line copy x: iw.tldr *. * c: Press enter to restart Windows XP. If some compressed files are lost, enter expand x: iplusa. ex _ c: windows (x indicates the drive letter,. ex _ indicates the file to be decompressed. c: windows refers to the target folder, which must be determined based on the actual situation) to restore the lost file to the system.

④ Enable or disable certain services or drivers

This function is mainly used when the system cannot be started due to the installation of some new programs. We may remove this service or program from the fault recovery console to bring the system back to life. The procedure is as follows:

Log on to the console, enter the Listsvc command, and press Enter. On the screen, all existing services and drivers in the current system and their status are displayed. Find the suspicious service or driver to be disabled, enter the program or service to be disabled by the command disable, and press enter to display the previous and completed status of the service on the screen; if you want to hire a program or service, you need to type the program or service to be disabled by Enable, and press Enter.

Related Article

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.