This will only work with XP and 2000 or NT!
For Security to delete the hidden shares in windows xp home or professional.
Open the registry editor(regedit) go to
HKEY_LOCAL_MACHINE SYSTEM| CurrentControlSet| Services lanmanserver| parameters
ADD:
For Workstation: REG_DWORD value AutoShareWks=”0″
For Server: REG_DWORD value AutoShareServer=”0″