Stopping the default share registry technique as follows (Courtesy of CDogg @ 3dfiles):
To stop the creation of the default share in the first place, fire up regedit and navigate to the key:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanManServerParameters.
Within the parameters key create a new DWORD value and name it AutoShareServer for NTServer (and 2000 server & up) or AutoShareWks for NT Workstation (and 2000 pro) and give it a value of 0. I show this above in detail! Here is another method at boot thru a logon script or batchfile:
VIA BATCHFILE COMMANDS:
NET SHARE C$ /DELETE
NET SHARE D$ /DELETE
NET SHARE ADMIN$ /DELETE
NET SHARE IPC$ /DELETE
NET SHARE DFS$ /DELETE
NET SHARE COMCFG$ /DELETE
etc.
OR just typing NET USE * /d /y should do it for ALL of them!
(etc. for all the shares you wished dropped continuing driveletters as needed. This can be tricky with some apps, so watch it. Some need IPC$ & some need ADMIN$. Stopping the Server Service stops this also additionally to take care of it all at once & not share ANY of them!)
If a drive's not shared in ANY capacity, it cannot be used... another door closed!