Note When you change the AutoShareServer registry value on a Windows Server 2003-based computer, you do not have to restart the computer for the change to take effect.
The AutoShareServer value resides in the following location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\AutoShareServer