You may be unable to install a program that tries to register extensions under the IQueryForm registry entry in Windows Server 2008 or in Windows Vista

You may be unable to install a program that tries to register extensions under the IQueryForm registry entry in Windows Server 2008 or in Windows Vista

Article ID : 953582
Last Review : June 2, 2008
Revision : 1.0

SYMPTOMS

You may be unable to install a program that tries to register extensions under the IQueryForm registry entry in Windows Server 2008 or in Windows Vista. Or, the installation may be completed, and the program may not work as expected.

Note A program that will use the IQueryForm interface must register extensions under the following registry subkey:

HKEY_CLASSES_ROOT CLSID {8A23E65E-31C2-11d0-891C-00A024AB2DBB} Forms

For more information, visit the following Microsoft Web site:

http://msdn.microsoft.com/en-us/library/ms677262(VS.85).aspx (http://msdn.microsoft.com/en-us/library/ms677262(VS.85).aspx)

For example, assume that a program tries to register its Class ID for Active Directory Users and Computers search extension. In this case, you receive an Access Denied error in the program log.

Note The exact error message that is reported by the program log varies depending on the specific program.

Back to the top

CAUSE

This issue occurs because the Forms registry key is protected by the Windows Resource Protection (WRP) feature. The Administrators group does not have permissions to modify the Forms registry key. By default, only the TrustedInstaller has Full Control permissions to this registry key in Windows Vista and in Windows Server 2008.

Back to the top

RESOLUTION

To resolve this issue, you must take ownership of the Forms registry key as an administrator. To do this, follow these steps.

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 (/Feedback.aspx?kbNumber=322756/) How to back up and restore the registry in Windows
1. Log on as an administrative user.
2. Click StartStart, type regedit in the Start Search box, and then click regedit in the Programs list.

User If you are prompted for an administrator password or for confirmation, type your password, or click Continue.

3. Locate the following registry subkey:

HKEY_CLASSES_ROOT CLSID {8A23E65E-31C2-11d0-891C-00A024AB2DBB} Forms
4. Right-click Forms, click Permissions, and then click Advanced.
5. On the Owner tab, click Administrators (Computer_Name Administrators), and then click to select the Replace owner on subcontainers and objects check box.
6. Click Apply, and then click OK two times.
7. Exit Registry Editor.
8. Install the IQueryForm program. Or, if you performed these steps after you installed the program and if the program still does not work, reinstall the program.

Back to the top

MORE INFORMATION

The IQueryForm interface is implemented by a query form extension object. This object enables the form object to add forms and pages to the system-supplied query dialog box that can be used to query the Active Directory directory service.

Back to the top

REFERENCES

For more information about Windows Resource Protection (WRP), visit the following Microsoft Developer Web site:

http://msdn2.microsoft.com/en-us/library/aa372868.aspx (http://msdn2.microsoft.com/en-us/library/aa372868.aspx)

For more information about TrustedInstaller, visit the following Microsoft Web site:

http://technet.microsoft.com/en-us/magazine/cc138011.aspx (http://technet.microsoft.com/en-us/magazine/cc138011.aspx)

Back to the top


APPLIES TO
• Windows Web Server 2008
• Windows Server 2008 for Itanium-Based Systems
• Windows Server 2008 Enterprise
• Windows Server 2008 Enterprise without Hyper-V
• Windows Server 2008 Datacenter
• Windows Server 2008 Datacenter without Hyper-V
• Windows Server 2008 Standard
• Windows Server 2008 Standard without Hyper-V
• Windows Vista Business 64-bit Edition
• Windows Vista Enterprise
• Windows Vista Ultimate
• Windows Vista Home Basic
• Windows Vista Business N
• Windows Vista Business
• Windows Vista Business N 64-bit Edition
• Windows Vista Home Basic N
• Windows Vista Home Basic N 64-bit Edition
• Windows Vista Home Premium

Back to the top

Keywords: 
kbprb kbtshoot kbquery kbinstallation kbregistry kbexpertiseinter KB953582

Back to the top

 

Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image