Completely kill the system's shared vulnerabilities

Source: Internet
Author: User

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.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.