Solved

How to remove the default share C$ or D$ resource

Posted on 2004-08-29
4
213 Views
Last Modified: 2010-04-14
Win2k always proposes a default share C$ or D$ when it startup.
How can I remove it permantly\.
0
Comment
Question by:nguyen_vantuananh
[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
4 Comments
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 50 total points
ID: 11928261
To delete the hidden administrative shares for all root partitions and volumes (such as C$) and the system root folder (ADMIN$) and to prevent Windows from re-creating them, add an AutoShareWks DWORD value to the following registry key, and then set its value data to 0:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

(Blatantly stolen from http://support.microsoft.com/default.aspx?scid=kb;en-us;314984...)

Please be sure to view the article to see the warnings about disabling the Administrative Shares.

Dave Dietz
0
 

Expert Comment

by:Synder
ID: 11959436
You can create a batch file and have it run automatically in the background at startup.

In the cmd line type:
net share

To list all shared resources


In a batch file:
net share ipc$ /delete
net share admin$ /delete
net share c$ /delete
...
net share z$ /delete

For each share you want to remove. The share's will return after you reboot unless you put this batch file in your startup diectory
0
 
LVL 34

Expert Comment

by:Dave_Dietz
ID: 12326095
The answer I provided is the method endorsed and supported by the product's developer.

Dave Dietz
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remote Access to a Windows 2000 Computer 2 513
Virtualise server 2000 for Hyper V 4 861
Building AD from Scratch 5 145
testing the trust relationship between two domain 1 98
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

762 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