Unable to Create DFS Replication Policy with Missing Administrative Shares (272702)



The information in this article applies to:

  • Microsoft Windows 2000 Server SP1

This article was previously published under Q272702
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 create a Distributed File System (DFS) replication policy for a replica set, you may receive the following error message:
The following error occurred while creating the staging path \\server1\DRIVE_LETTER$\Frs-Staging for subscriber object: The network name cannot be found.

CAUSE

This behavior can occur because administrative shares are not enabled on one of the servers that is configured to be a replica partner.

RESOLUTION

To resolve the behavior, administrative shares need to either be created manually by an administrator, or automatically by the Server service, which is the default method.

To re-enable automatic creation of the administrative shares, you must modify the registry.

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 re-enable automatic creation of the administrative shares, change the value of the following registry key to one (1), or delete the value:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\AutoShareServer

A setting of zero (0) prevents the administrative shares, such as C$, D$, Admin$, and so on, from being created automatically.

To manually create the necessary share, type Net share DRIVE_LETTER$=DRIVE_LETTER:\, for example:

Net share F$=F:\

MORE INFORMATION

In Microsoft Windows NT 4.0, you can prevent the creation of administrative shares by using the System Policy Editor utility. For additional information about issues with administrative shares, click the article number below to view the article in the Microsoft Knowledge Base:

156365 Hidden Shares Are Not Available After You Use the System Policy Editor


Modification Type:MajorLast Reviewed:10/11/2002
Keywords:kberrmsg kbGPO kbprb w2000grppol KB272702