Solved

remove admin shares

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
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.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

695 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