https://wenku.baidu.com/view/49732c331a37f111f1855bac.html
first of all,
to check 'server' service under the services.msc
second to check the register:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
CREATE TWO DoWORD KEYS
autosharewks
autoshareserver
to 1
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"restrictanonymous"=dword:00000000