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


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.


This problem is caused by a missing entry in the Hivesys.inf file that creates the following registry key:


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:
    When you are finished, the file appears as:
    ;Newly added line below.
    ;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.


Article ID: 314543 - Last Review: June 19, 2014 - Revision: 2.0
Applies to
  • Microsoft Windows XP Professional
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