Subscribe to Windows IT Pro
January 29, 2012 11:00 AM

Q: Can we disable the default Windows administrative shares (C$, D$, Admin$, IPC$) to lock down some of our Windows servers?

Windows IT Pro
InstantDoc ID #142069
Rating: (0)

A: You can remove the administrative shares on a Windows box and prevent them from being created automatically by editing the following registry key and setting its value to 0: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\AutoShareServer. To apply this change, you must stop and restart the server service, which you can easily do by entering the following commands at the command prompt:

net stop server
net start server

However, Microsoft recommends that you don't remove administrative shares because it can break many different things. For a list of problems that can occur, have a look at the Microsoft article "Overview of problems that may occur when administrative shares are missing."

Related Content:

ARTICLE TOOLS

Comments
  • mkline718
    4 months ago
    Jan 29, 2012

    The askds blog also covered this earlier this month

    http://blogs.technet.com/b/askds/archive/2012/01/06/friday-mail-sack-best-post-this-year-edition.aspx#share

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.