(http://www.cfanclub.net/new_czxt/20041003/20041003007.htm)
Users who use Windows Server 2003 will encounter a problem, which is the default shared folder when the system is installed by default. Although the user does not set a sharing, each drive is automatically set by Windows, which has a shared name to add a symbol $ (shared names for C $, D $, IPC $, and admin $). That is, as long as the attacker knows the administrator password of the system, it is possible to open the system's designated folder by "/ Work Start Sharing Name". In this way, the security of the user is carefully set. What is the decoration? Still safe! To this end, we must make a default sharing hazard from the Windows Server 2003 system, immediately remove it from the system. 1. Delete Windows Server 2003 default sharing first write batch files: @echo off share c $ / del net Share D $ / del Net Share E $ / DEL NET Share F $ / del Net Share Admin $ / DEL The content users of the above documents can be modified according to their needs. Save as Delshare.bat, stored in the System32GroupPolicyUserscriptslogon directory under the folder where the system is located. Then enter the gpedit.msc in the start menu → run, enter the group policy editor. Click User Configuration → Windows Settings → Scripts (Login / Logout) → Log in (Figure 1),
In the "Sign In Properties" window, click Add, "Add Script" dialog box, enter DELSHARE.BAT in the "Script Name" field of the window, and then click the "OK" button (such as figure 2).