Industry guru Dave Taylor offers free tech support on a wide variety of technical and business topics, including HTML, Apple iPhone, online advertising, Cascading Style Sheets, Web design, management, Unix, Linux, search engine optimization, online dating, Mac OS X, shell script programming and Microsoft Windows.

How do I disable file and printer sharing in Windows XP?

I know this is an old issue and I hope I'm not violating any blogging "netiquette" rules, but on the security issue you brought up on your business blog, isn't it feasible to just go into your network connection properties and unselect "File and Printer Sharing on Microsoft Networks" when you are connected to a hotel or cafe network? This should stop anyone from seeing your files, correct? Since I have a password protected Administrator and other usernames on my laptop, they shouldn't be able to browse the file system with the standard double-backslash addressing ( \\GabesLaptop\C$ ).


Dave's Answer:

You're talking about the article I wrote a while back on my business blog called Is this any way to set up a hotel Internet connection? In that article I note how incredibly easy it is to get onto other people's computers - particularly PCs - by simply plugging in and visiting the "network neighborhood". Since everyone in a hotel is on the same subnet, the same local area network, anything open is open to everyone, malicious, curious, or otherwise.

You're right that the first and most important step to protect yourself in these sort of situations is to disable your own file and printer sharing (though odds are good you don't have a portable printer, it just happens that the two are in the same place). Let me show you how to do that, then we'll talk a bit more about security settings.

In Windows XP, it's rather hard to find the sharing settings because, unlike Mac OS X, there's no control panel labeled "Sharing", and to my way of thinking, the "Security Center" is darn complicated and the wrong place to go to make this change anyway. Instead, as you suggest, you need to go to START --> Control Panel --> Network Connections. Now you'll see this:

Windows XP: Network Connections

Now you'll want to identify the one labeled "Local Area Connection" (like me, you might well have a variety of other network connections listed too). Double-click on it and you'll see the basic statistics for your connection:

Windows XP: Local Area Connection Status

One more step. Click on "Properties" and you'll see a fairly complicated list of different network configuration options presented in what I have always thought was a baffling manner:

Windows XP: Network Connections: Local Area Connection Properties

The key property you want is "File and Printer Sharing for Microsoft Networks": find it and click the little checkbox adjacent until it's not checked. Then click "OK" and you've disabled file and printer sharing for your network. Good job. That's a big step towards locking down your laptop. If you're using dialup networking, check out the slightly different path that Microsoft offers to resolve this lurking danger in their article #199346.

Now that you've done that, however, there are many other steps I recommend, including having reliable, up-to-date antivirus software and a good spyware utility too. My choices for those are the terrific - free! - AVG for anti-virus protection and the (commercial, paid) Webroot Spy Sweeper utility.



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Stumble Upon    

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

software to open site

Posted by: kunle at August 17, 2008 8:03 AM

I need file and printer sharing or at least that port open to be able to run psexec an psshutdown on my network. But how to stop stupid XP automatic printer sharing. My printers are not shared but they still automatically get to other machines as auto shares.

Regards
Ilija

Posted by: Ilija Kostic at September 29, 2009 1:01 AM

I have something to say, now that you mention it, but ...
Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you for all your efforts on this Web site by buying you a cup of coffee!

I do have a comment, now that you mention it!











Remember personal info?


Please note that I will never send you any unsolicited email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.








Ask Dave Taylor: The iPhone App: Advertisement



Follow me on Twitter @DaveTaylor

Search
Find just the answers you seek from among our 2300+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Book Links
© 2002 - 2010 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.