2
On Win7 64 Pro, I have a batch file that runs net use
to map a network share from my server over OpenVPN.
The batch file doesn't have the username or password stored in it, it uses the user credentials that I have already saved by running net use
once with the /savecred
flag in a command prompt.
If I double click the batch file to run it, it executes fine, no problems.
However, if I schedule a task to run the batch file, the execution pauses and asks for username and password.
Is there any way to force the scheduled task to use the saved user credentials?