Administrative share
Template:Short description Administrative shares are hidden network shares created by the Windows NT family of operating systems that allow system administrators to have remote access to every disk volume on a network-connected system. These shares may not be permanently deleted but may be disabled. Administrative shares cannot be accessed by users without administrative privileges.
Edit
Administrative shares are a collection of automatically shared resources including the following:<ref name="woshub">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
- Disk volumes: Every disk volume on the system with a drive letter assignment has a corresponding administrative share named as the drive letter with an appended dollar sign ($). For example, a system that has volumes C:, D: and E: has three corresponding administrative shares named <syntaxhighlight lang="text" class="" style="" inline="1">C$</syntaxhighlight>, <syntaxhighlight lang="text" class="" style="" inline="1">D$</syntaxhighlight> and <syntaxhighlight lang="text" class="" style="" inline="1">E$</syntaxhighlight>. (NetBIOS is not case sensitive.)
- OS folder: The folder in which Windows is installed is shared as <syntaxhighlight lang="text" class="" style="" inline="1">ADMIN$</syntaxhighlight>.
- Fax cache: The folder in which faxed transmissions and their cover pages are cached is shared as <syntaxhighlight lang="text" class="" style="" inline="1">FAX$</syntaxhighlight>.
- IPC shares: This area, used for inter-process communication via named pipes, is shared as <syntaxhighlight lang="text" class="" style="" inline="1">IPC$</syntaxhighlight> and is not part of the file system.
- Printers folder: This virtual folder, which contains objects that represent installed printers is shared as <syntaxhighlight lang="text" class="" style="" inline="1">PRINT$</syntaxhighlight>.
- Domain controller shares: The Windows Server family of operating systems creates two domain controller-specific shares called <syntaxhighlight lang="text" class="" style="" inline="1">SYSVOL</syntaxhighlight> and <syntaxhighlight lang="text" class="" style="" inline="1">NETLOGON</syntaxhighlight> which do not have dollar signs ($) appended to their names.<ref name="remove-admin-shares">{{#invoke:citation/CS1|citation
|CitationClass=web }}</ref>
CharacteristicsEdit
Administrative shares have the following characteristics:
- They are hidden. The "$" appended to the end of the share name means that it is a hidden share. Windows will not enumerate them among those it defines in response to typical queries by remote clients to obtain the list of shares. One needs to know the name of an administrative share in order to access it.<ref name="woshub" /> Not every hidden share is an administrative share nor is the reverse true; in other words, ordinary hidden shares may be created at the user's discretion.<ref name="woshub" />
- They are automatically created by Windows, not a network administrator, and if deleted they will be automatically re-created.<ref name="remove-admin-shares" />
Administrative shares are not created by Windows XP Home Edition.<ref name="woshub" />
ManagementEdit
Administrative shares can be deleted in the same manner as any other network share, however they will be recreated automatically during the next boot cycle.<ref name="woshub" /> To prevent access to them permanently, it is necessary to disable, rather than delete them.<ref name="remove-admin-shares" />
Disabling administrative shares is not without caveats, though.<ref name="missing-admin-shares">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Previous Versions for local files, a feature of Windows Vista and Windows 7 before being rebranded as File History in Windows 8 and beyond, requires administrative shares in order to function properly.<ref name="win7annoyances">Template:Cite book</ref><ref name="vista_annoyances">Template:Cite book</ref>
RestrictionsEdit
Windows XP implements "simple file sharing" (also known as "ForceGuest"), a feature that can be enabled on computers that are not part of a Windows domain.<ref name="msa906574">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> When enabled, it authenticates all incoming access requests to network shares as "Guest", a user account with very limited access rights in Windows. This effectively disables access to administrative shares.<ref name="winxp_sfs">Template:Cite book</ref>
By default, Windows Vista and later use User Account Control (UAC) to enforce security. One of UAC's features denies administrative rights to a user who accesses network shares on the local computer over a network, unless the accessing user is registered on a Windows domain or using the built in Administrator account. If not in a Windows domain it is possible to allow administrative share access to all accounts with administrative permissions by adding the LocalAccountTokenFilterPolicy value to the registry.<ref name="kb947232">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
See alsoEdit
- Server Message Block (SMB) – the infrastructure responsible for file and printer sharing in Windows
- Distributed File System (DFS) – another infrastructure that makes file sharing possible
- My Network Places – Windows graphical user interface for accessing network shares
- Network Access Protection (NAP) – a Microsoft network security technology
- Conficker – an infamous malware that exploited a combination of weak passwords, security vulnerabilities, administrative negligence and <syntaxhighlight lang="text" class="" style="" inline="1">ADMIN$</syntaxhighlight> share to breach a computer over a network and propagate itself