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