By default, drives mapped via CMD might disappear when you reboot. To make sure the drive reconnects automatically at every login, add the /persistent switch: net use Z: \\TechServer\Marketing /persistent:yes Use code with caution. 2. The Modern Method: PowerShell
The network name cannot be found. Double-check your spelling and ensure you are connected to the VPN or local network.
This automatically creates a temporary mapping, switches to it, and stores the previous location on a stack.
Command Line: Map Drive
By default, drives mapped via CMD might disappear when you reboot. To make sure the drive reconnects automatically at every login, add the /persistent switch: net use Z: \\TechServer\Marketing /persistent:yes Use code with caution. 2. The Modern Method: PowerShell
The network name cannot be found. Double-check your spelling and ensure you are connected to the VPN or local network.
This automatically creates a temporary mapping, switches to it, and stores the previous location on a stack.