Click Start—>Run type regedit click ok
For vista users Enter your UAC credentials to continue.
Open the HKEY_LOCAL_MACHINE branch.
Open the SYSTEM branch.
Open the CurrentControlSet branch.
Open the Services branch.
Open the LanmanServer branch.
Select the Parameters branch.
Select Edit, New, DWORD (32-bit) Value. Vista adds a new value to the Parameters key (If you have the key just check for correct value).
Type AutoShareWks and press Enter. (You can leave this setting with its default value of 0.)
Restart Windows to put the new setting into effect.