Google Answers Logo
View Question
 
Q: How to permanently remove the PRINT$ share? ( No Answer,   5 Comments )
Question  
Subject: How to permanently remove the PRINT$ share?
Category: Computers > Operating Systems
Asked by: student_of_life-ga
List Price: $10.00
Posted: 29 Dec 2004 15:51 PST
Expires: 28 Jan 2005 15:51 PST
Question ID: 448952
Windows 2000 creates some hidden administrative shares, one of which
is PRINT$ (an alias for C:\WINNT\system32\spool\drivers).  How can I
permanently remove this share?  The following article describes how to
remove some of the other hidden administrative shares, but it does not
describe how to remove the PRINT$ share:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q314984&sd=tech

If I go to the Computer Management screen and click on "Stop Sharing"
on the print$ share, or if I click on "Do not share this folder" in
the properties for C:\WINNT\system32\spool\drivers, then the share is
temporarily removed.  It comes back when I reboot the computer.  I
want it to be permanently removed.

I believe I can remove the PRINT$ share by disabling the Server
service or uninstalling the File and Printer Sharing for Microsoft
Networks (in my Local Area Connection properties).  But this would
remove all file and printer sharing, which I do not want to do.  I
only want to remove the PRINT$ share.
Answer  
There is no answer at this time.

Comments  
Subject: Re: How to permanently remove the PRINT$ share?
From: crythias-ga on 31 Dec 2004 12:47 PST
 
Microsoft generally likes to say that file and print sharing are the
same (that is, they stop and start together). Samba agrees, mostly.
The print$ share is the way that print sharing works. However, if you
really look at the print share net view \\computername\print$, you can
get a feel for the directory structure that is being shared, and find
it. However, it's probably more virtual than actual. And it will
(should) only list printers that you are sharing, read-only.

Yes, stopping the server service would probably be the best bet. Or
put a firewall on your PC. The problem is that file and print sharing
is accessed on the the same ports, and ne'er the two shall separate.
Of course, you could stop your print spooler service, but I doubt
you'd really like to be printless.

To summarize: don't worry about it. If you are worried about it, don't
use file and print sharing. If you have to use file and print sharing,
use a firewall that can tell friend from foe.

This is a free comment.
Subject: Re: How to permanently remove the PRINT$ share?
From: sanjay_bhardwaj-ga on 02 Jan 2005 23:12 PST
 
Hi,

If your desktop is Server, do following in regedit:

Hive: HKEY_LOCAL_MACHINE
Key: SYSTEM\CurrentControlSet\Services\LanManServer\Parameters 
Name: AutoShareServer
Data Type: REG_DWORD
Value: 0

If you desktop is Workstation, do following in regedit :
Hive: HKEY_LOCAL_MACHINE
Key: SYSTEM\CurrentControlSet\Services\LanManServer\Parameters 
Name: AutoShareWks
Data Type: REG_DWORD
Value: 0

A reboot is required to have an effect. Remember C$, D$, Print$ all
the default share by Microsoft OS, once you do the above mention
settings, all the $ symbole sharing will not be shared.

Cheers!!!
Sanjay
Subject: Re: How to permanently remove the PRINT$ share?
From: student_of_life-ga on 03 Jan 2005 02:37 PST
 
Sanjay,

As described in the Microsoft support article that I mentioned above,
the registry fix only deletes the C$, D$, and ADMIN$ shares; it does
not delete the PRINT$ and IPC$ shares.  IPC$ is required by the Server
service, so it cannot be deleted.  But there is no reason why PRINT$
can't be deleted.
Subject: Re: How to permanently remove the PRINT$ share?
From: beppe-ga on 13 Jan 2005 10:06 PST
 
1 - run regedit, 

2 - then go to
           HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

3 - and add a string with any name (ie DelPrintShare) with value
           net share $print /delete

4 - restart your pc
Subject: Re: How to permanently remove the PRINT$ share?
From: beppe-ga on 13 Jan 2005 10:24 PST
 
i did a little mistake (not $print but print$) but seems to work anywhere:

it is because is sufficient to type
net share print$ /delete
in any cmd window (i did this before tricking in reg).

The sharing is removed permanently!

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy