Hello Carlos,
Thank you for posting question on Microsoft Windows Forum!
The bottom line for this issue is that Windows applies a strict precedence rule. The "Deny access to this computer from the network" policy always overrides the "Access this computer from the network" policy when a user or group is subject to both. This indicates that even if a user is explicitly allowed to connect via the network, a conflicting deny entry (often inherited through group membership) will silently block access to shared folders.
The suggestion here is to open local security policy on the Windows computer hosting the shared resource (the server or PC with the share), not on the client machine attempting to access it. Then navigate to Security Settings → Local Policies → User Rights Assignment. Open "Deny access to this computer from the network". Remove the affected user and any group through which the user might be denied (check nested group memberships as well). Then the next step is to open "Access this computer from the network" and ensure an appropriate authorized group (such as Users or Authenticated Users) is present. After that, in an elevated Command Prompt, run this command gpupdate /force to refresh policy and then retry accessing the share.
If the issue persists, you can generate a report on the host computer to see exactly which Group Policy Objects (GPOs) are applying these rights. Run the command gpresult /h C:\Temp\gpresult.html in an elevated Command Prompt. Then open the generated HTML report and inspect the Computer Details section. Navigate to this path Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment. Pay specific attention to Access this computer from the network. Check if essential groups (such as Authenticated Users, Domain Users, or specific administrative/service groups) have been stripped out and Deny access to this computer from the network. Check if any broad groups (such as Users, Guests, or custom security groups) were inadvertently added by a baseline GPO.
It is also worth verifying that restricted network logon rights are not masking underlying NTLM restriction policies or SMB signing mismatches that trigger authentication drops prior to the logon right evaluation phase.
You can consult the following articles for further reference.
- https://learn.microsoft.com/en-us/troubleshoot/windows-server/remote/system-admin-restrict-types-logon
- https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-userrights
I hope you have found something useful here. If it helps you get more insight into the issue, it is appreciated to accept the answer. Should you have more questions, feel free to leave a message. Have a nice day!