(Http://search.9cbs.net/expert/topic/1908/1908903.xml?temp=.1470911) Reply to: A2824CL (November rain) () Reputation: 100 2003-06-12 19:33 : 06Z Score: 30 In Administration Tools -> Computer Management -> Shared Folders You can see the default sharing of ADMIN $, C $, D $, IPC $, how can I remove these default sharing?
One way is to add a batch in "start". Noshare.batnet USE C $ / DELNET USE IPC $ / DEL ---
Another way is to register to remove default sharing
A: 2K / XP under test
1) Prohibition of default sharing of C $, D $
HKEY_LOCAL_MACHINE / SYSTEM / CURRENTCONTROLSET / SERVICES / LANMANSERVER / PARAMETERS
New autoshareserver, reg_dword, 0x0
2) Prohibition of Admin $ Bydence
HKEY_LOCAL_MACHINE / SYSTEM / CURRENTCONTROLSET / SERVICES / LANMANSERVER / PARAMETERS
New autosharewks, reg_dword, 0x0
3) Limit IPC $ default sharing
HKEY_LOCAL_MACHINE / SYSTEM / CURRENTCONTROLSET / CONTROL / LSA
Restrictanonymous REG_DWORD 0 default 1 Anonymous user Unable to list this list 2 Anonymous users Unable to connect to this machine IPC $ sharing
It is not recommended to use 2, it may cause some services that cannot be started, such as SQL Server
D: 2002-08-28 11:50
NT, RESTRICTANONYMOUS does not support 2 values, but XP has more restrictanonymoussam,
Restrictanonymous REG_DWORD 1 Anonymous User Unable to list the list of this unit and sharing
Restrictanonymoussam REG_DWORD 1 Anonymous User Unable to list the list of native users
Canceling 2000 default sharing For the server, in HKEY_LOCAL_MACHINE / SYSTEM / CURRENTCONTROLSET / SERVICES / LANMANSERVER / Parameters, add a double-byte value named "AutoShareserver", set to "0". Then remove the sharing, restart. For workstations, in HKEY_LOCAL_MACHINE / SYSTEM / CURRENTCONTROLSET / SYSTEM / CURRENTCONTROLSET / SYSTEM / CURRENTCONTROLSET / SYSTEM / CURRENTCONTROLSET / SYSTEM / CURRENSERVER / Parameters, add a double-byte value called "AutoShaRewks", set to "0". Then remove the sharing, restart. ------------------- Reply: ELEC001 (finished !?) () Reputation: 103 2003-06-03 22: 24: 11Z Score: 0 Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Services / lanmanserver / parameters] "AutoShareServer" = dword: 00000000 "AutoSharewks" = dword: 00000000 [HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Lsa] "RestrictAnonymous" = dword: 00000001 personally think that this simpler - --------------------------------------- For the server in hkey_local_machine / system / currentControlset / Under Services / LanmanServer / Parameters, add a double-byte value called "AutoShareserver", set to "0". Then remove the sharing, restart. For workstations, in HKEY_LOCAL_MACHINE / SYSTEM / CURRENTCONTROLSET / SYSTEM / CURRENTCONTROLSET / SYSTEM / CURRENTCONTROLSET / SYSTEM / CURRENTCONTROLSET / SYSTEM / CURRENSERVER / Parameters, add a double-byte value called "AutoShaRewks", set to "0". Then remove the sharing, restart.