Everyone is not always "everyone".
If the user on the client PC is logged in with a local account, then the server cannot authenticate it unless you have defined a local account with the same name and password on the server.
On the client PC, open a command prompt and run "net view". If the account can be authenticated, then you should see SHR2 listed.
net view \\ServerName
If "net view" works, then you likely have a permissions problem on either the share or the folder. This script will report on shares.
# Script: SharePermissionsSimple.ps1
# Author: MotoX80 on Learn.Microsoft.com forums
cls
Get-SmbShare | Where-Object -Property Name -NotLike '*$' | foreach { # exclude hidden and administrative shares
write-host -ForegroundColor Blue "----------------------------------------------------------------"
" {0}" -f $_.Name | write-host -ForegroundColor Yellow
write-host -ForegroundColor Blue "----------------------------------------------------------------"
"Share permissions for {0}." -f $_.Name
$_ | Get-SmbShareAccess | Format-Table -Property AccountName, AccessControlType, AccessRight
""
"NTFS folder permissions on {0}." -f $_.Path
(Get-Acl -Path $_.Path ).Access | foreach {
[pscustomobject] @{
IdentityReference = $_.IdentityReference
Type = $_.AccessControlType
Inherit = $_.IsInherited
Rights = ($_.FileSystemRights.tostring().replace(", Synchronize","").replace("-536805376","Modify (Inherit Only)"))
}
} | Format-Table -AutoSize
}
If "net view" fails, then check the Security eventlog on the server and look for logon failures.
You might want to explain what user accounts you have defined, how your users authenticate, and what security requirement you have. Does this server host a domain (Active Directory)?