Solved

remove admin shares

Posted on 2010-09-16
5
394 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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.

919 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

17 Experts available now in Live!

Get 1:1 Help Now