We help IT Professionals succeed at work.

mapped drives on a term server 2008

Medium Priority
196 Views
Last Modified: 2014-11-12
hi,

i am running server 2008 . most users are terminal services users.
i have been having problems with mapped drives maping. i wrote a bat to accomplish this, and placed it in the start up group , so it will run when users log on.

a comment from an expert states that if i mapped them while on the server , then it will apply to all users who log on. and then i would not need the bat.file.

firstly ,  is that correct, for i was previously told it was not, and i needed the bat.

is there a difference when the administrator logs on at the server, vs. at using terminal server ?
Comment
Watch Question

Lead Infrastructure Architect
CERTIFIED EXPERT
Commented:
If you log on as administrator and map drives they will only map for you so that statement is not correct

You can either set a bat files in the user profile to map the drives or use group policy preferences to map the drives

Author

Commented:
can i write a bat, and then have each terminal server user's start up group run that very same bat....

and could you help me with the exact language of the bat....

i woud like to accomplish the following...

c:\gdrive         = G
c:\drake\ KA    =L
C:\drake\old    =z
the name of the server is   KACPA

ALso the exact location this should be saved.

so hen Gdrive , KA, old would be folders designated  as mapped drives for all who log on to the server.   please note every user is in the group " remote desktop users"

the help is appreciated.
Sajid Shaik MSystem Admin
CERTIFIED EXPERT
Commented:
as my experience... i log in with  each user login id and password .. on the terminals erver ... and map the drive ... it's a easyest and secure way...

this way only the users access the maped drive who's profile is having this ..

create mapped drive and create a usergroup and give them access to it...

all the best

this is suitable for a small user group solution....

Author

Commented:
thank you  shaiksaj    -   but all users who log in.. will need this both remote and non remote users.

Sajid Shaik MSystem Admin
CERTIFIED EXPERT

Commented:
if u r using windows2008 rdp why dont u publish that folder...so any one can access ...as wll as local and remote ...

Author

Commented:
i am not sure what you mean... i am not that technical... all three folders.?  and what is publish?
Sajid Shaik MSystem Admin
CERTIFIED EXPERT

Commented:
see this link

for RDP in depth concept

http://ts.veranoest.net/ts_app_publishing.asp
ChrisLead Infrastructure Architect
CERTIFIED EXPERT

Commented:
for the batch file you could do the following
i would add extra at the beginig of the batch gile

net use g: /del /y
repeat this for all the drive letters you are going to map as this will make sure they are always mapped

c:\gdrive         = G    net use \\kacpa\gdrive g:
c:\drake\ KA    =L    net use \\kacpa\drake\KA l:
C:\drake\old    =z    net use \\kacpa\drake\old z:
the name of the server is   KACPA

here is a way to do it with group policy preferences

http://globalknowledgeblog.com/technology/microsoft/use-item-level-targeting-of-group-policy-preferences-to-map-network-drives/

Author

Commented:
thank you for the link.... but still i woul djust like a little conversation on this publishing..

the folders i want mapped will hold the executable for tax software which requires mapping.
ChrisLead Infrastructure Architect
CERTIFIED EXPERT

Commented:
that link show you how to set up group policy preferences to map drives

Set up those folders as shares and use that path to map the drives to the required drive letters.

this should be all the information you need to do this.

If you want to discuss further please state exactly what you want help with

Explore More ContentExplore courses, solutions, and other research materials related to this topic.