Link to home
Start Free TrialLog in
Avatar of Techop09
Techop09

asked on

VB Script to Map a Hidden Network Share in a Different Domain

Hello,

I am trying to write a VB logon script for specific users in my domain to map to a hidden network share in a different domain.  When I try to reference the hidden share in my script the conventional way.

WSHNetwork.MapNetworkDrive "i:", "\\Server\D$"

It errors out.  This is because I must reference the other domain somehow in the script.  The usernames and passwords match in both domains, but the UPN prefix is obviously different.  Any help would be greatly appreciated.  
ASKER CERTIFIED SOLUTION
Avatar of RobSampson
RobSampson
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial