Error Message "The Workstation Service Has Not Been Started" When Using Cmdlines.txt

Article translations Article translations
Article ID: 314543 - View products that this article applies to.
Expand all | Collapse all

Symptoms

When you try to run the net use command from the Cmdlines.txt file, you receive the following error message:
The Workstation Service has not been started.

More help is available by typing NET HELPMSG 2138
If you start a command prompt session during the graphical phase of Setup by pressing SHIFT+F10, you can run Ipconfig.exe and verify that you have an IP address. You can also ping the computer to which you want to connect, but you receive the error message if you use the net use command.

Cause

This problem is caused by a missing entry in the Hivesys.inf file that creates the following registry key:
HKLM\System\CurrentControlset\Control\NetworkProvider\order

Resolution

To work around the issue, modify the Hivesys.inf file on the Windows XP distribution share.

NOTE: Editing .inf files incorrectly can cause fatal errors to occur during the Setup process. Microsoft recommends that you create a backup copy of the Hivesys.inf file before you modify the file.
  1. Use a text editor such as Notepad.exe to open the Hivesys.inf file on the distribution share.
  2. Add the following line to the file:
    HKLM,"SYSTEM\CurrentControlSet\Control\NetworkProvider\Order",,0x00000012
    When you are finished, the file appears as:
    HKLM,"SYSTEM\CurrentControlSet\Control\NetworkProvider\HwOrder",,0x00000012
    ;Newly added line below.
    HKLM,"SYSTEM\CurrentControlSet\Control\NetworkProvider\Order",,0x00000012
    ;Ends here.
  3. Save and then close the file.

More information

The Cmdlines.txt file is used during unattended installations to run commands near the end of the graphical portion of Setup.

Properties

Article ID: 314543 - Last Review: June 19, 2014 - Revision: 2.0
Applies to
  • Microsoft Windows XP Professional
Keywords: 
kberrmsg kbprb kbsetup KB314543

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com