Since Windows 98, sharing has brought endless troubles to many Internet users. At the same time, sharing is a powerful tool for hackers to attack others' computers. How can I completely disable the sharing vulnerability between Windows 2000 and Windows XP? Next we will talk about the relevant knowledge.
1. view shared resources
In Windows XP, all the drivers on the computer are automatically shared by default, but the shared hand icon is not displayed, which leaves a hidden danger to network security. Enter cmd in the "run" column to enter the command prompt, enter net share, and quickly view shared resources on your computer and find these shared directories.
If you are not familiar with the "command prompt" interface, you can choose "Control Panel> Management Tools> Computer Management> shared folder" to view all the shared resources on your computer.
2. Clear sharing Vulnerabilities
First, make sure that you log on to the system as an Administrator or a member of the Power Users group, and then clear the shared vulnerabilities through the following three steps.
1 ). choose Start> Control Panel> Management Tools> services, find the Server service, and stop the service, set "Start type" to "Manual" or "disabled" in "properties ".
2). Modify
Registry. Open start → run, enter regedit to go to registry editor, and find the HEKY_LOCAL_MACHINESystemCurrentControlSetServicesLanmanServerParamaters sub-key, in the window on the right, create a two-byte key value named "AutoShareServer" and set it to "0 ".
3). The "net share" command at the command prompt can also be used to eliminate this risk. Open the notepad that comes with Windows and enter the following content ::
Net share adminhtml # "target = _ blank>$/Del
Net share ipc$/Del
Net share c/del
Next, save the file as a batch file with the extension "bat. Finally, the "Task Plan" function of Windows is used to enable the batch processing file to run automatically every time it is started.
Tip: if other disks are shared, such as drive d, add "net share d/del" in notepad. Do not ignore spaces before parameters.