当多台计算机连接到网络时,Windows会自动创建管理共享(Administrative Shares)以允许远程访问各种操作。这使管理员(Administrators)和支持技术人员能够有效地管理服务。在某些情况下,此类共享可能对您的系统构成潜在的安全威胁。因此,最好从Windows Server中删除管理共享。这是摆脱它们的方法。
从Windows Server(Windows Server)禁用管理共享
如果您不知道,这些特殊的共享资源在“文件资源管理器(File Explorer)”或“这台电脑(This PC)”部分下是不可见的。要查看它们,您必须使用“共享文件夹(Share Folders)”工具。该工具可以在“计算机管理(Computer Management)”下轻松找到。然后,要删除特殊的共享资源并防止它们被自动创建,
- 使用注册表
- 使用 Ultimate Windows Tweaker
当驱动器号或文件夹名称末尾带有“$”符号时,您可以识别管理共享。例如(Example),
- DriveLetter $:这是一个共享的根分区或卷。共享(Shared)根分区和卷显示为带有美元符号 ($) 的驱动器盘符名称。例如,当驱动器号 C 和 D 共享时,它们显示为 C$ 和 D$。
- ADMIN $:它表示主要在远程管理计算机期间使用的资源。
- PRINT $:在远程管理打印机期间使用。
- FAX $:服务器上的共享文件夹,供传真客户端在传真传输期间使用。
要删除管理共享并防止它们在Windows中自动创建,
1]使用注册表

请(Please)注意,该方法涉及需要您如何修改注册表的步骤。但是,如果您不正确地修改注册表,则可能会出现严重问题。确保您仔细遵循这些步骤。为了增加保护,请在修改注册表之前备份它。
Win+R启动“运行(Run)”对话框。
在出现的框中,键入“ regedit.exe ”并按“ Enter ”键。
接下来,在打开的“注册表编辑器(Registry Editor)”窗口中,导航到以下路径地址 -
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\AutoShareServer.
此处,注册表子项“ AutoShareServer ”必须设置为 REG_DWORD 类型。
当其值设置为 0(零)时,Windows不会自动创建管理共享。因此,如果未设置为“0”,则需要更改此值。为此,双击该值以打开编辑字符串(Edit String)框
在数值(Value)数据框中,键入 0,然后单击确定。
退出注册表编辑器。
完成后,停止然后启动服务器(Server)服务。为此,这,
再次,通过组合按Win+R运行(Run)”对话框。
在出现的框中,键入“ cmd”,然后单击“确定”。
当命令提示符窗口打开时,键入以下行。在每一行后按 Enter :(Press Enter)
net stop server
net start server
键入(Type)exit 以关闭命令提示符(Command Prompt)窗口。
这应该可以解决问题。
2]使用终极Windows Tweaker

我们的免费软件Ultimate Windows Tweaker可让您一键从(Ultimate Windows Tweaker)Windows中删除管理共享。
只需(Simply)启动该实用程序,转到Security & Privacy > Security Settings。在这里,您可以禁用管理共享(Disable Administrative Shares)。
Hope this helps!
Disable Administrative Shares from Windows Server
When multiple computers are connected to a network, Windows automatically creates Administrative Shares to allow remote access for various operations. This enables Administrators and support technicians to manage services, effectively. In some cases, such shares can be a potential security threat for your system. As such, it is better to remove Administrative Shares from Windows Server. Here is how to get rid of them.
Disable Administrative Shares from Windows Server
If you are not aware, these special shared resources are not visible in ‘File Explorer‘ or under ‘This PC’ section. To view them, you’ll have to bring ‘Share Folders’ tool into use. The tool can be found readily under ‘Computer Management’. Then, to remove the special shared resources and prevent them from being created automatically,
- Use Registry
- Use Ultimate Windows Tweaker
You can recognize an administrative share when a drive letter or folder name has a ‘$’ sign attached at the end. Example,
- DriveLetter$: This is a shared root partition or volume. Shared root partitions and volumes are displayed as the drive letter name appended with the dollar sign ($). For example, when drive letters C and D are shared, they are shown as C$ and D$.
- ADMIN$: It represents a resource mainly used during the remote administration of a computer.
- PRINT$: Used during the remote administration of printers.
- FAX$: A shared folder on a server, used by fax clients during fax transmission.
To remove administrative shares and prevent them from being automatically created in Windows,
1] Using Registry

Please note that the method involves steps that require you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Make sure that you follow these steps carefully. For added protection, back up the registry before you modify it.
Launch the ‘Run’ dialog box by pressing Win+R in combination.
In the box that appears, type ‘regedit.exe’ and hit ‘Enter’ key.
Next, in the ‘Registry Editor’ window that opens, navigate to the following path address –
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\AutoShareServer.
Here, the registry subkey ‘AutoShareServer’ must be set as type REG_DWORD.
When its value is set to 0 (zero), Windows does not automatically create administrative shares. As such, you’ll need to change this value if it’s not set to ‘0’. For this, double-click the value to open Edit String box
In the Value data box, type 0, and then click OK.
Exit Registry Editor.
Once done, stop and then start the Server service. For this, this,
Again, open the ‘Run’ dialog box by pressing Win+R in combination.
In the box that appears, type ‘cmd’ and then click OK.
When the command prompt window opens, type the following lines. Press Enter after each line:
net stop server
net start server
Type exit to close the Command Prompt window.
This should fix the problem.
2] Using Ultimate Windows Tweaker

Our freeware Ultimate Windows Tweaker lets you remove administrative shares from Windows in one click.
Simply launch the utility, go to Security & Privacy > Security Settings. Here, you can Disable Administrative Shares.
Hope this helps!