Mapping Drives in Logon Scripts Is There a Better Way

MapNetworkDrive - VBScript - For workgroup machines sharing files via pass-thru authentication with no domain login script, a persistent drive map can be used. Persistent drives will automatically connect to the resource whenever it is available. “The price one pays for pursuing any profession or calling is an intimate knowledge of its ugly side” ~ James Baldwin. Related: Using Computer Startup Scripts to Map Drives in Windows Jun 28, 2012 How to map drives via VB logon script

At the point of logon, the script above takes a look through all the groups in which the user is a member. If that user is in the Finance group, then the script will map the R: drive to the server\shared\finance share. You can add additional mapped drives by adding more If-Then statements.

How to Map Network Drives Using PowerShell Sep 03, 2013

How To Create A Windows Batch File To Map Multiple Drives

Windows: Three ways to map a network drive using Oct 06, 2017 Create a drive mapping using Intune on Azure AD joined Sep 07, 2019 Adding Mapped Drive via logon script - Windows Server May 20, 2018 MapNetworkDrive - VBScript -