Windows XP/2003 system service backup and protection

  
It is very important to back up the system services before they are configured and managed. Once an error occurs, it can be restored to the normal state immediately. Here, we introduce direct backup of the service-related content in the registry. 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 and save the registry contents under this branch 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 can't restart the corresponding service, which creates 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. Put the Windows XP installation CD into the CD-ROM drive and set the CD-ROM boot 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 "recovery console" 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 system help in Windows XP by first setting the startup type of the service to disabled and then re-enabling 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 the “disable helpsvc” command. 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