I have several batch programs that run from the windows scheduler. When there is no user logged into the server after a restart (at the login screen,) the first batch program to run connects to the network share fine, but then the next batch that runs can not access the drive.
net use responds with this:
System error 85 has occurred.
The local device name is already in use.
this is normal since the drive is usually already mapped.
the script returns with this error when it tries to access the mapped drive
Logon failure: unknown user name or bad password.
When I log in, the network drive appears to be mapped in My computer, but it is unaccessible. with the error "local device name is already in use"
If I disconnect the drive it come back and then says the Logon failure error.