In Windows 2000/XP/2003 systems, logical partitions and Windows directories are shared by default, which is convenient for administrators to manage servers, but has become a security vulnerability for ulterior motives.
Method One
Open My Computer icon on the desktop, right click on the partition letter, pop-up menu, click Properties
Click the Sharing tab and we can see that the shared folder is selected by default, and we select "Do not share this folder" and click OK
Method Two
Right-click My Computer icon on the desktop, pop-up menu, clicking Manage
Expand Shared Folders in the Computer Management console tree on the left--sharing
In the right window, click each share name in turn, and the menu that pops up clicks the Stop sharing command
Method Three
In the lower left corner Click the Start menu, the pop-up list click Control Panel
Double-click and open Administrative Tools in the Control Panel
Open Services under Administrative tools
Move the scroll bar to the right, select the Server service, right-click the Properties command
Go to the General tab and click on the Startup Type Drop-down box and select Disabled
and click the Stop button in the service state, and then click OK to save the changes and close the Service dialog box
Method Four
Click the Start menu in the lower-left corner, and click the Run command
In the Run dialog box type "cmd", click "OK"
Type the following command in the Command Prompt window, enter
NET share admin$/delete
NET share C $/del
NET share d$/del
NET share e$/del
Method Five
Click the Start menu in the lower left corner, the pop-up list click Run, enter the "regedit" command in the Open box, click OK, and start Registry Editor
In the left window, expand to the following branch in turn
Hkey_local_machinesystemcurrentcontrolsetserviceslanmanserverparameters
Right-click "New"--"DWORD value" on the parameters item, and name the new key value "AutoShareServer"
In the right window, double-click to open the key value named "AutoShareServer", enter the Edit DWORD value interface, set the numeric data to "1", and click OK