Windows 10, can ping other PC but cannot access shared folders! What gives?

10

7

I have a computer running Windows 7 that shares a Git repo on drive D. Let's call this PC "win7". This repo is the origin of a project that we push to and pull from.

The network is a wireless network. One PC on this network is running on Windows 10. Let's call this PC "win10". Win10 can ping every other PC on the network including win7. Win7 can ping win10. Win7 can access all shared files on win10. Neither of the PCs have passwords.

Problem: Win10 cannot access any shared files on win7, not from Explorer, nor from Git Bash or any other Git management system (E-Git on Eclipse or Visual Studio). So, win10 cannot pull/push. Every other PC on the network can access win7 shared files and push/pull to/from the shared Git origin.

What's wrong with Windows 10?

I have tried these:

  1. Control Panel\All Control Panel Items\Network and Sharing Center\Advanced sharing settings\ File sharing is on, Discovery is on, Password protected sharing is off

  2. Adapter Settings\Properties\QoS Packet Scheduler uninstalled and re-installed

  3. Adapter Settings\Properties\File and Printer Sharing uninstalled and re-installed
  4. Adapter Settings\Properties\EVERYTHING uninstalled and re-installed
  5. gpedit.msc\Computer Config\Win Settings\Security Settings\Local Policies\Security Options:

    Enabled These:

    • Network access: Allow anonymous SID/name translation
    • Network access: Let Everyone permissions apply to anonymous users


    Disabled These:

    • Network access: Restrict anonymous access to Named Pipes and Shares
    • Network access: Do not allow anonymous enumeration of SAM accounts
    • Network access: Do not allow anonymous enumeration of SAM accounts and shares
  6. netsh int ip reset, and then restarted

  7. netsh winsock reset, and then restarted
  8. AdapterSettings\ Enabled NetBIOS over TCP/IP
  9. Tried changing to static IP
  10. The new windows 10 Control Panel\ Network Reset
  11. Firewall is turned off

All of these were tried to no avail.

Mostafa Zeinali

Posted 2018-01-22T07:37:13.347

Reputation: 369

So what have you tried to enable file sharing on the Windows 7 machine? Have you tried HomeGroup yet? – MoonRunestar – 2018-01-22T12:15:37.193

Are the user names and passwords the same between the computers? – Allen Howard – 2018-01-22T14:24:27.627

You haven't told us exactly what happens when you try to access Win7 from Win10. Do you get an error? – I say Reinstate Monica – 2018-01-23T04:30:55.133

@Sonickyle27 Edited the question – Mostafa Zeinali – 2018-01-23T05:13:41.923

@AllenHoward Neither of the PCs have Passwords. – Mostafa Zeinali – 2018-01-23T05:14:45.123

@TwistyImpersonator Error Code 70080035, The network path was not found – Mostafa Zeinali – 2018-01-23T05:15:37.667

@MostafaZeinali do you get the same error if you access win 7 by its IP address, e.g. \\ipaddress\sharename? – I say Reinstate Monica – 2018-01-23T05:24:25.077

What's result using IP addree and hostname of Win7? Compare their ipconfig /all output to make sure their Node Type are the same. – Waka – 2018-01-23T09:04:38.007

Also please turn off the security software include the Firewall temporarily to see if it's caused by port blocked. – Waka – 2018-01-23T09:10:14.983

@KarenHu Access through \ip is the same as \name which is Error code 70080035 – Mostafa Zeinali – 2018-01-23T10:31:35.577

@KarenHu All firewalls were turned off! – Mostafa Zeinali – 2018-01-23T10:32:20.430

OK... I'm about to re-install windows. Does anybody have ANY ideas other than those I've already tried? – Mostafa Zeinali – 2018-01-23T10:33:41.973

@MostafaZeinali are the user names the same? – Allen Howard – 2018-01-23T14:46:28.800

@AllenHoward No, they are very much different; – Mostafa Zeinali – 2018-01-29T15:14:40.177

Okay guys, I reinstalled windows, any new suggestions wont be testable. So, Should I close this question or leave it open?! – Mostafa Zeinali – 2018-01-29T15:15:13.727

Windows file sharing in a workgroup setting is a bit odd-- normally the user names and passwords need to be the same between both computers, otherwise things don't work. – Allen Howard – 2018-01-29T21:26:29.953

Answers

16

AT LAAST!! After 4 month, and seeing the error for the second time, I found the solution here:

https://support.microsoft.com/en-us/help/4046019

Turns out, if you type the ip in "Run", and only in "Run", a very specific error shows up that contains this message: "your organization's security policies blocks access..."

Searching that lead me to this solution:

Open "Local Group Policy Editor" by searching in Start Menu or going to Run and running gpedit.msc, then go to Computer Configuration\Administrative Templates\network\Lanman Workstation and: "Enable insecure guest logons"

And that solved the problem.

Mostafa Zeinali

Posted 2018-01-22T07:37:13.347

Reputation: 369

1Isn't this the same as "Turn off password-protected sharing"? – Violet Giraffe – 2018-05-27T10:21:40.563

1https://i.imgur.com/psYm79w.png – Violet Giraffe – 2018-05-27T10:22:04.793

1Unfortunately, and speaking from two times experience with this problem, no, in both times the password protected sharing was turned off. – Mostafa Zeinali – 2018-05-28T16:00:13.903

1I would say, if you ever ran into this problem and password protected sharing was already turned off, pay the ol "Lanman" a visit :) – Mostafa Zeinali – 2018-05-28T16:01:27.540

1Could you please elaborate how you got access to Computer configuration\administrative templates\network\Lanman Workstation . Have exact same issue after win10 crash – Nightwolf – 2019-01-17T07:08:34.093

1Nvm, run gpedit.msc and follow your instructions... – Nightwolf – 2019-01-17T08:05:39.043

1@Nightwolf Thanks, added clarification to the answer. – Mostafa Zeinali – 2019-01-20T13:09:19.477