Windows desabilitar compartilhamentos Administrativos

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

Computador\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

 

net stop server
net start server