M
MadDHatteR
My logon script does not run when an individual command at the end of the
script fails.
I have defined a domain-wide logon script that simply maps a few drives (in
the order shown):
net use m: \\server1\mshare
net use n: \\server1\nshare
net use u: \\server2\ushare
The entire script works great for users who have access to \\server2 -- all
3 drives map correctly. However; some of my users do not have access to
\\server2. I would expect these users to have m: and n: mapped with no u:
mapped, but that does not appear to be happening. It seems, if the last net
use command fails, the entire logon script does not run at all.
If the same logon script is run interactively, m: and n: map properly, and
then the script stops and asks for a password to map u: (since the supplied
credentials were invalid). This is fine, since I expect u: to fail for these
users. I'm baffled why m: and n: also fail. Anyone else run into this, or
have suggestions?
\\ MadDHatteR
script fails.
I have defined a domain-wide logon script that simply maps a few drives (in
the order shown):
net use m: \\server1\mshare
net use n: \\server1\nshare
net use u: \\server2\ushare
The entire script works great for users who have access to \\server2 -- all
3 drives map correctly. However; some of my users do not have access to
\\server2. I would expect these users to have m: and n: mapped with no u:
mapped, but that does not appear to be happening. It seems, if the last net
use command fails, the entire logon script does not run at all.
If the same logon script is run interactively, m: and n: map properly, and
then the script stops and asks for a password to map u: (since the supplied
credentials were invalid). This is fine, since I expect u: to fail for these
users. I'm baffled why m: and n: also fail. Anyone else run into this, or
have suggestions?
\\ MadDHatteR