Introducing the functions of Win XP/2003 system service backup and protection

  

In Windows 2000/XP/2003 system, a service is a program, routine or process that performs specified system functions to support other programs, especially the lower layer ( Close to the hardware) program, today we will explain the Win XP/2003 system service backup and protection function, which is very important, use this function, once the system error occurs, you can immediately return to the normal state.

1. Backing up system services

Before configuring and managing system services, it is very important to back them up. Once an error occurs, you can immediately return to the normal state. Here, we introduce direct backup of the service-related content in the registry.

(1) Run the Registry Editor and expand the registry HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services.

(2) Click the "File → Export" menu command, in the dialog box that appears, click the "Select Branch" option to export the registry contents under this branch and Save as a REG file. If you need to restore the system service, you can directly double-click the REG file to import the registry.

2. Disaster Protection

If you accidentally disable an important service due to your misuse, Windows will not start, so you cannot restart the corresponding service. It has caused a vicious circle. In this case, we can only use the system console for manual recovery. In the system console, we are free to launch any service or control service startup type.

Insert the Windows XP installation CD into the CD-ROM drive and set the CD-ROM drive to priority in the BIOS. Start the computer and enter the "Welcome to the installer" interface, follow the prompts, press the R key to enter the windows xp <; failure recovery console & rdquo; interface. Select the system you need to repair and type the system administrator password.

At the command prompt, we need to use the “Enable” and “Disable” commands. The command format of Enable is "ld_;enable [service_name] [startup_type]”;Disable command format is "disable [service_name]”. Here, [service_name] is the name of the service or device that you want to enable/disable, and [startup_type] is the type of startup that indicates a different startup type. Available types include Service_disabled, Service_boot_start, Service_system_start, Service_auto_start, and Service_demand_start.

Let's take the example of disabling the system help in windows xp, first set the startup type of the service to disabled, and then re-enable it.

(1) Enter the "Recovery Console" interface, run the "listsvc" command to view the running status of various services, here we can see that the system help service is started, enter "ld" ;disable helpsvc” command and press Enter to disable the system help service.

(2) If you need to restart the service and set the service to run automatically with the system, you can enter the “enable helpsvc service_boot_start” command to enter.

Copyright © Windows knowledge All Rights Reserved