Windows Server 2019 Basic Video Tutorials By MSFTWebcast:
In this step by step video guide, I will show you how to map network drives using bat file login script with the help of Group Policy in Windows Server 2019 Active Directory Domain.
Command to create a .bat file to map a network share as map drive.
net use m: \\ws2k19-dc01\share1
(Where drive letter "M" is assign to map drive, ws2k19-dc01 is the name of the server and share1 is the name of the share folder)
Type this command in notepad and save this file as a .bat file (e.g. mapdrive.bat)
Click here to see all the Windows Server 2019 Video Tutorials:https://www.youtube.com/playlist?list=PLUZTRmXEpBy32NP6z_qvVBOTWUzdTZVHt