How to disable Administrative Shares on Windows (XP – Vista – Seven – 8 – Server)

Send Us a Sign! (Contact Us!)
Word PDF Text XML
XPS

If you ever try to stop sharing ADMIN$ (C:\Windows) you find yourself seeing that this same share is available after restart. To permanently disable administrative [gs share]s:

  • ADMIN$ -  (C:\Windows)
  • C$ - (C:\)
  • You need to edit Registry...

    For NT 4.0/W2K/Windows Server 2003

    HKLM\SYSTEM\CurrentControlSet\Services\LanManServer\Parameters
  • Name: AutoShareServer
  • Data Type: REG_DWORD
  • Value: 0
  • For NT 4.0 Workstation/W2K Pro/XP Pro/Seven/8

    HKLM\SYSTEM\CurrentControlSet\Services\LanManServer\Parameters
  • Name: AutoShareWks
  • Data Type: REG_DWORD
  • Value: 0
  • If you can't find the value in the registry under the exact location, value must be created:

    Right click in the right pane of the window > New > DWORD Value and leave the default value, so 0 (Zero).

    Some applications depend on the presence of these shares. To re-enable the shares simply change value to 1.

    SOURCE

    LINK

    LANGUAGE
    ENGLISH

    1 thought on “How to disable Administrative Shares on Windows (XP – Vista – Seven – 8 – Server)”

    Comments are closed.