Discussion Locked

want to unshare the default c$d$

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
hi I have NT server 4.0 stand alone...i have 10 partitions and all are shared i.e. c$ d$ e$ f$ g$ etc....i go to "server manager" and press stop sharing " to all drives but after reboot they all appear...i want to permanently stop them sharing...pleez help...

9 replies

by mrvalko

You can stop this sharing with Policy Editor. Get the program from NT Server CD or NT Resource kit Support Tools( can download it from Microsoft for free, not sure about the name ). Run PE on your machine. Select Local Computer,File/Open Registry. Locate Windows NT Network/Sharing/Create Hidden drive shares - server, workstation. Check and uncked them. Select OK. Select File/Close. Restart. No more C$, D$ ... You can get this with RegEdit, but I don't know key names.

by beermonster

The registry key is
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\AutoShareServer

set the value to 0 to turn off hidden shares at startup. Note that there is a similar setting on workstation, but the endkey is
AutoShareWks

Hope this helps...

by oskiller

My question is why do you want to remove these shares? They are there for administrative purposes, and removing them can potentially cause problems down the line. Leave the shares. 99.9% of your users are not going to know about them, and of the .1%who do, I would assume they are either administrators or people who have a legitimate support need to use them.

by dc1

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters is the key and the key is DWORD AutoShareServer and the value is 0 to disable admin shares

This discussion is closed to new replies.