1, win+r operation input Compmgmt.msc into the Computer Management, in the shared folder, remove all the disk sharing (this step must be dry, otherwise the settings are not effective)
2, Win+r input regedit into the Registry Editor, navigate to Hkey_local_ Machine---SYSTEM---currentcontrolset---services---lanmanserver---Parameters
Create a new DWORD value type named AutoShareWks, and then change the value to 0.
Navigate to HKEY_LOCAL_MACHINE---SYSTEM---currentcontrolset---Control---Lsa
Change the RestrictAnonymous value to 1.
3, after the restart on it.
Note: If you are too lazy to find the registry key location, you can copy the following text into the text file, the suffix to. reg, and then double-click directly to modify the corresponding key values.
regedit4[hkey_local_machine\system\currentcontrolset\services\lanmanserver\Parameters]" AutoShareWks "=dword:00000000[HKEY_LOCAL_MACHINE\system\currentcontrolset\control\Lsa]" RestrictAnonymous "=dword:00000001
Windows7 Turn off default sharing