Last modified on 8th January 2023.
Be careful prior you disable the Admin Shares from your box. Microsoft strongly object about turning off the admin shares. Software like “Oracle” require Admin Shares to be enabled in order to install most of their software on Windows.
Regardless, I feel it is necessary at many times as I keep some “personal” stuff with my work boxes. There exist a small registry hack actually demonstrating how to disable admin shares with Windows XP, and the same hack works perfectly with later Windows OS as well.
Here is the hack (obtained from petri site)
Start regedit and browse to:
Hive: HKEY_LOCAL_MACHINE
Key: SYSTEM\CurrentControlSet\Services\LanManServer\Parameters
Name: AutoShareWks
Data Type: REG_DWORD
Value: 0
A double idiot proof note:
location (i.e. it does not exist) – please right click in the right pane of the window and
create it, If you can’t find the value in the registry under the exact.
You must restart your box in order to get this hack activated.