I have a computer with Windows Server 2008 ("R1") SP2, which I use as a home server, and another with Windows 8.1 ("Home"), which I use daily. There is no domain controller in the network. I'm logged at Windows 8.1 with user A, let's call it PC\AUser. There is no user A at the server. I have a shared folder to the user B, let's call it SERVER\BUser.
How can I force to Windows 8.1 ask for credentials when I go to start -> run \SERVER\SharedFolder\ ?
For now I only receive this error: "You do not have permission to access \SERVER\SharedFolder. contact your network administrator to request access."
I've been able to share the folder unprotected, by adding "Everyone" to the permission list. But as soon as I remove "Everyone", the Windows 8 client simply says "you do not have permissions to access this folder", without asking for any credential.
I've already done it in the 2000 and XP days...
How to force the prompt for credentials in Windows 8.1?
Update:
I've accessed it from a Linux client with the command:
smbclient //SERVER/SharedFolder mypassword -U BUser
So this shifts the problem into the Windows 8.1 client - the server is configured OK.
Update 2:
On request, this is the error message I receive. It's in portuguese, but experienced users will recognize the window. It says "Title: Network Error. Windows couldn't access [folder]. You don't have permission to access [address]. Contact the network administrator to request access permission."
Update 3:
I have been able to connect to the share by using the "map network drive..." option and manually setting credentials there - but first I had to un-map the share using net use /delete
because it seems Windows creates a stale mapping on the failed connection attempt (wtf?). This way, it is at least usable for me now. But will give the bounty reward if someone can solve or explain the issue of Windows 8.1 failing to connect with a permissions error instead of asking for credentials.
Final Update:
Found the solution! I've posted it as an answer.