Microsoft KB Archive/931806

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 10:26, 21 July 2020 by X010 (talk | contribs) (Text replacement - ">" to ">")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 <REGISTRY> 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.

  1. During the monitoring phase of the Installation Wizard, start Registry Editor.
  2. Expand the following registry key:

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

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

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.

  1. Start Registry Editor.
  2. Expand the following registry key:

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

  3. Right-click (Default), and then click Modify.
  4. Clear the Value data box, and then click OK.
  5. Right-click InProcServer32, click Export, and then save the .reg file.
  6. Exit Registry Editor.
  7. Open the .osd file by using a text editor.
  8. Type the <SCRIPT> element and the child elements in the <DEPENDENCY> element as follows.

    <DEPENDENCY>
      <SCRIPT TIMING="PRE" EVENT="LAUNCH" PROTECT="TRUE" WAIT="TRUE">
        <HREF>%SystemRoot%\regedit.exe /s "PATH/FILENAME.reg"</HREF>
      </SCRIPT>
    </DEPENDENCY>
  9. Save the .osd file, and then exit the text editor.

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.

  1. Open the .osd file by using a text editor.
  2. Type the <REGISTRY> element and the child elements in the <VIRTUALENV> element as follows.

    <VIRTUALENV>
      <REGISTRY>
        <REGKEY HIVE="HKCR" KEY="CLSID\{5b4dae26-b807-11d0-9815-00c04fd91972}\InProcServer32">
          <REGVALUE REGTYPE="REG_STRING"></REGVALUE>
        </REGKEY>
      </REGISTRY>
    </VIRTUALENV>
  3. Save the .osd file, and then exit the text editor.


Keywords: kbhowto kbexpertiseinter KB931806