Microsoft KB Archive/895085

= You receive an &quot;access is denied&quot; error message on a Windows Server 2003-based domain controller when you try to replicate the Active Directory directory service =

Article ID: 895085

Article Last Modified on 11/22/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Datacenter x64 Edition
 * Microsoft Windows Server 2003, Enterprise x64 Edition
 * Microsoft Windows Server 2003, Standard x64 Edition
 * Microsoft Windows Server 2003 Service Pack 1

-





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 try to replicate the Active Directory directory service to a domain controller that is running Microsoft Windows Server 2003 with Service Pack 1 (SP1) or an x64-based version of Microsoft Windows Server 2003, you receive the following error message on the destination domain controller:

access is denied



CAUSE
This problem occurs when the value of the RestrictRemoteClients registry entry is 2.

Windows Server 2003 SP1 and x64-based versions of Windows Server 2003 read remote procedure call (RPC) settings from this entry. If the entry has a value of 2, RPC traffic must be authenticated. Therefore, Active Directory replication does not succeed. Other RPC services on the domain controller may also be affected.



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

To resolve this problem, enable port 135 on Windows Firewall, and then use one of the following methods:
 * Set the value of the RestrictRemoteClients registry entry to 0 or 1.
 * Disable the Restrictions for Unauthenticated RPC Clients Group Policy object.

To do this, follow these steps.

Note By default, port 135 is blocked in Windows Server 2003 SP1 and in x64-based versions of Windows Server 2003.  Click Start, click Run, type firewall.cpl, and then click OK. Click the Exceptions tab, and then click Add Port. In the Name box, type a name for the port.

For example, type TCP 135 . In the Port number box, type 135 . Click TCP, and then click OK.

The new port appears on the Exceptions tab. Click to select the check box next to the new port, and then click OK.</li> Click Start, click Run, type regedit, and then click OK.</li> Use one of the following methods: <ul> Set the value of the RestrictRemoteClients registry entry to 0 or 1. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Locate and then click the following registry subkey:

</li> In the right pane, click the RestrictRemoteClients entry.

Note If this entry does not exist, follow these steps: <ol style="list-style-type: lower-alpha;"> On the Edit menu, point to New, and then click DWORD Value.</li> Type RestrictRemoteClients, and then press ENTER.</li></ol> </li> On the Edit menu, click Modify.</li> In the Value data box, type 0 or 1, and then click OK.</li> Quit Registry Editor.</li></ol> </li> Use Group Policy Object Editor to disable the Restrictions for Unauthenticated RPC Clients Group Policy object. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type gpedit.msc, and then click OK.</li> In the console tree, double-click Computer Configuration, double-click Administrative Templates, double-click System, and then click Remote Procedure Call.</li> Double-click Restrictions for Unauthenticated RPC clients, click Disable, and then click OK.</li> Quit Group Policy Object Editor.</li></ol> </li></ul> </li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
For additional information about the RestrictRemoteClients registry entry, visit the following Microsoft Web site:

http://technet.microsoft.com/en-us/library/209d02c4-877c-4128-8e22-30bcd4aae6d3.aspx

Technical support for Windows x64 editions
Your hardware manufacturer provides technical support and assistance for Microsoft Windows x64 editions. Your hardware manufacturer provides support because a Windows x64 edition was included with your hardware. Your hardware manufacturer might have customized the Windows x64 edition installation with unique components. Unique components might include specific device drivers or might include optional settings to maximize the performance of the hardware. Microsoft will provide reasonable-effort assistance if you need technical help with your Windows x64 edition. However, you might have to contact your manufacturer directly. Your manufacturer is best qualified to support the software that your manufacturer installed on the hardware.

For product information about Microsoft Windows XP Professional x64 Edition, visit the following Microsoft Web site:

http://www.microsoft.com/windowsxp/64bit/default.mspx

For product information about Microsoft Windows Server 2003 x64 editions, visit the following Microsoft Web site:

http://www.microsoft.com/windowsserver2003/64bit/x64/default.mspx

Additional query words: Winx64 Windowsx64 64bit 64-bit

Keywords: kbwinserv2003sp1fix kbactivedirectory kbreplication kbregistry kberrmsg kbtshoot kbprb KB895085

-

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

© Microsoft Corporation. All rights reserved.