[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ LanmanServer \ Parameters]
"AutoShareServer" = DWORD: 00000000
"Autoscaling wks" = DWORD: 00000000
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ LSA]
"Restrictanonymous" = DWORD: 00000001
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ LanmanServer \ Parameters]
"AutoShareServer" = DWORD: 00000000
For server version 2000
"Autoscaling wks" = DWORD: 00000000
For the 2000 Professional Edition
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ LSA]
"Restrictanonymous" = DWORD: 00000001
For XP
All (drive letter + $) default shares will be turned off, leaving only one IPC $ share
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ LanmanServer \ Parameters
New name: AutoShareServer
Type: REG_DWORD
Value: 0
If you want to disable the default share of ADMIN $, you can
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ LanmanServer \ Parameters
New name: autoscaling wks
Type: REG_DWORD
Value: 0
In this way, you can cancel the IPC $ sharing.