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 Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista Tutorial - File Sharing - Turn On or Off

Comment
 
LinkBack Tutorial Tools Display Modes
<!-- google_ad_section_start -->File Sharing - Turn On or Off<!-- google_ad_section_end -->
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: 23,761
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
Show Printable Version Show Printable Version
Email this Page Email this Page

Applies to
All Vista Versions
64 Bit & 32 Bit

Page copy protected against web site content infringement by Copyscape

Old 11-23-2008  
giksy's Avatar
giksy
Member


Join Date: Nov 2008
Vista Ultimate x64
galati
 
Rep Power: 5
giksy is on a distinguished road
  giksy is offline

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 07:30 AM..
My System SpecsSystem Spec
Old 11-23-2008  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
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
  Brink is online now

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's Avatar
giksy
Member


Join Date: Nov 2008
Vista Ultimate x64
galati
 
Rep Power: 5
giksy is on a distinguished road
  giksy is offline

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's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
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
  Brink is online now

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
Member


Join Date: Mar 2009
Vista Ultimate x84
 
Rep Power: 3
Sudhi164 is on a distinguished road
  Sudhi164 is offline

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's Avatar
H2SO4
A bit of a numpty



Join Date: Mar 2009
Vista Ultimate x64
Australia
 
Rep Power: 53
H2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud of
  H2SO4 is offline

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
Member


Join Date: Mar 2009
Vista Ultimate x84
 
Rep Power: 3
Sudhi164 is on a distinguished road
  Sudhi164 is offline

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's Avatar
H2SO4
A bit of a numpty



Join Date: Mar 2009
Vista Ultimate x64
Australia
 
Rep Power: 53
H2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud ofH2SO4 has much to be proud of
  H2SO4 is offline

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
Member


Join Date: Mar 2009
Vista Ultimate x84
 
Rep Power: 3
Sudhi164 is on a distinguished road
  Sudhi164 is offline

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

Tags
file & folder settings, networking & internet, sharing

Tutorial Tools
Display Modes


Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
Turn Off File Sharing Fitzs Vista networking & sharing 0 06-16-2008 12:19 PM
Turn off file sharing Ken Varley Vista networking & sharing 1 04-04-2008 02:31 PM
Cannot Turn on File Sharing Alan_Bernardo Network & Internet 1 02-19-2008 09:26 AM
x86, File sharing wont turn on.. 1068 error on manual start.. markm75 Vista networking & sharing 0 01-24-2008 05:03 PM
Vista wont even allow me to turn off file sharing Ed43 Vista networking & sharing 0 03-03-2007 04:34 PM


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