In an Active Directory 2008 environment, you can do this but sometimes it doesn't work out quite the way you expected it to, especially with Windows XP. That's why sometimes it's jsut easier to setup a batch file to quickly and easily setup a mapped network drive for any users of a particular workstation.

If you want to save time by creating a batch file that when you click on it it will automatically map the drive for you. Or if the map network drive keep disconnecting every time you restart your computer, then you can put the batch file in the start up folder so that it run every log in. Apr 17, 2012 · If you want to create a batch file to map a network drive. Open up notepad and type the following. net use drive letter:\\servername\foldername. So if the drive letter was f. net use f: \\servername\foldername [color=red]corrected[/color] Then save the file as whatevername.bat. Edit by mod, net use f: \\servername\foldername corrected You can map a network drive via script in a few different ways this post will show you how to do it using batch script, VBScript and PowerShell. Map a network drive Batch script Batch script is the most basic way to map a network drive with a script and is pretty easy to do. The topic is about Map/Disconnect a Network Drive so everyone of those who have some idea what it is all about can share their views with us for the better help of others. By doing that you can learn a lot more for top essay writing services as these are really useful. Aug 11, 2017 · Mapping a network drive to a shared folder from Windows’ graphic interface isn’t hard. But if you already know the network path for the shared folder, you can map drives a lot quicker using the Command Prompt. Mapping a drive to a network share assigns that share a drive letter so that it’s easier to work with.

You can map a network drive via script in a few different ways this post will show you how to do it using batch script, VBScript and PowerShell. Map a network drive Batch script Batch script is the most basic way to map a network drive with a script and is pretty easy to do.

Apr 17, 2012 · If you want to create a batch file to map a network drive. Open up notepad and type the following. net use drive letter:\\servername\foldername. So if the drive letter was f. net use f: \\servername\foldername [color=red]corrected[/color] Then save the file as whatevername.bat. Edit by mod, net use f: \\servername\foldername corrected

Write the above line in a batch file in active directory, select user, properties. in profile tab, logon script, give the batch file name. This will run the batch file on every log on or you can use the above line in scheduled task. Please note c$ is drive letter. Hope this will help.