How to share any folder without password in Windows 8/10 in a home network if a Microsoft account is involved?

65

14

My question is: How to set up file sharing correctly, in a home network, with Windows 8/10, so sharing any folder with "Everyone" (File Explorer->Right click on folder->Properties->Sharing->AdvancedSharing->Share this folder) actually shares the folder with everyone, without password, even with Microsoft accounts?

Before you answer, please read on, because the trivial solution does not work if Microsoft accounts are involved.

I have a home network, with Windows 8.1 and Windows 10 machines, all in the same Workgroup. No Homegroup. I want to be able to share individual folders on the network, by setting them to shared through File Explorer. In Windows 7 and Vista, I just go to Network and Sharing Center, enable file and printer sharing, disable password protected sharing, and it all works. In Windows 10 and Windows 8, the same still works, but only if both machines use local accounts. As soon as one of the machines - either the one accessing the files or the one sharing them - uses a Microsoft account, it is no longer possible to access any files or folders on the other machines. Specifically, if the machine with the Microsoft account tries to access the machine with the local account, it will prompt for a username and password, and access will fail unless username and password of an actual user on the target machine are provided. Changing the Microsoft account to a local account immediately fixes the problem, with no other configuration changes.

This problem is real, and I've reproduced it on several machines, had friends encounter the same problem, and I've found several reports of other users with the same issue, but no solution. The problem seems to be the same in Windows 8 and in Windows 10.

Successfully implemented workarounds (not solutions):

  1. Store the usernames/passwords to the other machines in the Credential Manager and give up the idea of sharing without password. Best use a common account for access*.
  2. Don't use Microsoft accounts.

Peter

Posted 2014-10-17T22:34:56.240

Reputation: 4 199

1Have you tried granting the ANONYMOUS LOGON identity permission to your shared folder? – I say Reinstate Monica – 2014-12-31T21:22:02.190

Not specifically, but 'everyone' does include 'anonymous logon' by default. I'll try when I'm home but don't expect it to make a difference. – Peter – 2015-01-01T12:14:13.740

No, starting with Windows XP the Anonymous Logon identity has been removed from the Everyone group.

– I say Reinstate Monica – 2015-01-01T14:37:09.337

Any luck? Also, is there a particular reason you aren't using a Homegroup? The last forum post here suggests that permits password-less sharing when Microsoft accounts are in use.

– I say Reinstate Monica – 2015-01-03T00:44:20.527

I have since tried allowing the anonymous logon on the machine with microsoft account, no luck accessing it from a machine without. I'm not using a homegroup because machines and networks change(e.g. LAN party), and setting the homegroup up time and time again is too annoying to consider. – Peter – 2015-01-03T01:10:06.893

This has annoyed me for a long time. Thanks for posting the workarounds. I just wanted to add that simply creating local accounts just for sharing is much more ideal of a solution for me. I'd rather not give a Microsoft "cloud" account local access to my network file shares. – Chuck Claunch – 2015-12-18T13:53:13.117

1I can't recall a time, using any windows version, when I shared a folder on one machine and was able to access it over LAN without any issues. There is always some sht going on, be it domain; workgroup; or this permissions sht... come on already. – Ejaz – 2016-01-28T05:51:20.580

2And with the latest Windows 10 update, Microsoft has broken this AGAIN. Now, it won't work with local accounts either. Why are they waging war against anonymous shares? Some people WANT them!!! – robross0606 – 2017-01-22T22:48:36.090

Another workaround is to specify "everyone" as the user name and an empty password when presented with the credentials dialog. This worked for me when I opened a directory shared by a Windows 10 machine with Microsoft account on a Windows 10 machine with a local account. – SnakE – 2017-06-20T16:09:57.803

Answers

19

To explain the problem :

On Window 8.1, and presumably Windows 8, when using a Microsoft account to login to Windows, the default user-name when you make a network connection is MicrosoftAccount\<live_id_username>, instead of the login <computer_name>\<username> as in previous versions of Windows.

This MicrosoftAccount form is likely to cause a login failure on any server that is not using a Microsoft account, due to the strict way that Microsoft/Local accounts are implemented in Windows 8/8.1.

I have not been able to find a way of forcing Windows 8/8.1 to use the old format of computer-name\user-name, unless with one of the workarounds you have listed in your post. Probably this problem needs to be addressed by Microsoft itself.

I have tested and this is still true in Windows 10, so don't expect any improvement. Unfortunately, this is just the way that Microsoft/Local accounts were implemented.

harrymc

Posted 2014-10-17T22:34:56.240

Reputation: 306 093

I have since duplicated the problem with Windows 10 and have tried every workaround mentioned on the Web, to no avail. I can see that the prompt dialog has the Windows 10 computer itself as the domain, and the only way to change this is to enter <computer-name>\<username> in the dialog. I still don't know, as in my answer, any other solution than the workarounds you have listed in your post. You could raise this issue in the Windows 10 feedback channel. – harrymc – 2015-01-01T11:13:24.753

Since I asked the question, 10 months have passed and there have been 15000+ views. Nobody knew how to fix this, so I'm marking this as the answer, to acknowledge that network sharing is partially broken in Windows 8 and 10. – Peter – 2015-09-07T07:43:28.543

I have a problem with sharing my local folder (Windows 10) with another Windows 10 PC. But that other Win 10 PC has Microsoft account, and I can access its share without password. I cannot confirm your conclusions. – Violet Giraffe – 2015-10-19T09:21:24.267

@VioletGiraffe: Windows can remember a login certificate that you once used. – harrymc – 2015-10-19T09:57:24.113

I don't know what's login certificate, but I have just installed fresh Win 10 from scratch and opened the share from another Win 10 no problem. – Violet Giraffe – 2015-10-19T10:24:51.920

I use my Microsoft account to log into my Windows. Yet when I use whoami and command line, I get the <computer_name>\<user_name> format. Are you sure about MicrosoftAccount\<live_id_username> format? – Saeed Neamati – 2015-11-16T10:05:28.623

@SaeedNeamati: Too many variables here for me to answer. The real test is whether your computer can share a folder with one that uses a local account. This answer also dates from a year ago, so it would be interesting to see if something has changed. – harrymc – 2015-11-16T13:19:32.220

1Just tried again, still not working Nov 25 2015. – Peter – 2015-11-25T11:06:06.533

@VioletGiraffe If both machines use a Microsoft account, we are not talking about the same problem. – Peter – 2015-11-25T11:08:13.980

2Still not working on Windows 10 Anniversary update – Syakur Rahman – 2016-10-01T03:40:29.130

35

I managed to share folders without passwords in Windows 10 with Microsoft Accounts by following this guide: http://www.howtogeek.com/126214/how-to-create-network-file-shares-with-no-passwords-in-windows-8/

I publish here in order to prevent link rot:

  1. Open Network and Sharing Center
  2. Then click on the Change advanced sharing settings Link in the left hand panel. screenshot
  3. Now expand the All Networks section. screenshot
  4. Finally switch the radial button to the Turn off password protected sharing setting and click Save changes. screenshot
  5. It works!

I did not try this extensively (for example if you need to have a password protected share instead), as all the shares in my LAN don't need to be password protected, and since there's no wifi, I know that i'm the only one to access the share. But I think, if it disable all the passwords, it will still work with NTFS access permissions

Magnetic_dud

Posted 2014-10-17T22:34:56.240

Reputation: 3 210

2This is the exact solution that the question says doesn't work, except this one forgets to mention that you also need to enable file and printer sharing in the same window. I just verified on some machines to be sure this is still the case: Accessing a shared folder on a machine with microsoft account from a machine with local account still does not work this way, without some form of additional shared credentials - even with the latest patches of windows 10 on both machines. – Peter – 2015-11-25T10:58:54.070

1For me it works. Shared a folder on Win10 with a Microsoft account and "everyone" permissions, it can be accessed from anyone without a password (Tested on XP-7-8-10) – Magnetic_dud – 2015-11-30T12:19:57.590

2@Magnetic_dud The problem is the other way around. If the current user is a Microsoft account, it can't access shares on other Win10 machines. Relog to a local account and the share on the other machine is suddenly accessible. – cremor – 2015-12-23T18:54:33.607

this worked for me between win 10 & win xp. thanks. – Joe Codeswell user601770 – 2016-05-07T20:06:47.797

3This did not work for me on win 10 & win xp. :( I am guessing, because Windows 10 disabled GUEST account, and can not be enabled no more. – Kyslik – 2016-10-02T18:11:15.250

2This does not work for me... unless I use C:\Users\Public\Downloads. That works fine. Other folders fail. There seems to be a step missing from the HowToGeek instructions to enable other folders. – candied_orange – 2017-02-06T03:15:30.457

2You need to grant the Everyone identify permissions to the folders you have shared. Further, if you want users to be able to modify folders over the network, you need to edit the Share permissions and make sure 'Everyone' has Full Control. – I say Reinstate Monica – 2017-04-20T19:08:51.233