How to create and delete hidden or administrative shares on client computers (314984)



The information in this article applies to:

  • Microsoft Windows XP Professional
  • Microsoft Windows XP Media Center Edition
  • Microsoft Windows XP Tablet PC Edition
  • Microsoft Windows XP 64-Bit Edition
  • Microsoft Windows 2000 Professional
  • Microsoft Windows NT Workstation 4.0

This article was previously published under Q314984

IN THIS TASK

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

INTRODUCTION

This step-by-step article describes how to create and delete hidden or administrative shares on Microsoft Windows XP Professional-based, Windows 2000 Professional-based, and Windows NT 4.0 Workstation-based computers.

Back to the top

MORE INFORMATION

A hidden share is identified by a dollar sign ($) at the end of the share name. Hidden shares are not listed when you look through the shares on a computer or use the net view command. The versions of Windows that are listed in the "Applies to" section create hidden administrative shares that administrators, programs, and services can use to manage the computer environment on the network. By default, Windows can enable the following hidden administrative shares:
  • Root partitions or volumes
  • The system root folder
  • The FAX$ share
  • The IPC$ share
  • The PRINT$ share
Root partitions and volumes are shared as the drive letter name appended with the $ sign. For example, drive letters C and D are shared as C$ and D$.

The system root folder (%SYSTEMROOT%) is shared as ADMIN$. This is your Windows folder, and the administrative share provides administrators easy access to the system root folder hierarchy over the network.

The FAX$ share is used by fax clients to send a fax. This shared folder caches files and accesses cover pages that are stored on a file server.

The IPC$ share is used with temporary connections between clients and servers by using named pipes for communication among network programs. It is primarily used for to remotely administer network servers.

The PRINT$ share is used to remotely administer printers.

Hidden administrative shares that are created by the computer (such as ADMIN$ and C$) can be deleted, but the computer re-creates them after you stop and restart the Server service or restart your computer. Hidden shares that are created by users can be deleted, and they are not re-created after you restart your computer. Microsoft Windows XP Home Edition does not create hidden administrative shares.

Back to the top

Create a hidden share

To create a hidden share, follow these steps:
  1. In Control Panel, double-click Administrative Tools, and then double-click Computer Management.
  2. Expand Shared Folders, right-click Shares, and then click New File Share.
  3. In the Folder to share box, type the path of the folder that you want to share, or click Browse to locate the folder.
  4. Type the share name that you want to use followed by a dollar sign, and then click Next.
  5. To make the share accessible to administrators only, select the Administrators have full control; other users have no access check box, and then click Finish.
  6. Click Yes to create another share, or click No to return to the Computer Management console.
Back to the top

Delete a hidden share

To delete a hidden share, follow these steps:
  1. In Control Panel, double-click Administrative Tools, and then double-click Computer Management.
  2. Expand Shared Folders, and then click Shares..
  3. In the Shared Folder column, right-click the share that you want to delete, click Stop sharing, and then click OK.
Back to the top

Troubleshooting

Test the functionality of your programs and services after you disable the default administrative shares. Some Windows services depend on the existence of these shares. Additionally, some third-party programs may require that some of the administrative shares exist. For example, some backup programs may require these shares.


Modification Type:MajorLast Reviewed:7/5/2006
Keywords:kbHOWTOmaster kbhowto kbenv KB314984 kbAudITPro