How To Map Network Drives Using Logon Script Group Policy in Windows Server 2019

preview_player
Показать описание
Hi Friends,

Welcome to my YouTube Channel. Please subscribe to me for more videos. On My channel you will find all Step By step guides.

I will show you how to map network drives using .bat file login script with the help of GPO in Windows Server 2019 Active Directory Domain.

In this video How to Create Share Folder in Windows Server 2019 R2 by using Server Manager Console with File and Storage Service Console..

In this video How to use group policy preferences to map a drive (network drive) to a shared folder in Windows Server 2019.

Command to create a .bat file to map a network share as map drive.

Dim objNet
Dim net
Dim Wshshell
Dim OFso
dim strKey

strKey = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\"
Set Wshshell = CreateObject("WScript.Shell")
Set oFso = CreateObject("Scripting.FileSystemObject")
Set objNet=CreateObject("Wscript.Network")
Set net = CreateObject("WScript.Network")

objNet.MapNetworkDrive "Z:", "\\WINSERVER12-01\Today"

myKey = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\NoPreviousVersionsPage"
WshShell.RegWrite myKey,1,"REG_DWORD"

Wscript.Quit

(Where drive letter "Z" is assign to map drive, WINSERVER12-01, WINSERVER12-02 is the name of the server and Today is the name of the share folder).

Regards

Somor Kumar Sarker

For more videos, please visit

#MahamayaComputer #WinServer19 #MapNetworkDrives

--------------------------------------------------------------------------------------------------
|| DON'T FORGET TO ||

➤ ✅ LIKE | ➤ ✅ COMMENT | ➤ ✅ SHARE | ➤ ✅ SUBSCRIBE
--------------------------------------------------------------------------------------------------

On my YouTube Channel, you will also find video related with....

• windows server 2012
• windows server 2012 r2 installation and configuration
• windows server active directory
• windows server active directory tutorial
• Map Network Drives Using Logon Script Group Policy in Windows Server 2012
• windows server 2019
• windows server 2019 r2 installation and configuration
• windows server active directory
• windows server active directory tutorial
• Map Network Drives Using Logon Script Group Policy in Windows Server 2019
Рекомендации по теме
Комментарии
Автор

Thank you so much helpful video deoyar jonno💝💝💝💝💝💝💝

raihankhan
Автор

Helpful video for everyone and thanks for this video.

newagebiggapon