Users who use Windows 2000/XP may encounter a problem, that is, the default Management Sharing. Although the user has not set share, each drive letter is automatically shared by Windows. The share name is followed by a symbol $. In general, in addition to sharing each hard disk, there are also Admin and IPC sharing (Remote Management Sharing and remote network connection respectively ). In this way, if the computer in the same working group in the LAN knows the administrator password of the accessed host, you can access your file by entering "\ computer name drive letter $" in the address bar of your browser. For example, if your computer is named ID1, other computers only need to enter \ ID1C $ to access your C drive. Isn't it safe?
Windows provides the Net Share command to delete and manage shares. Enter cmd in "run" to enter the Command Prompt window. Enter net share c $/del to delete the management share. However, such deletion is temporary, after the computer restarts, the deleted shares automatically appear. To completely eliminate this risk, you can modify the Registry. However, after all, it is risky for beginners to modify the registry. In fact, we can not move the registry, you can use the following method to easily invite management sharing from the computer.
First, run cmd. In the DOS window of the system, enter Net Share at the command prompt, and the system will list all the shared resources on the local machine. You can also view it in the [Control Panel] → [Administrative Tools] → [Computer Management] window (). In this way, we are aware that we want to "destroy objects.
Next, create a new batch file with the suffix BAT, and enter the command in the following format:
Net share admin $/del
Net share ipc $/del
Net share c $/del
Net share d $/del
If there are other drive letters shared, you can add them in sequence.
Step 3: add the created batch file to the system's "task plan" and select "when the computer starts" in the task execution option ". In this way, the system will automatically run the batch processing file after each boot, closing the specified default shared service. If you do not want to use "schedule task", you can drag the shortcut of the batch processing file to the "Start" menu to achieve the same purpose.