Operating Systems

What is C$?

C$ is the hidden administrative share Windows creates automatically for the C: drive. Only members of the local Administrators group can connect to it.

What is the C$ share?

C$ is a hidden administrative share that Windows creates automatically for the root of the C: drive. Windows makes one for every fixed drive (D$, E$ and so on) so administrators can reach a computer's files over the network without setting up a share first. The dollar sign at the end of the name hides the share from network browsing, so it doesn't appear when someone views the computer's shares in File Explorer.

Connecting to C$

Type the UNC path in File Explorer's address bar or the Run box, or map it to a drive letter:

  • \\PC01\C$ opens the C: drive of the computer named PC01.
  • net use Z: \\PC01\C$ maps it as drive Z:.

It works only for accounts in the remote computer's local Administrators group (in a domain, Domain Admins are members by default). The remote PC must also allow File and Printer Sharing through its firewall, since the connection uses SMB on TCP port 445. On workgroup computers, where every account is local, UAC remote restrictions stop administrator accounts other than the built-in Administrator from using admin shares over the network, a common cause of "access denied".

Other administrative shares

SharePoints toUsed for
C$, D$ and so onThe root of each fixed driveRemote file access for administrators
ADMIN$The Windows folder, usually C:\WindowsRemote administration and software deployment tools
IPC$No folder: inter-process communication (named pipes)Remote management connections between computers

Run net share to list every share on a computer, hidden ones included, or open Computer Management and go to Shared Folders, then Shares. Any share you create can be hidden the same way, by ending its name with $.

Security considerations

Admin shares are handy for support, but an attacker who steals an administrator's password can use them to copy files and tools between machines and spread across a network. Limit who is a local administrator, give each PC a different local admin password, and block SMB from untrusted networks. Removing C$ with net share C$ /delete lasts only until the next restart; to stop Windows from recreating it, set the AutoShareWks registry value (AutoShareServer on servers) to 0 under HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters. Some management and backup tools rely on admin shares, so test before turning them off.

For the CompTIA A+ exams

Administrative shares come up with Windows networking in Core 2 (220-1202), which covers shares, mapped drives and permissions (objectives 1.7 and 2.2), and in this course's file share server lesson for Core 1 (220-1201) objective 2.3. Remember that a $ at the end of a share name hides it, that C$ and ADMIN$ need administrator rights, and that the UNC format is \\computername\sharename.

Studying for CompTIA (Operating Systems)?

ExamWizardz turns the official objectives into a guided study plan — with practice tests, realistic PBQs, and a readiness score. Start free.

Start studying free

Related terms

ADMIN$

The ADMIN$ shared folder is a hidden administrative share on Windows systems that provides remote access to the operating system and file system.

net use

net use is a Windows command-line tool used to establish, modify, or disconnect network drive connections and view information about existing network connections.

NTFS

NTFS (New Technology File System) is a proprietary file system developed by Microsoft for Windows operating systems, providing advanced features for data storage, security, and file management.

Read & Execute

Read & Execute is an NTFS permission that lets users view files and folders and run programs and scripts. It includes Read, but not Write or Modify.

share name

A share name is a unique identifier assigned to a shared resource on a computer network, allowing other devices to access and interact with that resource.

Sharing permissions

Sharing permissions are access control rules that determine which users or groups can view, modify, delete, or perform other actions on shared files, folders, and resources across networks, cloud services, and collaborative platforms.

SMB

Server Message Block (SMB) is a network file-sharing protocol that enables applications and users to read and write to files and request services from computer networks, primarily used for sharing printers, files, and communication on local area networks and Windows-based systems.

UNC path

UNC (Universal Naming Convention) is a standard file path naming system used in Microsoft Windows operating systems to identify network resources such as shared folders and printers.