?
Solved

remove admin shares

Posted on 2010-09-16
5
Medium Priority
?
401 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
Coast-IT earned 1000 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 1000 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
Assume you have an outside contractor who comes in seasonally or once a week to do some work in your office, but you only want to give him access to the programs and files he needs and keep all other documents and programs private. Can you do this o…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
Suggested Courses

771 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