troubleshooting Question

Login Script Asking for Password

Avatar of asisson_2000
asisson_2000 asked on
VPNWindows Server 2003Windows Batch
5 Comments1 Solution387 ViewsLast Modified:

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

%windir%\system32\mobsync.exe /logon

Any help would be greatly appreciated.


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros