Use system commands to observe system changes.

  
System services, self-starting programs, and processes are the three major elements of the system. When optimizing the system or checking the safety, we often have to monitor the three major parts of the system. Although there are already a lot of professional software that can manage three major pieces, for Windows XP users, you can manage them by using the components and commands of the system itself.
Use the NET START command to monitor the service, and you will know at a glance. Many friends optimize the system by manually turning off unwanted services. However, due to the unfamiliarity of the services being shut down, there were some inexplicable failures after manually optimizing the system. For example, after a friend's computer performs system optimization, it is found that the Nokia mobile browsing service that was originally used in the system cannot be used. How do you know which services you should turn off? Now you can quickly discover the changed services with the NET START command. This command can find out the services that are currently open on the system and support redirecting output information to files.
1. Before performing system optimization (or the system is normal), start the command prompt and type "net start >d:\\services.txt”". In this way, the service opened by the current system can be output to d:\\services.txt, and we can use this as a reference for the normal state of the system service.
2. If the system service is adjusted and fails, as above, execute “ld start; net start >d:\\services1.txt” again, and output the optimized service status.
3. Continue to type “fc d:\\services.txt d:\\services1.txt” at the command prompt. Use the FC command to compare two files. We quickly learned that before and after optimization, a service called "ServiceLayer" changed (Figure 1).
4. Now click “Start →Run”, enter “services.msc” to open the system service management window. Follow the prompts to set the ServiceLayer service to "Automatic" and start the service to resolve the fault.
Small tip: In addition to the NET START command, we can also use sc query (listing current service details), sc query state= all (list all services, including hardware driver services), using methods similar to those described above. More detailed monitoring of the service.

Copyright © Windows knowledge All Rights Reserved