Microsoft KB Archive/314984

= How to create and delete hidden or administrative shares on client computers =

Article ID: 314984

Article Last Modified on 7/5/2006

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Media Center Edition 2002
 * Microsoft Windows XP Tablet PC Edition
 * Microsoft Windows XP Professional for Itanium-based systems
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition

-



This article was previously published under Q314984





IN THIS TASK

 * INTRODUCTION
 * MORE INFORMATION
 * Create a hidden share
 * Delete a hidden share
 * Troubleshooting
 * REFERENCES

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 &quot;Applies to&quot; 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.



