You are currently offline, waiting for your internet to reconnect

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

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
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: 12/07/2015 08:23:22 - Revision: 2.0

Microsoft Windows XP Professional

  • kbnosurvey kbarchive kberrmsg kbprb kbsetup KB314543