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

You can remove the administrative shares on Windows servers and prevent them from being created automatically, although Microsoft doesn't recommend it.

Jan De Clercq

January 29, 2012

1 Min Read
ITPro Today logo

A:You can remove the administrative shares on a Windows box and prevent them from being created automatically by editing the following registry key andsetting its value to 0: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanmanServerParametersAutoShareServer. To apply this change, you muststop and restart the server service, which you can easily do by entering the following commands at the command prompt:

net stop servernet 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 canoccur, have a look at the Microsoft article "Overview of problems that may occur when administrative shares are missing."

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like