Remove Win2000 and WinXP hard drive default sharing

xiaoxiao2021-03-06  18

1. Release 2000 and XP's default hidden sharing. Find hkey_local_machine / system / currentcontrolset / service / lantmanserver / parameters if Win2000 Server. New button value: AutoShareServer type: REG_DWORD value 0 If it is a Win2000 client. New key value: autosharewks type: REG_DWORD Value 0 Launched: HKEY_LOCAL_MACHINE / SYSTEM / CURRENTCONTROLSET / SERVICES / LANMANSERVER / Parameters If it is Pro, it is built a DWORD value of AutoShaRewks, if it is Server to build one The DWORD value named AutoShareserver sets them to 0. Restart the machine, the wickle C $, etc., there is no. Shared name is / Services / lanmanserver / parameters] "AutoShareserver" = dword: 00000000 "AutoShareWks" = DWORD: 00000000 is written above, is to join two DWord value autoshaserver keys to 0 AutoShaRewKS key values ​​0 we can use NET Share command to delete However, this sharing will appear after the machine is restarted. At this time, we can modify the registry. IPC $, admin $, and C $, D $ are different, and the modification of the registry is different. What you change is only disabled from C $, D $. There is no IPC $. Prohibition C $, D $ share for the management server: Modify HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Services / lanmanserver / parameters Name: AutoShareServer Type: DWORD Value: 0 for the workstation: Modify HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Services / lanmanserver / Parameters Name: AutoShaRewks Type: DWORD VALUE: 0 Modify the registry, you need to restart the Server service or restart the machine. Note: These key values ​​are not exist on the host by default, and you need to add yourself manually. Disable admin $ 共 h h l t:: 0x0

2, turn off Server in the service

3, write in C: /autoexec.bat

@echo off

NET Share / Del IPC $

NET Share / DEL C $

NET Share / DEL D $

NET Share / Del E $

Net Share / Del Admin $

@echo on

转载请注明原文地址:https://www.9cbs.com/read-42206.html

New Post(0)