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

This article has been archived. It is offered "as is" and will no longer be updated.
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.
<SCRIPT EVENT="LAUNCH" TIMING="PRE" PROTECT="FALSE" WAIT="TRUE">    <HREF>regedit /s "%TEMP%\SoftGrid_CMD_Settings.reg"</HREF></SCRIPT><SCRIPT EVENT="SHUTDOWN" TIMING="POST" PROTECT="TRUE" WAIT="TRUE">    <HREF>regedit /s /e "%TEMP%\SoftGrid_CMD_Settings.reg" "HKEY_CURRENT_USER\Console"</HREF></SCRIPT>
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Properties

Article ID: 931092 - Last Review: 01/15/2015 01:37:03 - Revision: 2.0

  • Microsoft SoftGrid for Terminal Services
  • Microsoft SoftGrid for Windows Desktops
  • kbnosurvey kbarchive kbtshoot kbexpertiseinter KB931092
Feedback