Solved

remove admin shares

Posted on 2010-09-16
5
393 Views
Last Modified: 2012-05-10
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$
0
Comment
Question by:gddl630
  • 2
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
Coast-IT earned 250 total points
ID: 33690201
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
 
LVL 11

Expert Comment

by:Coast-IT
ID: 33690220
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
 
LVL 5

Assisted Solution

by:danubian
danubian earned 250 total points
ID: 33690305
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
 
LVL 17

Expert Comment

by:Nik
ID: 33694947
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
 
LVL 17

Expert Comment

by:Nik
ID: 33694980
My fault, share will reaper with the service restart :(
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

When you use the right mouse button (assuming you're right handed) to click something in Windows, you usually get what is called a "context menu".  It's called that because the items in the menu vary according to context, that is, according to where…
So many times I have seen the words written in a question "if only I could show you" or " I know how hard it is for you since you can't see it" in any zone. That has inspired me to write about this tool in windows 7 called "Problem Steps Recorder…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now