Microsoft
Software
Hardware
Network
Question : "net use" shows a drive share as "unavailable" when run from the scheduler
Hi,
I'm trying to get a program to run from the Windows XP scheduler when I'm not logged on. I've created a bat file that has everything in it. I'm running the job using my credentials. The bat file is being executed.
I have a command in the bat file that maps a network share I need:
net use \\server\share k
I follow this command with:
net use
and I see:
Status Local Remote Network
Unavailable K: \\server\share Microsoft Windows Network
If I run the bat file while logged in, the Status is "Ok".
I have two questions:
1) Why is this share "Unavailable" when I map it without being logged in?
2) How do I fix this.
Thanks for the help.
Answer : "net use" shows a drive share as "unavailable" when run from the scheduler
Since you are not logged in, it is likely that you just need to provide credentials for access to the share.
Add UN/PW as described here:
http://www.experts-ex
change.com
/OS/
Micros
oft_Operat
ing_System
s/Windows/
NT/Q_22137
984.html
Random Solutions
Error when assigning value to textbox in footer during runtime
XP display set to 4 bit color depth after Remote Desktop session
Textboxes in other Tabs in asp.net
Same form on different computers
RUNDLL error message "jyku.fjo" on computer start up
Access attaching a file as xls when it should be rtf
active directory, W2k8 R2 DC, Kerberos failures, Event ID: 3, 4771, 4769, 4768, 4776, 4625 source: Microsoft Windows security
Problem with "like" keyword, when database is in chinese
video card driver
Pass Web Page as Parameter to Class in App_Code Folder