I have users working from home (25% of their time) using their personal computers to VPN into the network. Users need access to their mapped drives when working from home. Providing instructions to end-users on mapping drives has not been greatly UNsuccessful and has generated a number of helpdesk requests.
Create a custom logon script for home users to map drives. Modify the existing logon script (vbscript) for this purpose.
Home users are logging into their home computer and not providing domain credentials. The users home folder is mapped via AD User Profile property settings and not a logon script. Include error handling, should the user input an invalid uname\pword they are prompted to retype these values
I hope that is enough detail to get us started. So far I’ve been able to modify my script to request network credentials but I am quickly outreaching my level of scripting competency. I’ve looked at the following two scripts (below) and they appear to contain the elements that I need:
A) Using the provided credentials, Query AD to get the list of groups to which the users belongs.
B) Using the provided credentials, Query AD to get the home folder path for the user.
What I need help with now, is mashing these together with a bit of error control should the user input invalid credentials.
Query AD for group membership:
Query to obtain Home Folder path:
Thanks for your help!