Error message when you use a Windows XP-based computer to share files over a network: "Error: Server service not started"


When you use a Microsoft Windows XP-based computer to share files with another user over a network, you receive the following error message:

Error: Server service not started
Additionally, when you try to start the Server service, the service does not start. Instead, you receive the following error message:
Error 126: The specified module cannot be found


This problem occurs if the Srvsvc.dll file is missing or corrupted.


To resolve this problem, extract a new copy of the Srvsvc.dll file from the Windows XP disk to the %systemroot%\system32 folder on the computer's hard disk. To do this, follow these steps:
  1. Insert the Windows XP disk into the computer's CD drive. Press and hold down SHIFT as you insert the disk to prevent the Windows XP installation process from starting automatically.
  2. Click Start, click Run, type cmd in the Open box, and then click OK.
  3. At the command prompt, type expand CD drive:\i386\srvsvc.dl_ %systemroot%\system32\srvsvc.dll, and then press ENTER.

    • Make sure that there is a character space between "srvsvc.dl_" and "%systemroot%."
    • CD drive represents the letter of the computer's CD drive. And %systemroot% represents the path and folder in which the Windows system files are located. For example, assume that the letter of the computer's CD drive is E and that the folder that contains the Windows system files is C:\Windows. In this situation, type the following at the command prompt, and then press ENTER:
      expand E:\i386\srvsvc.dl_ C:\Windows\system32\srvsvc.dll
  4. After the command runs successfully, click OK.

  5. To close the command prompt, type exit, and then press ENTER.
  6. Restart the computer.

Article ID: 922376 - Last Review: Jun 20, 2014 - Revision: 1