This is a tip on how to remove the default shares of C$ and Admin$
You can use "net share c$ /delete"
but that only works until the system is rebooted.
A better way is to modify the registry.
Add the key:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters]
"AutoShareWks"=dword:00000000
"AutoShareServer"=dword:00000000
AutoShareWks is to disable automatic default shares on workstation OS'es.
AutoShareServer is to disable automatic default shares on server OS'es.
Re: Authentication to domain ... > the Admin$ and C$. ... Where would I recreate the IPC$?... Overview of problems that may occur when administrative shares are missing: ... (microsoft.public.windows.server.dns)
Re: Admin$ and IPC$ shares disappear repeatedly ... > one DC is now having a problem where the Admin$ and IPC$ shares disappear... > admin$ is no longer listed. ... The same happens with IPC$.... > losing all the user accounts and other AD information. ... (microsoft.public.win2000.general)
Re: Create an Admin$ Share using the Create Win_32 class ... As simple way to achieve this is to run a logon script that deletes the ...AutoShareWks value in the parameters subkey from the Registry. ... I use this script on my network to keep the wise guys with admin rights from ... > Admin$ shares on multiple Windows NT computers using my Domain Admin ... (microsoft.public.scripting.wsh)
Re: shared folders ... > They are called administrative shares and are meant for the administrators ... > admin password, so if you have a good, strong one you aren't in too much ... (alt.computer.security)
Re: shared folders ... > They are called administrative shares and are meant for the administrators ... > admin password, so if you have a good, strong one you aren't in too much ... (alt.computer.security)