remove admin shares

can this be done on windows 7?
I know how to do it on Xp, but not on 7

I'd like to remove admin$ and c$
LVL 1
gddl630Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Coast-ITConnect With a Mentor Commented:
Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\Windows\CurrentVersion\Policies\System
Name: LocalAccountTokenFilterPolicy
Data Type: REG_DWORD
Value: 0


removes admin shares

or you could use

net use admin$ /delete   maybe?
0
 
Coast-ITCommented:
if you use the net share /delete option for each share, this will recreate on startup (goold old Windows), so ensure you have the net share /delete commands in a startup script
0
 
danubianConnect With a Mentor Commented:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanManServer\Parameters

Select Edit, New, DWORD (32-bit) Value,type "AutoShareWks" and press Enter. (You can leave this setting with its default value of 0.)
If you have the key just check for correct value.
Restart Windows  to put the new setting into effect
0
 
NikSystems SpecialistCommented:
Maybe easier would be to open Computer Management and navigate to:
System Tools | Shared Folders | Shares

right click on the ADMIN$ share and select 'stop sharing' option. Do the same for the C$ drive.

Regards,
Nik
0
 
NikSystems SpecialistCommented:
My fault, share will reaper with the service restart :(
0
All Courses

From novice to tech pro — start learning today.