The event log has this error:
Event ID: 30816
Event Log: Microsoft-Windows-SmbClient/Connectivity
The server failed the negotiate request.
Error: The network name was deleted.
Server name: RemoteServer
The server does not support any dialect that the client is trying to negotiate, such as the client has SMB2/SMB3 disabled and the server has SMB1 disabled.
Does anyone know how to fix this?