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

Article translations Article translations
Article ID: 931092 - View products that this article applies to.
Expand all | Collapse all

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: May 14, 2007 - Revision: 2.0
APPLIES TO
  • Microsoft SoftGrid for Terminal Services
  • Microsoft SoftGrid for Windows Desktops
Keywords: 
kbtshoot kbexpertiseinter KB931092

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