how to enable | disable administrative shares

November 12, 2009 | By voidzzz | Filed in: How-To, Tutorial, Windows, Windows 2003, Windows XP.

If you want to enable or disable administrative shares, do the very simple step by step below :
This step by step will take the following effect :

  • enable C$, D$, E$ or disable C$, D$, E$ (root of each partition)
  • enable ADMIN$ or disable ADMIN$ (%WINDIR%)
  • enable IPC$ or disable IPC$
  • enable PRINT$ or disable PRINT$
  • enable NETLOGON to use the administrative shares


Requirements : User with administrator rights

Step by step :

  • Start > Run > type “regedit” (without the quotes) > press Enter
  • Browse to HKLM > System > CurrentControlSet > Services > lanmanserver > parameters

To enable administrative shares :

  • Change the value of AutoShareServer to 1
  • Change the value of AutoShareWks to 1

To disable administrative shares :

  • Change the value of AutoShareServer to 0
  • Change the value of AutoShareWks to 0

If you didn’t find the AutoShareServer and AutoShareWks, you need to create one by doing the following :

  • Right click on empty space on the right pane of regedit > New > DWORD value
  • Name it AutoShareServer and put in the value you want (0 to disable, 1 to enable)
  • Do the same for AutoShareWks

Reboot your computer and you’re done.


Tags: , , , , , ,

2 comments on “how to enable | disable administrative shares

  1. thanks for sharing info!
    does it work for 7 and 2k8?

  2. Andani says:

    This worked for me, thank you

Leave a Reply

Your email address will not be published. Required fields are marked *