
It is possible to simply remove the share from Server Manager (in NT) or Shared Folders (in W2K/XP/Vista/2003) but the problem with this method is that the shares will automatically be recreated when the machine reboots.
You can disable these shares permanently by changing following registry entries:
Servers:
Hive: HKEY_LOCAL_MACHINE
Key: SYSTEM\CurrentControlSet\Services\LanManServer\Parameters
Name: AutoShareServer
Data Type: REG_DWORD
Value: 0
Workstations:
Hive: HKEY_LOCAL_MACHINE
Key: SYSTEM\CurrentControlSet\Services\LanManServer\Parameters
Name: AutoShareWks
Data Type: REG_DWORD
Value: 0
If you can't find the value in the registry under the exact location please create them.
A reboot is necessary for this to take effect.
No comments:
Post a Comment