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
Home folder quotas - best method?
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI<wbr />_AS" and "Latin1_General_CI_AS" in the equal to operation
how to count the number of browser tabs are opened for an application?
logon.exe deleted - need help restoring it
Jump from main form into sun forms code in lost focus
How do I add users to SharePoint 2.0 site via Address Book in Office 2007?
Exchange 2007 mail redirect to external address?
DC Promo fails to remove AD. NTDSUtil fails with "The connected server will not remove its own metadata."
SQL Query
Tools to replicate from SQL server 2000 to SQL server 2008