This topic provides a solution for an error that may occur when you mount an SMB share on Windows Server 2019.
Issue
When you mount an SMB share on Windows Server 2019, an error occurs.
Solution
On an on-premises Windows client, press
Win+R
to open the Run dialog box. In the Run dialog box, entergpedit.msc
in the Open field, and then click OK.In the left-side navigation pane of the Local Group Policy Editor dialog box, choose Computer Configuration > Administrative templates > Network > Lanman Workstation.
In the Setting section of the Lanman Workstation page, click Enable insecure guest logons.
In the Enable insecure guest logons dialog box, select Enabled. Click Apply.
Mount the SMB share.
If you still fail to mount the SMB share, restart the Windows client to clean up the cache and try again.