VB Script to Map a Hidden Network Share in a Different Domain
Posted on 2011-03-23
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.