Disable hidden shares

Facebookgoogle_plus

Part of a security policy in some places, disabling the windows operating system hidden share is needed. In order to make it without using any 3th party tool, you have to change registry value or use group policy ADM template. Hideen shares stands for all the %latter% $ we know from Microsoft operating system like C$, \\%servername%\%sharename% $ and all other hidden shares.

Editing registry is a little dangerous so make sure you backed it up.
The two REG_DWORD values responsible for sharing located under:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parame
ters\AutoShareServer
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parame
ters\AutoShareWks
 Setting 0 to the REG_DWORD values will disable hidden shares.