Microsoft KB Archive/931806

= How to remove the toolbar from Internet Explorer when you run Internet Explorer in a virtual environment in SoftGrid Client =

Article ID: 931806

Article Last Modified on 4/28/2007

-

APPLIES TO


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

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



INTRODUCTION
This article describes how to remove the toolbar from Microsoft Internet Explorer when you run Microsoft SoftGrid Client.



MORE INFORMATION
This article describes how to completely remove the toolbar from Internet Explorer when you run Internet Explorer in a virtual environment in SoftGrid Client. This toolbar contains the following menus:
 * File
 * Edit
 * View
 * Favorites
 * Tools
 * Help

You can remove the toolbar by modifying the Menu Band CLSID registry subkey in the virtual registry. You can perform this registry modification when you create, update, or start the sequence.

When this modification is started, you can apply it to the virtual registry by modifying the .osd file to import a .reg file or to use the  element.

Note The information in this article applies to Microsoft Internet Explorer 6 Service Pack 1 (SP1).

How to use Registry Editor from the Sequencer to apply the Menu Band subkey modification to the virtual registry
To do this, follow these steps.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.  During the monitoring phase of the Installation Wizard, start Registry Editor. Expand the following registry key:

HKEY_CLASSES_ROOT\CLSID\{5b4dae26-b807-11d0-9815-00c04fd91972}\InProcServer32

 Right-click (Default), and then click Modify. Clear the Value data box, and then click OK. Exit Registry Editor. Click Stop Monitoring, and then complete the wizard.</li> Click the Virtual Registry tab.</li> Expand REGISTRY, expand MACHINE, expand Software, expand Classes, and then expand CLSID.</li> Right-click {5b4dae26-b807-11d0-9815-00c04fd91972}, point to Key, and then click Override Local Key.</li> Save the sequence.</li></ol>

How to modify the .osd file by importing the .reg file
This section describes how to modify the .osd file to apply the Menu Band registry modification to the virtual registry when you start an application by using the <SCRIPT> element to import a .reg file.

To create the .reg file, you must modify and then export the registry. Perform these modifications from the sequencing station without the Sequencer running. <ol> Start Registry Editor.</li> Expand the following registry key:

HKEY_CLASSES_ROOT\CLSID\{5b4dae26-b807-11d0-9815-00c04fd91972}\InProcServer32

</li> Right-click (Default), and then click Modify.</li> Clear the Value data box, and then click OK.</li> Right-click InProcServer32, click Export, and then save the .reg file.</li> Exit Registry Editor.</li> Open the .osd file by using a text editor.</li>  Type the <SCRIPT> element and the child elements in the <DEPENDENCY> element as follows. <DEPENDENCY> <SCRIPT TIMING=&quot;PRE&quot; EVENT=&quot;LAUNCH&quot; PROTECT=&quot;TRUE&quot; WAIT=&quot;TRUE&quot;> <HREF>%SystemRoot%\regedit.exe /s &quot;PATH/FILENAME.reg&quot;</HREF> </SCRIPT> </DEPENDENCY> </li> Save the .osd file, and then exit the text editor.</li></ol>

Review the .reg files for information that should not be imported, as shown in the following sample .reg file. Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{5b4dae26-b807-11d0-9815-00c04fd91972}\InProcServer32] @=hex(2):00,00

The .reg file can reside in the sequence or in a remote network location. Make sure that the user who starts the application has access to the .reg file.

How to modify the .osd file by using the <REGISTRY> element
This section outlines how to modify the .osd file to apply the Menu Band registry modification to the virtual registry when you start an application by using the <REGISTRY> element. <ol> Open the .osd file by using a text editor.</li>  Type the <REGISTRY> element and the child elements in the <VIRTUALENV> element as follows. <VIRTUALENV> <REGISTRY> <REGKEY HIVE=&quot;HKCR&quot; KEY=&quot;CLSID\{5b4dae26-b807-11d0-9815-00c04fd91972}\InProcServer32&quot;> <REGVALUE REGTYPE=&quot;REG_STRING&quot;></REGVALUE> </REGKEY> </REGISTRY> </VIRTUALENV> </li> Save the .osd file, and then exit the text editor.</li></ol>

Keywords: kbhowto kbexpertiseinter KB931806

-

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

© Microsoft Corporation. All rights reserved.