my windows 7 system by default will share C$, D$. I would like to turn it off and just share the folder i would like to share
you can modify reg key to turn off default admin share
Add the following reg key will disable default admin share
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters] "AutoShareWks"=dword:00000000
result
PS D:\> net share Share name Resource Remark ------------------------------------------------------------------------------- IPC$ Remote IPC share_public D:\share_public The command completed successfully.