码迷,mamicode.com
首页 > Windows程序 > 详细

How to remove administrative shares in Windows Server 2008 or 2012

时间:2017-09-25 18:49:09      阅读:196      评论:0      收藏:0      [点我收藏+]

标签:share

  1. Click Start, and then click
    Run.

  2. In the Open box, type
    regedit, and then click OK.

  3. 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.

  4. On the Edit menu, click
    Modify. In the Value data box, type
    0, and then click OK.

  5. Exit Registry Editor.

  6. Stop and then start the Server service. To do this, follow these steps:

  7. Click Start, and then click
    Run.

  8. In the Open box, type
    cmd, and then click OK.

  9. At the command prompt, type the following lines. Press Enter after each line:

    net stop server
    net start server

  10. Type exit to close the Command Prompt window.


How to remove administrative shares in Windows Server 2008 or 2012

标签:share

原文地址:http://549687.blog.51cto.com/539687/1968509

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!