Picture Manager does not start when you double-click a file on a computer that is running Terminal Services (922688)



The information in this article applies to:

  • Microsoft Office Professional Edition 2003
  • Microsoft Office Basic Edition 2003
  • Microsoft Office Small Business Edition 2003
  • Microsoft Office Standard Edition 2003
  • Microsoft Office Students and Teachers Edition 2003

Important This article contains information about how to modify the registry. Make sure to 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

SYMPTOMS

When you use Microsoft Office Picture Manager on a computer that is running Terminal Services, you may experience the following symptoms:
  • The icons for graphics files such as .jpg files, .gif files, and .png files are displayed as the default Microsoft Windows icon.
  • When you double-click a graphics file, Picture Manager does not start as expected. Instead, the Open With dialog box is displayed.
This problem does not occur for users who are members of the Administrators group or of the Power Users group.

Notes
  • This problem occurs only with file name extensions for which Picture Manager is registered as the default application.
  • Picture Manager is included with Microsoft Office 2003.

CAUSE

This problem occurs because of inappropriate permissions in the following registry subkeys:
  • HKEY_CLASSES_ROOT\OISgiffile
  • HKEY_CLASSES_ROOT\OISbmpfile
  • HKEY_CLASSES_ROOT\OISemffile
  • HKEY_CLASSES_ROOT\OISjpegfile
  • HKEY_CLASSES_ROOT\OISpngfile
  • HKEY_CLASSES_ROOT\OIStiffile
  • HKEY_CLASSES_ROOT\OISwmffile
Note You may be unable to find these registry subkeys. This issue occurs because graphics files, such as .jpg files, are previously associated with another application. Therefore, you may have to find those subkeys that are similar to the subkeys that are in the list, and then verify the permissions for those subkeys.
The first time that Picture Manager runs after it is installed, the administrator is presented with the option to register it as the default application for different kinds of graphics files. Picture Manager cannot create the appropriate set of permissions for the registry subkeys.

When you double-click a file, for example, a .gif file, the shell (Explorer.exe) locates the registry subkey for the file name extension in the HKEY_CLASSES_ROOT subkey to locate information about the file name extension. The shell then uses the value data of the Default registry entry to determine how the operating system perceives the file. For example, on a computer on which Picture Manager is installed, the registry subkey for .gif files is OISgiffile. The shell then locates the OISgiffile registry subkey to determine what action to complete.

When Picture Manager is registered as the default application for .gif files, users have read-only permission for the OISgiffile registry subkey. However, users have no access to the subkeys of the OISgiffile subkey. For example, users have no access to the shell subkey.

Because users cannot access the subkeys, the shell correctly handles the error. Then, the shell displays the Open With dialog box.

WORKAROUND

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 your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To work around this problem, grant users read access to the following registry subkeys and their subkeys:
  • HKEY_CLASSES_ROOT\OISgiffile
  • HKEY_CLASSES_ROOT\OISbmpfile
  • HKEY_CLASSES_ROOT\OISemffile
  • HKEY_CLASSES_ROOT\OISjpegfile
  • HKEY_CLASSES_ROOT\OISpngfile
  • HKEY_CLASSES_ROOT\OIStiffile
  • HKEY_CLASSES_ROOT\OISwmffile
To do this, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then right-click the following registry subkey:

    HKEY_CLASSES_ROOT\OISgiffile

  3. Click Permissions, click the group or the user to whom you want to grant permissions, and then click to select the Allow check box for the Read permission.
  4. Click Advanced, click to select the Replace permission entries on all child objects with entries shown here that apply to child objects check box, and then click OK.
  5. Repeat steps 2 through 4 for the following registry subkeys:
    • HKEY_CLASSES_ROOT\OISbmpfile
    • HKEY_CLASSES_ROOT\OISemffile
    • HKEY_CLASSES_ROOT\OISjpegfile
    • HKEY_CLASSES_ROOT\OISpngfile
    • HKEY_CLASSES_ROOT\OIStiffile
    • HKEY_CLASSES_ROOT\OISwmffile

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Microsoft is researching this problem and will post more information in this article when the information becomes available.

Modification Type:MajorLast Reviewed:8/7/2006
Keywords:kbExpertiseInter kbTermServ kbtshoot kbprb KB922688 kbAudITPRO