Microsoft KB Archive/264214

= Error Message: Unable to Synchronize the Environment Variables in the Windows Registry... =

Article ID: 264214

Article Last Modified on 1/27/2007

-

APPLIES TO


 * Microsoft Windows Millennium Edition

-



This article was previously published under Q264214



SYMPTOMS
When you start the System Configuration Utility (Msconfig.exe) in Microsoft Windows Millennium Edition, you may receive the following error message:

Unable to synchronize the environment variables in the Windows Registry with the environment variables in the legacy files Autoexec.bat and/or Config.sys.



CAUSE
This behavior can occur for either of the following two reasons:
 * A trailing space follows a statement in the Autoexec.bat file.

-or-
 * The Config.sys file contains a [MENU] entry for a multiple configuration.



RESOLUTION
To resolve this behavior, use the appropriate method.

Method 1: Trailing Spaces in the Autoexec.bat File
Use the System Configuration Utility tool (Msconfig.exe) to remove any trailing space characters from the Autoexec.bat file. To do this, follow these steps:
 * 1) Click Start, point to Programs, and then click Accessories.
 * 2) Select System Tools, and then click System Information.
 * 3) On Tools menu, click System Configuration Utility.
 * 4) On Environment tab, select TEMP variable, and then click Edit.
 * 5) In Variable Value box, remove the trailing space character from the text string.
 * 6) Click OK, click OK, and then click Yes to restart your computer.

Method 2: Multi-configuration Entry
Edit the Config.sys and Autoexec.bat files to remove the multiple configuration entries.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
If the Autoexec.bat file contains a trailing space in the SET TEMP= statement, you can also see a line of X's in the environment when you run the SET command at an MS-DOS prompt.

Additional query words: multi-config

Keywords: kbenv kbprb KB264214

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.