We've had sporadic issues with our login scripts. The script simply uses net use in order to map to some network shares. When our users connect from home, they use Cisco VPN and then run the mapping script in order to gain access to some of their files stored on the network. Some of the users are prompted for their username and password when attempting to run this script. When they put in their normal usernames and passwords, they get an access denied error. I've gone over the script tons of times and still can't figure out what the issue could be. We have a Windows Server 2003 domain. Here is a copy of the generic login script (with domain specific names removed).
NET TIME \\(File Server Name)/SET /YES
net use t: /delete
net use t: \\(File Server Name)\(Shared Directory 1) /persistent:no
net use s: /delete
net use s: \\(File Server Name)\(Shared Directory 2) /persistent:no
if exist del c:\temp\*.tmp
Any help would be greatly appreciated.