More map drive by user login to domain

Posted on 2010-11-23
Medium Priority
Last Modified: 2012-05-10
Hi Experts,

All user can login with domain password.So All user need more map drive in login computer.
How to do it.

Question by:NNZS
LVL 27

Accepted Solution

KenMcF earned 1000 total points
ID: 34196568
Not sure what you are asking but I think you need to map drives when a user logs onto a computer. If this is what you want you can do this may different ways. One would be to create a simple batch file
net use h: \\server\share
and save a .bat file. Put in the netlogon share and add to the users profile.

A few other ways are with a vbscript or using Group Policy Preferences. Here are some examples.


Author Comment

ID: 34196586
Hi KenMcF,

I need two or three map drive when a user logs onto a computer.

LVL 23

Assisted Solution

jakethecatuk earned 500 total points
ID: 34196594
you can create a batch file that handles the drive mapping and place it in the NETLOGON share of your domain controllers and add the batch file name to the logon script field on the users profile tab in AD.

or, you can create a gpo that calls the batch file and place it under the 'user configuration\windows settings\scripts' section of the GPO.

if you are using 2008 GPO's, you can also do additional drive mappings on a GPO under 'user configuration\preferences\windows settings\drive maps'
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

LVL 27

Assisted Solution

KenMcF earned 1000 total points
ID: 34196607
The links I provided should get you wha you need. Here is another links that has the proces in greater detail.


Assisted Solution

Alex-Dryagin earned 500 total points
ID: 34196630
Create a file "logon.bat" (edit in notepad.exe)

net use x: /del
net use z: /del

net use x: \\your_server\folder1  /persistent:no
net use z: \\your_server\folder2  /persistent:no

Create a GPO, and under user configuration, in scripts link to the logon.bat file.

Good luck

Author Comment

ID: 34315503
THANKS for all reply


Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Watch the video to know how one can repair corrupt Exchange OST file effortlessly and convert OST emails to MS Outlook PST file format by using Kernel for OST to PST converter tool. It can convert OST to MSG, MBOX, EML to access them. It can migrate…
To export Lotus Notes to Outlook PST or Exchange and Domino Server files to Exchange Server or PST files with ease, go for Kernel for Lotus Notes to Outlook conversion tool. Through the video, you can watch the conversion process. A common user with…

619 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question