-
Click Start, and then click
Run. -
In the Open box, type
regedit, and then click OK. -
Locate, and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\AutoShareServer
Note The registry subkey AutoShareServer must be set as type REG_DWORD. When this value is set to 0 (zero), Windows does not automatically create administrative shares. Be aware that this does not apply to the IPC$ share or shares that you create manually.
-
On the Edit menu, click
Modify. In the Value data box, type
0, and then click OK. -
Exit Registry Editor.
-
Stop and then start the Server service. To do this, follow these steps:
-
Click Start, and then click
Run. -
In the Open box, type
cmd, and then click OK. -
At the command prompt, type the following lines. Press Enter after each line:
net stop server
net start server -
Type exit to close the Command Prompt window.
How to remove administrative shares in Windows Server 2008 or 2012
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。