Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista - File Sharing - Turn On or Off

Comment
 

File Sharing - Turn On or Off

How to Turn File Sharing On or Off in Vista
Published by Brink
02-02-2008

How to Turn File Sharing On or Off in Vista
Information
  This will show you how to turn file sharing on or off for all people on your network to be able to access the files and printers that you have set to Share on your computer.
WARNING
  Check the Network Location Type settings.
NOTE: For how, see: How to Change the Network Location Type in Vista
  • If your network location type is set to Private (Home or Work), then file sharing is turned on by default.
  • If your network location type is set to Public, then file sharing is turned off by default.
RELATED LINKS:



STEP ONE:
Network Connection Properties
NOTE
  This is your connection properties for your network adapter device.
1. Open the Control Panel (Classic View).

2. Click on the Networking and Sharing Center icon.

3. Click on Manage network connections in the upper left corner.

4. Right click on the Network Connection you want to share the Public folder with, and click on Properties.

5. Click on Continue in the UAC prompt.

6. Check File and Printer Sharing for Microsoft Networks and click on OK. (See screenshot below)
NOTE: This is checked by default. This must be checked to be able to turn on file sharing in STEP TWO below.
network_connection_properties.jpg




STEP TWO:
Turn File Sharing On or Off
1. Open the Control Panel (Classic view).
A) Click on the Network and Sharing Center icon.

B) Go to step 3.
OR

2. Right click on the taskbar Network system tray icon.
A) Click on Network and Sharing Center.
3. Click on the down arrow to the right of File sharing to expand it. (See screenshot below)
ns_center.jpg
4. To Turn On File Sharing -
NOTE: With file sharing on, all people on your network will have access to the files and printers that you have set to Share on your computer.
A) Select (dot) Turn on file sharing. (See screenshot below step 7)

B) Go to step 6.
5. To Turn Off File Sharing -
NOTE: With file sharing off, all people on your network will not be able to access the files and printers that you have set to Share on your computer.
A) Select (dot) Turn off file sharing. (See screenshot below step 7)
6. Click on the Apply button.

7. If prompted, click on Continue in the UAC prompt.
file_sharing.jpg




STEP THREE:
Enable Simple File Sharing
1. For how, see: How to Enable Simple File Sharing in Vista

That's it,
Shawn
Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 25,919
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 11-23-2008  
giksy


Vista Ultimate x64
 
 

Re: File Sharing - Turn On or Off

i can not click on :turn on file sharing or :turn off file sharing - because them are frozen

http://img367.imageshack.us/img367/3...sharinget4.jpg


Last edited by giksy; 11-23-2008 at 08:30 AM..
My System SpecsSystem Spec
Old 11-23-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: File Sharing - Turn On or Off

Hello Giksy,

Sorry it took a bit to get back to you, but I have been doing some research on this. Are you using another firewall other than Windows Firewall? If so, then this may be the issue. If you do, keep Password protected sharing turned on, and see below.



Here are some additional considerations:
  • Firewall software blocks network sharing by default for security. To use file sharing or printer sharing in Windows, you must ensure that your firewall software is configured to allow the appropriate networking protocols to communicate. Consult the documentation that came with your firewall software.
  • Turning on printer sharing automatically turns on file sharing, because printer sharing uses the same protocols as file sharing, and requires the same Windows Firewall rules to be enabled. However, the reverse is not true: turning on file sharing will not automatically turn on printer sharing.
Since you have Vista Ultimate, you might also try disabling file sharing through Group Policy to see if that helps.

Hope this helps some for now.
My System SpecsSystem Spec
Old 11-23-2008  
giksy


Vista Ultimate x64
 
 

Re: File Sharing - Turn On or Off

it din`t work.
anyway thank you again.
and yes i`m using another firewall than vista`s. and that is comodo firewall
My System SpecsSystem Spec
Old 11-23-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: File Sharing - Turn On or Off

No problem. You should be fine though as long as you have the Password protected sharing option turned on.
My System SpecsSystem Spec
Old 03-09-2009  
Sudhi164


Vista Ultimate x84
 
 

Re: File Sharing - Turn On or Off

hi,

is there any command line parametr to disable file sharing as i need to do it for many number of computers....

regards,
sudhir
My System SpecsSystem Spec
Old 03-09-2009  
H2SO4


Win7x64
 
 

Re: File Sharing - Turn On or Off

NET STOP SERVER

That stops the (SMB) server service which will prevent the machine from sharing files (and printers) until the service is restarted.

However, if you reboot, the service will restart again because by default it's set to start automatically. To disable auto-startup, you could use this:

sc config LanmanServer start= auto

You'll need to do it elevated though.
My System SpecsSystem Spec
Old 03-09-2009  
Sudhi164


Vista Ultimate x84
 
 

Re: File Sharing - Turn On or Off

hi,

it is not working and also i need to uncheck the file and print sharing for network...

regards,
Sudhir
My System SpecsSystem Spec
Old 03-09-2009  
H2SO4


Win7x64
 
 

Re: File Sharing - Turn On or Off

What exactly is not working for you? What errors do you see, if any?

If you stop (and disable) the Server service, I can guarantee nobody will be able to access shares on that box. In fact, that's the best way to stop sharing.

I made an obvious mistake with the SC command though. To disable the service, use this syntax:

sc config LanmanServer start= disabled

(Note "disabled", not "auto" as I previously wrote.)
My System SpecsSystem Spec
Old 03-10-2009  
Sudhi164


Vista Ultimate x84
 
 

Re: File Sharing - Turn On or Off

hi,
the above command which you have mentioned is not working below is the screen shot


i want the uncheck the check box file and printer sharing for network in the properties of network.
Attached Thumbnails
untitled.jpg  
My System SpecsSystem Spec
Comment

Tutorial Tools


Similar Threads
Tutorial Category
Can't turn off password protect in file sharing Network & Sharing
Turn Off File Sharing Vista networking & sharing
Turn off file sharing Vista networking & sharing
Cannot Turn on File Sharing Network & Sharing
Vista wont even allow me to turn off file sharing Vista networking & sharing


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46