[Windows Server 2019] Failing to connect to a shared folder

Lancelotpl 21 Reputation points
2021-03-19T21:03:22.867+00:00

Hello,

I am trying to connect to a shared folder thorugh the "Map new network drive" option. Although checking the "Connect using different credentials" and typing correct credentials this pops up:

79744-capture.png

If I try to add it through "Add a network location", this issue pops up:

79762-capture1.png

Although I am not logging as a guest, I decided to allow guest loggins following this link: https://social.technet.microsoft.com/Forums/ie/en-US/e63f1d76-3913-4b33-85b5-e04581d59f8b/windows-server-2019-smb-share?forum=winserverfiles

After modifying the registry and the group policy, there were no more error messages in the SMPClient and SMBServer events, nonetheless the same issue persisted.

What shall i do?
This is the server version:
79792-capture2.png

After turning on password sharing, this is the SMB server Security Event popping up, although providing correct credentials, as I am able to connect through FTP.

User Name:
Session ID: 0x7C00E8000B81
Status: A user has requested a type of logon (e.g., interactive or network) that has not been granted. An administrator has control over who may logon interactively and through the network. (0xC000015B)
SPN: session setup failed before the SPN could be queried
SPN Validation Policy: SPN optional / no validation

Guidance:

You should expect this error when attempting to connect to shares using incorrect credentials.

This error does not always indicate a problem with authorization, but mainly authentication. It is more common with non-Windows clients.

This error can occur when using incorrect usernames and passwords with NTLM, mismatched LmCompatibility settings between client and server, an incorrect service principal name, duplicate Kerberos service principal names, incorrect Kerberos ticket-granting service tickets, or Guest accounts without Guest access enabled

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,453 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sunny Qi 10,896 Reputation points Microsoft Vendor
    2021-03-22T05:38:51.01+00:00

    Hi,

    Thanks for posting in Q&A platform.

    Please confirm if the value of AllowsecureGuestAuth which is under the following registry key was set to 1 :

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters

    If the issue still existed, please try to turn on "Password protected sharing" in server 2019 network sharing center to see if the issue can be resolved.

    80039-image-1.jpg

    Best Regards,
    Sunny

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful