A "better" workflow includes clean disconnections to avoid "Ghost Drives" (drive letters that appear disconnected but are still "taken"). Guide: How to Map a Network Drive in Windows - NinjaOne
Here is how to map network drives using the net use command. cmd map network drive better
Force disconnect all connections to that server first. A "better" workflow includes clean disconnections to avoid
net use Z: \\LogiCorp-Data\AuditFiles /user:LogiCorp\AuditAdmin MyP@ssw0rd123 /persistent:yes cmd map network drive better