Microsoft KB Archive/931092

= Settings that are made in a Command Prompt window are not retained in Microsoft SoftGrid =

Article ID: 931092

Article Last Modified on 5/14/2007

-

APPLIES TO


 * Microsoft SoftGrid for Terminal Services
 * Microsoft SoftGrid for Windows Desktops

-



SYMPTOMS
Settings that are made in a Command Prompt window are not retained in Microsoft SoftGrid. These settings include settings for colors, for fonts, and for sizes.



CAUSE
This problem occurs because the Command Prompt window settings in the Virtual Registry are not available when you open the window.



WORKAROUND
To work around this issue, you can create a POST SHUTDOWN script to export the command prompt settings from the Virtual Registry when you exit the Command Prompt window. You can then create a PRE LAUNCH script to import these settings into the local registry when you open the Command Prompt window. This action lets the window use the Virtual Registry setting from the local registry.

The following example scripts must be added to the .osd file for the Command Prompt window between the DEPENDENCY element and the and /DEPENDENCY element.  regedit /s &quot;%TEMP%\SoftGrid_CMD_Settings.reg&quot;   regedit /s /e &quot;%TEMP%\SoftGrid_CMD_Settings.reg&quot; &quot;HKEY_CURRENT_USER\Console&quot;  Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbtshoot kbexpertiseinter KB931092

-

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

© Microsoft Corporation. All rights reserved.