Windows永久关闭默认共享

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters

AutoShareServer=0
AutoShareWks=0
RestrictAnonymous=1