XADM: Error Message: Error 123: The Filename, Directory Name, or Volume Label Syntax Is Incorrect

Article translations Article translations
Article ID: 318746 - View products that this article applies to.
This article was previously published under Q318746
Expand all | Collapse all

SYMPTOMS

When you (as an administrator) try to start a service in the Services tool in Control Panel, you may receive the following error message:
Could not start the Microsoft Exchange Information Store service on Local Computer.

Error 123: The filename, directory name, or volume label syntax is incorrect.
The following error message may be logged in the System log:
Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7000
Computer: SERVER
Description:
The Microsoft Exchange Information Store service failed to start due to the following error:
The filename, directory name, or volume label syntax is incorrect.
NOTE: These error messages come from the Services Control Manager and can occur for any service, not just the Exchange Server services.

WORKAROUND

To work around this issue, in the registry, make sure that the ImagePath value for the service that returned the error message does not contain any extra characters or spaces. To do so, you have to use Registry Editor.

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

To make sure that the ImagePath value for the service that returned the error message does not contain any extra characters or spaces:
  1. Start Registry Editor (Regedt32.exe).
  2. Locate the ImagePath string value under the following key in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS
    NOTE: This step applies to any service under the Services key in the registry.
  3. Open the ImagePath value on the right, and then make sure that it does not contain any extra colons (:), spaces, or characters.

    The following is an example of correct string value for the Exchange Information Store service:
    C:\Exchsrvr\Bin\Store.exe
  4. Quit Registry Editor.

MORE INFORMATION

You can use tools such as Regmon to track the service, program, or process that is adding the extra characters or spaces to the ImagePath value for that service. For additional information about Regmon, visit the following Sysinternals Web site:
http://www.microsoft.com/technet/sysinternals/default.mspx
Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Properties

Article ID: 318746 - Last Review: December 26, 2006 - Revision: 3.4
APPLIES TO
  • Microsoft Exchange Server 5.5 Standard Edition
Keywords: 
kberrmsg kbprb KB318746
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

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