ADMIN$, C$, and D$ shares

Shawn Heisey shawnh at
Thu Oct 9 00:41:57 GMT 1997

The shares named C$, D$, and so on are shares that only become available 
on a Windows 95 system when you are using the "Remote Administration" 
feature -- i.e., accessing the ADMIN$ share.  As soon as you connect to 
this share, Windows activates a <letter>$ share for each permanently 
mounted partition on your computer (CDROM drives and the like don't 

The bottom line is that if you want to be able to access the root of the 
C: drive all the time without having to fiddle with ADMIN$, you'll need 
to share the C: drive directly and not depend on Windows doing it for 
you.  If you have users that fiddle with what's shared and what isn't 
shared on their systems, then the ADMIN$ method is what you're stuck 
with.  If you implement system policies, you can curb this to some 

If you need to update a lot of computers to do this, the first part 
of the .REG bit included below may help you.  This bit shares C:\ out as 
"DRIVE_C" with full access.  If you have domain logons working, you can 
put "START /S \\<server>\\NETLOGON\BLAH.REG" in the logon script to 
ensure that this change gets made (the /S makes the registry update 
silent).  The second part of the .REG below shares out my CDROM drive as 
"CDROM" with read-only access.

The password in the .REG file is naturally the encrypted version.  To 
get a correct password entry, just set up a share on your own system and 
use REGEDIT to peek at/export this section of the registry.

If you have any questions on this, please contact me directly at 
"shawnh at"



Shawn Heisey, MIS
Dick Simon Trucking, Inc.
shawnh at


More information about the samba mailing list