Hot answers tagged network-share
Here's what I'd do. Backup the HKLM\System\CurrentControlSet\Services\LanManServer\Shares registry key and subkeys Delete any shares you want to "disable". Restart the "Server" service. Restore the shares from the registry backup to "enable" them again. It's a bit heavy-handed, but I'd prefer that to @TheCleaner's suggestion of changing permission ...
Two methods I can think of that don't require modifying the shares: Disable the Server service. OR Unbind File and Printer Sharing on the NIC.
Windows systems automatically shares the root of every hard drive on the machine as $ (so you get C$, D$, A$, etc). These shared are secured in such a way that only members of the local administrative group can access them. Considering your case I have 3 suggestions for you, You can temporarily unshared these administrative shares. That is, open computer ...
Only top voted, non community-wiki answers of a minimum length are eligible