Simple login mapping script doesn't run properly

DocWatson

New Member
I am trying to setup a login script to create a mapping over a VPN to a Windows 2003 server. When I run the script manually, it works. When I try to get it to run as a login script it doesn't. Where should the script file be located on the VISTA workstation? I'm referncing it in the user properites, but it doesn't seem to run...
 

My Computer

Try putting a WHOAMI line in the script and then comparing the output of that command when it's run from a startup script versus when you invoke it manually. Odds are you'll find the script runs under a different user.

It would be useful if you added a bit more detail around what happens when it "doesn't work".
 

My Computer

Try putting a WHOAMI line in the script and then comparing the output of that command when it's run from a startup script versus when you invoke it manually. Odds are you'll find the script runs under a different user.

It would be useful if you added a bit more detail around what happens when it "doesn't work".


Sorry.... When I say it doesn't run, I mean that there seems to be no error message or anything, the mapping just isnt added.
Here's the syntax (anonimized)- this is the entire script - I have a feeling it's just the location or something simple like that... because when as the same user I click on the batch file, the mapping is added as planned. Logging in doesn't cause it to execute - Even though I have the path and filename in the use login script setup....


net use p: \\192.168.0.3\Wp password /user:Domain.local\administrator
 

My Computer

Back
Top