Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Login Scripts - Mapped Drives

Status
Not open for further replies.

PU36

MIS
Joined
Mar 16, 2005
Messages
202
Location
US
I have about 50 users that connect via the Citrix Client to a Presentation Server 4.5 Farm with two servers. On the user's local machine in the south they have numerous mapped drives F:, L:, P: going to different servers on their local subnet. In the north they have F:, M:, O: mapping to different servers on their local subnet. I would like to create a login script for the users that will map the drives back to their local servers while keeping the same drive letters.

Any advice would be great.
 
Creating different groups and adding the users to them you can use the below as a template:
if ingroup("GroupName")
USE I: /del
USE I: "\\servername\sharename"
endif

if ingroup("GroupName2")
USE I: /del
USE I: "\\servername2\sharename2"
endif

This is in a login script in Global logon policy
 
Karon, I've never seen the "if ingroup("groupname") - is this a good replacement for the ifmember executable?
 
dunno - i put users in groups and deal with them that way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top