Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You cannot create a share in File Server Resource Manager in Windows Server


View products that this article applies to.

Symptoms

You cannot create a share in File Server Resource Manager in Windows Server 2012 R2 or Windows Server 2012. This includes a stand-alone file server or a file server cluster. When you try to create a share, you receive an error message that resembles the following:
The folder "<Drive:\Share>" cannot be created on computer "<ServerName/ClusterResourceName>". The network name cannot be found.

↑ Back to the top


Cause

To create a share in File Server Resource Manager in Windows Server 2012 R2 or Windows Server 2012, Auto Share must be able to retrieve file information and create the share. Installing the File Server Resource Manager role disables AutoShare.

Note Some companies manually disable AutoShare for security considerations.

↑ Back to the top


Resolution

To resolve this issue enable AutoShare in File Server Resource Manager. To do this, follow these steps:
  1. Click Start, and then click Run.
  2. In the Open box, type regedit, and then click OK.
  3. Locate and then click the AutoShareServer value in the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
    Note The AutoShareServer value must be set as a REG_DWORD type. When this value is set to 0 (zero), Windows does not automatically create administrative shares. This setting does not apply to the IPC$ share or to shares that you create manually.
  4. Either delete the AutoShareServer value, or set the value to 1. To do this, use one of the following methods:
    • To delete the AutoShareServer value, click Delete on the Edit menu, and then click Yes when you are prompted to confirm the deletion.
    • To set the AutoShareServer value to 1, click Modify on the Edit menu, type 1 in the Value data box, and then click OK.
  5. Exit Registry Editor.
  6. Stop and then start the Server service. To do this follow these steps:



    1. Run the following commands as an administrator. (If you are using UAC, you will have to use an elevated command prompt.) Make sure that you press Enter after you type each command:

      net stop server
      net start server

      Note Some dependent services such as Netlogon and DFS Namespace also stop. This causes an additional prompt.
    2. Type exit, and then press Enter.
    3. Restart the Server service. (When you do this, the dependent services will restart.)

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 3078444
Revision : 1
Created on : 1/7/2017
Published on : 7/16/2015
Exists online : False
Views : 260