From: Maw on
Hi all,
i have write a script that map a network drive(in different domain)
whit user and psw and copy some files.
if i run the script whit domainadmin account logged in it work fine if
the user is logged out the script doesn't work.
Someone can help me??


thx in advance
From: Pegasus [MVP] on


"Maw" <maw81maw(a)gmail.com> wrote in message
news:6c337d6b-a151-4ab8-bde9-5baf0ab8c7dd(a)x21g2000yqa.googlegroups.com...
> Hi all,
> i have write a script that map a network drive(in different domain)
> whit user and psw and copy some files.
> if i run the script whit domainadmin account logged in it work fine if
> the user is logged out the script doesn't work.
> Someone can help me??
>
>
> thx in advance

The script does work but you cannot see its result. For security reasons,
networked resources are visible only to the account that mapped them. In
other words, since your script runs under the Domain Admin account, your
user will not see the mapped drive.