$ shares permanently off

Printed from http://www.compatdb.org/support/topics/53248_shares_permanently_off.html

$ shares permanently off - 02/09/01 05:37 PM

how do i turn the default c$ d$ and admin$ off so that they stay off even after reboot?
i remember that it needed some reg hacking but how exactly do i do it in win2k ?
thx in advance smile

Re: $ shares permanently off - 02/09/01 06:17 PM

Create a value here:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters

For Pro: AutoShareWks
For Srv: AutoShareServer

In both cases it should be a DWORD 0

// Toby

Re: $ shares permanently off - 02/09/01 06:21 PM

Hi,

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Paramaters

If this is a server, look for AutoShareServer value, and set it to 0 (zero) to disable.

If this is a workstation, look for AutoShareWks value, and set it to 0 (zero) to disable.

Doing this will keep W2K from re-creating the shares on the next reboot after you delete them.

Oh, if the value you need is not there, then you'll have to add it. It's a REG_DWORD value type with the appropriate name. If you should wish to re-enable the function, set the value to 1 (one).

Hope this helps.

Regards,
Jim

Re: $ shares permanently off - 02/09/01 06:37 PM

thx sugars smile

Re: $ shares permanently off - 02/14/01 11:44 PM

what does this do for you when you do it?