Avatar of Rammy Charles
Rammy Charles
Flag for United States of America asked on

Login Script with Logic - Map Network Drives

We are currently looking for a way to tie a standard login script to a user account with some logic built in. For example, depending on the host name of the machine that the account is logging into, we would like different network drives mapped. However, we would like to leverage one central log in script for this.

Any ideas as to how to accomplish this?
Windows OSPowershellActive Directory

Avatar of undefined
Last Comment
Rammy Charles

8/22/2022 - Mon
Benjamin Voglar

Use GPO Preferencess.

You have the possibility setting up a lot of conditions, when and how the drive Will be mapped.

http://blogs.technet.com/b/askds/archive/2009/01/07/using-group-policy-preferences-to-map-drives-based-on-group-membership.aspx
ASKER CERTIFIED SOLUTION
Rammy Charles

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Benjamin Voglar

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Rammy Charles

ASKER
This worked
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck