I'm trying to create a mapped drive on a load of non-domain based XP/7 Pro machines. I've got a script that runs the shell command;

net use p: \\overlord\archive

The script runs succesfully but the P drive never appears whether we run the script as the user or as system. The same command does work manually though.

Is there something I have missed?