Windows 7 file and printer sharing doesnt work for me

10

9

Until a few days ago I hadn't had any problems, but now I can't use file and printer sharing in Windows 7 but everyone else on the network can.

It is possible I installed some program that made a change or disabled a windows service! (Like: proxifier, ...)

Now:

  • I can ping everyone on the network.

  • Everyone can ping me.

  • I can't see their computers in Windows 7 "Networks", so I can't use file and printer sharing.

  • Everyone can see my computer in windows 7 "Networks", and also can use my file and printer sharing.

  • With a LAN messenger program, we(I & everyone) can text chat, video chat and transfer files.

How do I configure my computer so as to see other computers on the network and use Windows 7 file and printer sharing?

these screenshos, maybe help:

And one funny thing: I cant see my computer by IP i cant see my computer by IP

EmRa228

Posted 2012-06-30T09:34:15.883

Reputation: 135

No wonder Dropbox has done so well! – Matthew Lock – 2016-05-11T07:53:31.843

Can you access other by using their IP? try typing \192.168.1.xx replace xx with others IP – Martheen Cahya Paulo – 2012-06-30T14:11:07.787

@MartheenCahyaPaulo no, i cant. – EmRa228 – 2012-06-30T15:29:32.040

Question: Have you done all the steps as described, for example, here?

– harrymc – 2012-07-07T14:15:53.773

@harrymc yes, see: http://i.imgbox.com/aas9ehhU.jpg

– EmRa228 – 2012-07-07T15:39:08.383

which port are u using for Proxifier? – Ahmed Bilfaqih – 2012-07-07T18:46:24.587

(1) Do you ping other computers via IP or name? (2) Are there other Windows 7 computers on the network? (3) See this article - what are the results from the LANscan utility on your computer or on others?

– harrymc – 2012-07-07T20:10:08.613

@ahmed i think all port, see:http://i.imgbox.com/aajsOkh9.jpg when I exit proxifier, doesnt solve my problem.

– EmRa228 – 2012-07-08T07:02:54.793

@harrymc (1) yes, see: http://i.imgbox.com/aaeqeNwz.jpg (2) no, this is exactly my problem (3) no result. just searching...

– EmRa228 – 2012-07-08T18:09:09.380

try booting up in "Safe Mode with Networking". (press F8 on bootup) – Logman – 2012-07-08T18:52:58.000

dear @Logman see this: http://i.imgbox.com/aaiGVPiZ.jpg that is taken from "SAFE MODE WITH NETWORK"

– EmRa228 – 2012-07-09T12:12:05.760

Also, check the Event Log for network-related events/errors.

– Synetech – 2012-07-11T04:46:20.020

@Synetech but do you have any files or folders actually shared? yes, others can put and get files in my computer by filesharing. – EmRa228 – 2012-07-11T08:44:46.737

> i think all port, see:i.imgbox.com/aajsOkh9.jpg when I exit proxifier, doesnt solve my problem.   That means nothing; and in fact could make it worse. For example, exiting McAfee or ZoneAlarm does not make the system free and exposed because exiting them simply exits the user-program, while the drivers and filters remain active. It is confusing because the user thinks that they have stopped and disabled the programs, but "for some reason" it still won't work. Of course the reason is that the programs' drivers are still blocking things, but without the program, you cannot allow them. – Synetech – 2012-07-11T19:37:40.150

what is the solution? – EmRa228 – 2012-07-12T07:18:36.483

@EmRa228, well if it is indeed Proxifier that is causing the problem, then you would either need to configure it to let the traffic through, report the problem to the devs and wait for them to fix it if it is a bug, or else uninstall it, not just exit the program. – Synetech – 2012-07-12T20:20:33.100

Now that the bounty has lapsed, interest in your issue will likely decrease. If you are still having the problem, you will need to provide feedback so that I/we can continue to try to fix it. Even if it is fixed, a note to that effect, (especially if you can state what fixed it) would be great for others who have the same problem as you. Cheers. – Synetech – 2012-07-14T19:04:45.470

>

    • You have installed some Personal Firewall (Norton / AVG / NOD / etc)?
    • What edition of Windows 7 have on your PC Acer-Emra?
  • < – LinuxUser – 2012-07-09T20:34:17.337

    >

  • Avira
  • all windows 7 are Ultimate
  • < – EmRa228 – 2012-07-10T17:36:19.197

    The Windows firewall service must be set to Automatic, regardless of Norton or any other security software. – None – 2013-01-10T12:27:06.617

    @Alain Windows firewall service is Automatic! And Other firewalls are Off. but still I have problem. – EmRa228 – 2013-01-10T14:59:07.987

    Answers

    17

    There are numerous factors that can trip up Windows File/Print Sharing. Unfortunately because there are so many factors, it can take some testing to figure out the exact cause in any given scenario.

    TL;DR/DIY: Skip to the Summary

    Workgroup/Homegroup

    Windows Vista changed the way that File/Print Sharing works. Instead of just setting the same workgroup name like in XP, you now have to create a homegroup as well and set the network type (public/private (home)/domain).

    Configuring File/Print Sharing should be easy by default, but once you start changing settings or using third-party security software, it becomes quite tricky to make sure everything is set correctly again because there are so many factors.

    If you want to share, set the network type to private. If you do not want to share, set the network type to public. It may seem counterintuitive, but it makes sense: in a public network, you want to lock down the sharing settings, but want more lax sharing in a private network.

    Services

    There are no less than four Windows services that must be running in order for File and Print Sharing to work correctly and fully:

    • Computer Browser
    • Server
    • TCP/IP NetBIOS Helper
    • Workstation

    Open the Services MMC snap-in (services.msc) and make sure that those for are running and set to Automatic start. Open Network Places again and refresh. If it doesn’t work, try again in a minute or two.


    Personally, I don’t like having all those extraneous services running all the time, even when I’m not using File/Print Sharing. As such, I have created two batch files that let me turn them on and off as needed without having to manually start or stop each individual service:

    ::LANOn.bat:
    net start browser
    net start server
    net start lmhosts
    net start lanmanworkstation
    
    ::LANOff.bat:
    net stop browser
    net stop server
    net stop lmhosts
    net stop lanmanworkstation
    

    Adapter Settings

    In addition to the service, NetBIOS must be enabled on your network adapter as well:

    NetBIOS options for the NIC

    While it seems like an obvious step, also make sure that File/Print Sharing is installed and enabled for the active network adapter, particularly if more than one network adapter is installed:

    File/Print Sharing Service

    Also make sure that the DNS settings are the defaults if you don't specifically need to change them because these settings can affect visibility to and from the LAN:

    DNS Settings Dialog

    Finally, make sure that the system name and domain/workgroup are configured correctly for your network; for example:

    Computer Name/Workgroup Settings Dialogs

    NB: Ensure that the computer and workgroup names are valid. The official Windows interface prevents using invalid characters or making it too long, but third-party software does not necessarily prevent that. This can cause problems with network discovery.

    Ports

    Another common cause of File/Print Sharing not working is that a firewall closes a required port. Windows File/Print Sharing requires TCP and UDP ports 135-139 to be open.

    Check your security software (firewall, anti-virus, proxy programs) to ensure that the necessary ports are not being blocked. File/Print Sharing has historically been a potential vulnerability and so frequently locked down. You can run a test with ShieldsUP!.

    Security Software

    Have you installed or changed the settings of any security software like firewalls, antivirus, etc. recently? Those kinds of programs often like to fiddle with various aspects of the OS to lock things down, and if you set "privacy" setting or something, it may block or disable an aspect of Windows. For example, the WWDC (Windows Worms Doors Cleaner) is a great way to harden Windows XP, but setting it to maximum security has the side-effect of disabling F&P Sharing, the Task Scheduler (and thus the prefetcher), etc.

    Check your security programs' settings for an option related to sharing.

    In addition, make sure the Windows Firewall is configured correctly in case you have changed something a while back. You can compare to a complete listing of (default) Windows Firewall rules for File/Print Sharing from a system with File/Print Sharing functioning correctly.

    Misery, Meet Company

    Plenty of other people have had similar problems with File/Print Sharing.

    All these people ended up having to either modify their network configuration (public/private/home/homegroup/etc.) to match that of the rest of the network, or reset/disable the Windows Firewall (or one of the other items listed in this answer). One person linked to a file that may or may not help fix this issue.

    This person had a problem with File/Print Sharing that was fixed by resetting the Windows Firewall rules, and there is also a guide linked in that thread which shows a couple of steps involving changing the default sharing settings that are supposed to help.

    In this thread, resetting the TCP/IP stack was suggested as was removing extraneous 6to4 adapters.

    Official Responses

    Network discovery is a network setting that affects whether your computer can see (find) other computers and devices on the network and whether other computers on the network can see your computer. By default, Windows Firewall blocks network discovery, but you can enable it.

    At least as a temporary diagnostic step, turn off your antivirus and Windows Firewall. It is not as simple as you would think; it requires a whole one-minute video to show how to do it.

    These people solved it by disabling the Windows Firewall altogether.

    Here are two official Microsoft help pages that discuss fixing File/Print Sharing and computers not showing up in a network. They also have two troubleshooters: [1] [2] for resolving these issues.

    Resources

    Summary

    When File/Print Sharing is not working, make sure that:

    • File/Print Sharing is correctly installed and enabled in all ways: services, NICs, ports

    • All settings are correct and match the rest of the network, including computer and workgroup names, type of network, and network settings

    • Security software (third-party or not) is properly configured, disabled, or uninstalled

    If after all this, you system is still messed up and File/Print Sharing is still not working correctly, then you may as well resort to generic fix-it steps like chkdsk, sfc, systemrestore, repair install, or even reinstalling.

    Synetech

    Posted 2012-06-30T09:34:15.883

    Reputation: 63 242

    What could cause that one computer can access and see the shares of the other, but not the other way around? – Daniel F – 2017-05-22T17:30:04.003

    The "complete listing of (default) Windows Firewall rules" link isn't working. The URL it links to is https://pastebin.com/v9sYrigi but it says "This page has been removed!"

    – neubert – 2017-10-31T03:27:55.407

    All services are "started" and "automatic". I also try creating and running "LANOFF.bat" and after that "Lanon.bat". but my problem still has exists. – EmRa228 – 2012-07-09T09:44:04.633

    thanks for update your answer, see: http://i.imgbox.com/aacn9YJh.jpg

    are ports open? all my firewalls are disable and proxy programs has no effect on 135-139 ports.

    – EmRa228 – 2012-07-10T17:19:41.193

    It looks like your ports are good. Have you checked that NetBIOS is enabled for the network adapter? – Synetech – 2012-07-10T17:31:45.043

    yesssssssssssssss – EmRa228 – 2012-07-10T17:34:48.857

    1"yesssssssssssssss"? o.O Yes what? Yes it finally works or yes you verified it is enabled? – Synetech – 2012-07-10T17:40:02.757

    :))))) you asked Have you checked that NetBIOS is enabled for the network adapter? I answered: yes. but comment must at least 15 character to send. :D – EmRa228 – 2012-07-10T18:05:09.890

    1Ah, okay. So to be clear, everything is working as expected and the only problem is that other people on the LAN cannot see your computer? Are you behind a router or directly connected to the LAN? – Synetech – 2012-07-10T18:21:52.943

    others can see me, me cant see them. we all connect to adsl modem/wireless access point. – EmRa228 – 2012-07-11T08:50:36.780

    also I cant use my filesharing by IP, but can from computer name. see new screenshot that I added. – EmRa228 – 2012-07-11T08:53:05.837

    1Oops, I had it backwards. Either way, it's the same problem; either your network configuration is not set up the same as the rest of the LAN, required software (services/programs) are not running, or something is being blocked. Like I said, double-check your security software (firewall, antivirus, etc.) to make sure you have not set anything that prevents this from working. – Synetech – 2012-07-11T19:29:17.600

    2

    I understand from the comment that the other computer(s) are not Windows 7, so I assume that they are all XP.

    For XP to discover or be discovered by Windows 7 or Vista, it must install :
    Link Layer Topology Discovery (LLTD) Responder protocol.

    Without this protocol, XP and Vista/7 don't talk the same discovery "language".

    [EDIT]

    Misunderstanding : If all the computers are Windows 7, then there is no software reason for such a problem. So I am left with the following suggestions:

    • Restore to a System Restore Point dating to before the problem.
      Better also verify if a Windows Update has occurred since then, so you may need to block some update.
    • Refresh your network card driver with the latest version from the manufacturer's website
    • Use the System File Checker to verify system integrity
    • Reset the TCP/IP stack :

      netsh int ip reset C:\netsh.log.txt
      netsh winsock reset

    In all cases, always take backups before playing with the operating system·

    harrymc

    Posted 2012-06-30T09:34:15.883

    Reputation: 306 093

    1NO, all other computers are windows 7. – EmRa228 – 2012-07-09T12:04:13.120

    this screenshot is from another computer in this LAN: http://i.imgbox.com/aagRRAaH.jpg

    – EmRa228 – 2012-07-09T12:09:02.537

    So basically, just generic diagnostic steps? – Synetech – 2012-07-09T20:28:39.077

    1@Synetech: Yes - according to the info given here I can think of no specific reason for this problem (well, except for virus infection of course). – harrymc – 2012-07-10T05:16:09.607

    1

    If you did install something that messes with your network services that can very easily have caused this.

    Proxifier could be your culprit here as it messes with network traffic - try removing it and go back to a default config.

    Rory Alsop

    Posted 2012-06-30T09:34:15.883

    Reputation: 3 168

    I dont want remove proxifier, have use it. but when I exit it, no change happens. – EmRa228 – 2012-06-30T09:50:23.940

    which windows services are for file sharing? and how can go back to default config? – EmRa228 – 2012-06-30T09:51:24.920

    1

    It seems that the DNS for this computer does not work. Please check related settings.

    • Click Start. Enter ncpa.cpl in Start Search box.
    • Right click on the connection you are using, choose Properties.
    • Double-click on the IPv4 protocol.
    • Make sure that IP address and DNS server are set to obtain automatically.
    • If the DNS is already obtained automatically, I suggest that you choose "Use the following DNS server address", and enter the address of your router.

    Please check the result. If the issue still occurs, check the hosts file.

    • Click Start, type drivers in the Start Search box, and then press ENTER.
    • Click the entry for drivers that is displayed in the search results. The icon next to drivers will be a folder.
    • A window appears that will display Windows > system32 > drivers in the address bar at the top. Double-click the etc folder.
    • Locate and right-click the hosts file, and then click Rename.
    • Type oldhosts, and then press ENTER. If you receive the following error message click Continue.
    • You need to confirm this operation.
    • If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
    • Restart the computer to make sure that the change takes effect.

    If the above solution does not help then try with this solution which involves designation of networks as Public though Network and Sharing Center indicates a Home or Work Network (Private Network).

    • Open Control Panel and select Administrative Tools.
    • Open Local Security Policy and select Network List Manager Policies in the left pane. In the main view, right click your network and select Properties.
    • Select the Network Location tab and change the Location Type to Private.
    • In network properties, ensure that "Client for Microsoft Networks" is checked. If not, check it and reboot.

    Hope this helps.

    Try by deleting hidden devices from network adapters.

    First of all on device manager you must press view > 'show hidden devices'

    • Go to Device Manager
    • Network Adapters
    • Delete everything

    Uninstall all of them (some can't be, don't bother). Then press right mouse button at any adapter and check scan for new devices. And if this does not work then uninstall File and Print Services of your network adapter then re-install and reboot.Hope this might solve your problem.

    Ahmed Bilfaqih

    Posted 2012-06-30T09:34:15.883

    Reputation: 1 844

    solution 1, is ok. solution 2, dosent work. solution 3, dosent work. see: http://i.imgbox.com/aamm46mM.jpg

    – EmRa228 – 2012-07-09T12:23:55.967

    Reboot and check again. – Ahmed Bilfaqih – 2012-07-09T14:53:20.133

    I have updated my answer with a solution please try with that and let me know. – Ahmed Bilfaqih – 2012-07-09T19:47:37.440

    +1 for new way "show hidden devices". they were 230 hidden adapter!!!! – EmRa228 – 2012-07-10T17:38:16.607

    Any help after you delete those unwanted hidden adapters? – Ahmed Bilfaqih – 2012-07-11T13:52:05.777

    1

    Uninstall and install : File and printer Sharing for Microsoft Networks solved my problem, even if I tried all above and even uninstall and installed NIC driver. (PC on domain)

    enter image description here

    emirjonb

    Posted 2012-06-30T09:34:15.883

    Reputation: 610

    Just Uninstalling and installing : File and printer Sharing for Microsoft Networks worked for me... tried so much other crap before and nothing worked. – Jimmy – 2017-08-13T17:20:17.157

    0

    Check the firewall settings: Control Panel\All Control Panel Items\Windows Firewall\Allowed Programs File and Printing Sharing checkmarked both columns (Private & Public )? Core Networking? Network Discovery?

    go advance and look at the outbound rules.

    might try uninstalling and then reinstalling "File and Printing Sharing " from the network adapter. But Rory is probably right about Proxifier

    Logman

    Posted 2012-06-30T09:34:15.883

    Reputation: 3 452

    Windows Firewall State: OFF; @logman thanks for answer. in advance/outbound rules All items "action" is allowed.

    I tried try uninstalling and then reinstalling "File and Printing Sharing " from the network adapter, also use another adapter (Local Area connection) In addition WiFi adapter.

    proxifier: I tried exit it.

    I still have problem. thanks for new way to solve.

    this is my screenshot: http://i.imgbox.com/aaeqeNwz.jpg maybe help.

    – EmRa228 – 2012-07-07T12:22:34.633

    -1

    Update Windows and update your drivers.

    Wolfpack'08

    Posted 2012-06-30T09:34:15.883

    Reputation: 950

    Tested, working. – Wolfpack'08 – 2019-03-13T08:56:57.010

    Can you explain why you think this will help in OP's specific situation? – bertieb – 2019-03-13T10:32:36.193