I'm trying to restrict access to a share in a workplace network using username/password credentials. For that I've added a new user via
netplwiz that belongs to the Distributed COM-User group according to this video. In the advanced sharing settings I have the following settings under both public and private:
- Network discovery: On
- File and printer sharing: On
- Public folder: Off
- Password protected sharing: On
- Allow windows to manage homegroup connections: On
In the sharing settings of my shared folders I have added reading permissions for my new user account
test01, and under the security tab I have added the groups Authenticated Users and Users, and the new user account.
The problem is this: The other computer discovers the share, but it never prompts to ask for a password. When I leave the Everyone group in the permissions dialog of the share, I can simply access and view all files in the folder without password. When I just leave user
test01 in the list, I cannot access the share at all on the other computer. It simply displays the following error message:
Windows cannot access \\Server\TestShare
You do not have permissions to access \\Server\TestShare. Contact your network administrator to request access.
What is wrong?