Can't access shared folder from another PC using a user with same name and password

3

1

I have 2 computers running Windows 7 Professional that are part of the same workgroup. Password protected sharing is turned ON. On both computers, i have a single user. These two accounts have the identical names and identical passwords. Example:

PC1: User1 (name="ABC", password="DEF")
PC2: User2 (name="ABC", password="DEF")

Here is my problem. I go on PC1 and right click a folder and go to "Share with" > "Specific people". In the list, there is only myself (ABC). I do NOT add any new entry. I simply click Share and the folder is shared successufully with myself (\PC1\ABC). Now, if I go onto PC2, I see the shared folder, but I can't connect to it ("Windows cannot access \PC1\folder..."). Troubleshooting the problem returns "Your user account doesn't have access to \PC1\folder".

But If instead I share the same folder from PC1 with Everyone, then it becomes accessible from PC2. But this way, anyone on the workgroup can access it...

Since my account on PC2 has the same name and password, it should work right? Otherwise, why would Windows allow me to share a folder with myself?


EDIT: I've done some more testing. I've found that these 2 conditions must be respected in order to have the folder accessible from PC2:

1) The folder must have read permission for Everyone (Properties > Security tab)
2) The share must have read permission for Everyone (Properties > Sharing > Advanced sharing > Permissions)

Removing Everyone in any of these 2 cases and replacing with Administrators or \PC1\ABC renders the folder not accessible from PC2.

I've also trying switching the folder owner between Everyone, Administrators and \PC1\ABC without any success.

bouvierr

Posted 2011-07-06T02:19:57.580

Reputation: 460

A similar question was asked in the past, but the answer does not help me: http://superuser.com/questions/113344/windows-7-cant-get-access-to-shared-folder-from-one-computer-to-another

– bouvierr – 2011-07-06T02:21:10.213

have you created a homegroup yet....http://www.howtogeek.com/howto/windows-7/share-files-and-printers-in-windows-7-with-homegroup/

– Moab – 2011-07-06T02:39:10.513

There is Sharing permissions and there is Folder permissions, check the folder permissions. – Moab – 2011-07-06T02:40:02.383

This is why homegroup rules. . . – surfasb – 2011-07-06T05:38:46.240

If password protected sharing fails on the workgroup, I will resort to using homegroup and linked ID. However, I am still interested in understanding the described problem. – bouvierr – 2011-07-06T17:04:03.163

Answers

1

SIDs(Security IDs) are the (greatly simplified) reason More info

PC1\ABC has the {example} SID of S-1-5-21-1106717361-1361586587-285947020-501238
PC2\ABC has the {example} SID of S-1-5-21-2533013469-2641548184-613786714-651000

As they are not the same, when ABC from PC2 gives their credentials, PC1 simply says You are not who I think you are. Access Denied
If the passwords/IDs do not match, then PC1 will ask for identification, and will allow connection as the PC1 user when the correct info is entered.

SeanC

Posted 2011-07-06T02:19:57.580

Reputation: 3 439

0

the "net" command. Not to say it's a good fix, but it sometimes is the only way I've found to connect to shares without explorer picking all the options.

stonefoz

Posted 2011-07-06T02:19:57.580

Reputation: 121