Starting from Windows98, sharing brings endless annoyance to many internet users, but at the same time sharing is a sharp weapon for hackers to attack others ' computers. How can I completely ban the sharing vulnerabilities of Windows 2000 and Windows XP systems? Let's talk about the relevant knowledge.
1. View shared resources
In a Windows XP system, all drives in the computer are automatically shared by default, but they do not display shared hand flags, which leaves a hidden danger to network security. We can fill in the "Run" column cmd into the command prompt, enter net share, quickly look at the computer's shared resources, find these shared directories.
If you are not accustomed to the interface of the command prompt, you can turn on the control Panel → administrative tools → Computer Management → shared folders to view all the shared resources on your computer.
2. Clear the shared vulnerability
First make sure to log on to the system as a member of the administrator or Power Users group, and then clear the shared vulnerability through the following three steps.
1. In turn, open the Start menu → control Panel → administrative tools → services, locate the Server service, stop the service, and in properties, set Startup type to manual or disabled.
2). Modify the registry. Open "Start → run" in turn, enter Regedit into Registry Editor, and find the Heky_local_machinesystemcurrentcontrolsetserviceslanmanserverparamaters subkey, In the window on the right, create a new two-byte key value named "AutoShareWks" and a "AutoShareServer", and set the value to "0".
3. Using the "net share" command at the command prompt can also be a good way to eliminate this vulnerability. Open the Notepad that is included with Windows, and enter the following:
NET share admin$/del
NET share ipc$/del
NET share C/del
Next, save the file as a batch file with the extension "bat". Finally, use the Windows Task Scheduler feature to let the batch file run automatically each time it is powered on.
Tip: If you have other disks that use sharing, such as D, add "net share D/del" to Notepad. Do not omit the space before the parameter when you enter.