Troubleshooting the Faulty Service in XP

  

Introduction

When the service has an intermittent failure in Windows XP, almost no information about the cause of the failure is generated. Therefore, it may be difficult to determine the cause of the problem. This step-by-step article describes how to use the Windows Debugging Tools to troubleshoot intermittent service failures.

To troubleshoot intermittent service failures, follow these steps:

1. At the command prompt, type the following command. Press ENTER after typing each command.

cd% systemroot% \\ system32
copy svchost.exe svchostdbg.exe
regedit

2. In the Registry Editor, click the name of the service failure occurs Corresponding children. This child is in the following subkey:

HKEY_LOCAL_MACHINE \\ SYSTEM \\ CurrentControlSet \\ Services

3. In the details pane, right-click the "ImagePath", then click "Edit" .

4. In the path shown in the Value data box, change "svchost.exe" to svchostdbg.exe and click OK.

5. Exit the Registry Editor.

6. Type the following command at the command prompt, and then press ENTER:

net start ServiceName

Replace ServiceName with the name of the failed service.

7. Right-click on the taskbar and click Task Manager.

8. In the Windows Task Manager, click the Processes tab.

9. On the View menu, click Select Columns.

10.Click to select the PID (Process Identifier) ​​check box, and then click OK.

11. Locate the service in the Image Name column. Then, note the corresponding process identifier (PID) for the service in the "PID" column.

12. At the command prompt, type the following command. Press ENTER after typing each command.

cd \\Program Files\\Debugging Tools for Windows
adplus -p PID -crash

Replace the PID with the PID of the failed service.

13. Wait for the service to malfunction.

14. After the service has failed, analyze the dump file for information that can help identify the cause of the problem. This information includes the last error that occurred. This dump file is located in the following folder:

C:\\Program Files\\Debugging Tools for Windows\\

Copyright © Windows knowledge All Rights Reserved