Re: Net drives map bat/vb script

Home Forums Scripting General Scripting Net drives map bat/vb script Re: Net drives map bat/vb script

#219098

Re: Net drives map bat/vb script

Thing is, if you map the drive (using a command) with the switch “/persistent:yes”, then the drive will ATTEMPT to map at each logon, and will be displayed in Explorer with a red “X” through it if it’s not possible to connect. If the network comes back during that session, clicking the drive in Explorer will reconnect you as long as your credentials have not expired (thus also logging you on to the Domain proper).

The same can be achieved while mapping the drive via the GUI by selecting “Reconnect at Logon” in the “Map Network Drive” dialog.