Microsoft KB Archive/816085

= Removing IIS Resets DCOM to the Default Permissions =

Article ID: 816085

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional Edition

-



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit 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 remove Microsoft Internet Information Server (IIS) from Windows 2000, the default access permissions for Distributed Component Object Model (DCOM) programs may change.



CAUSE
This problem occurs because when you remove IIS, the   registry value is added to the Windows registry. If the value already exists, any IIS-specific permissions are removed from it, and this is the expected behavior. However, a logic problem in the removal routine causes the value to be added if it does not already exist. This registry value resets the default permissions for DCOM programs, and its unintended addition to the registry can cause unexpected DCOM problems.



Service Pack Information
To resolve this problem, obtain the latest service pack for Microsoft Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

Hotfix Information
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Windows 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

  Date         Time      Version        Size     File name 07-Mar-2003 12:02:22  5.0.2195.6681  433,936  Iis.dll



WORKAROUND
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Warning These steps should only be performed if the DefaultAccessPermission value was created by the removal of IIS. If it existed before the removal, do not remove the value because this may cause other problems with DCOM functionality.

To work around this problem, remove the   registry value:  Quit all Windows programs. Click Start, and then click Run. In the Open box, type regedit, and then click OK. Locate the following key in the registry:

 

 Click the Ole key.</li> In the right-side pane, click DefaultAccessPermission.</li> On the Edit menu, click Delete.</li> Click Yes when you receive the &quot;Are you sure you want to delete this value?&quot; message.</li> On the Registry menu, click Exit.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Windows 2000 Service Pack 4.

<div class="moreinformation_section">

MORE INFORMATION
For additional information about how to set the access permissions for the distributed version of Component Object Model (COM) programs, click the following article number to view the article in the Microsoft Knowledge Base:

323287 HOW TO: Set Permissions for Distributed COM Programs in Windows 2000

For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product

Keywords: kbhotfixserver kbqfe kbsetup kbwin2ksp4fix kbwin2000presp4fix kbfix kbbug KB816085

-

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

© Microsoft Corporation. All rights reserved.