When connecting to a network share and the share name is incorrect, you will receive a very confusing error message.
net use x: \ServerXYZ System error 1240 has occurred. The account is not authorized to log in from this station.
Selecting the correct share name (XYZ1 instead of XYZ) resolves this.
net use x: \ServerXYZ1 The command completed successfully.
The error message caused by selecting a non-existing share makes this error message confusing.