Networking Forums

Networking Forums > Computer Networking > Windows Networking > Trouble with network drives when user not logged in.

Reply
Thread Tools Display Modes

Trouble with network drives when user not logged in.

 
 
Eric
Guest
Posts: n/a

 
      05-15-2007, 07:34 PM
Hello,

I am having issues with scheduled tasks not being able to find the
proper network drives. I have an ntbackup and some perl scrips
scheduled to run on my desktop and more often than not they can not
find the required network drive if I am logged off the machine. The
tasks are associated with user accounts that have the proper access to
the network drives. If I am logged on to the machine when the task is
scheduled to run everything happens fine.

The logs I am seeing in ntbackup just say:

Backup Status
The operation was not performed because the specified media cannot
be found.

----------------------


The logs from scheduled tasks are saying:

"Daily Inc.job" (NTBACKUP.EXE)
Started 5/14/2007 3:00:10 AM
"Daily Inc.job" (NTBACKUP.EXE)
Finished 5/14/2007 3:00:32 AM
Result: The task completed with an exit code of (1f).
"perl.job" (perl.exe)
Started 5/14/2007 6:19:02 AM
"perl.job" (perl.exe)
Finished 5/14/2007 6:19:04 AM
Result: The task completed with an exit code of (2).

Exit code of 2 for the perl script is file not found. What else can I
do to find out why these drives are not connecting?

 
Reply With Quote
 
 
 
 
BigHaig
Guest
Posts: n/a

 
      05-15-2007, 11:03 PM
Are you mapping the drives as part of the scripts? Post the script please.


"Eric" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
> Hello,
>
> I am having issues with scheduled tasks not being able to find the
> proper network drives. I have an ntbackup and some perl scrips
> scheduled to run on my desktop and more often than not they can not
> find the required network drive if I am logged off the machine. The
> tasks are associated with user accounts that have the proper access to
> the network drives. If I am logged on to the machine when the task is
> scheduled to run everything happens fine.
>
> The logs I am seeing in ntbackup just say:
>
> Backup Status
> The operation was not performed because the specified media cannot
> be found.
>
> ----------------------
>
>
> The logs from scheduled tasks are saying:
>
> "Daily Inc.job" (NTBACKUP.EXE)
> Started 5/14/2007 3:00:10 AM
> "Daily Inc.job" (NTBACKUP.EXE)
> Finished 5/14/2007 3:00:32 AM
> Result: The task completed with an exit code of (1f).
> "perl.job" (perl.exe)
> Started 5/14/2007 6:19:02 AM
> "perl.job" (perl.exe)
> Finished 5/14/2007 6:19:04 AM
> Result: The task completed with an exit code of (2).
>
> Exit code of 2 for the perl script is file not found. What else can I
> do to find out why these drives are not connecting?
>



 
Reply With Quote
 
CreateWindow
Guest
Posts: n/a

 
      05-15-2007, 11:10 PM
Hi Eric,

Your scheduled task needs credentials to map a network drive. It needs to do
this in the script under those creds. Then, after backup is done, disconnect
the network drive (good housekeeping). Is that happening?

CreateWindow
http://justpageprobe.com
The FREE Web page utility you always wanted.
Monitor your enterprise Web Servers.
Keep your router connected.
Email your IP to where you need it.


"Eric" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
> Hello,
>
> I am having issues with scheduled tasks not being able to find the
> proper network drives. I have an ntbackup and some perl scrips
> scheduled to run on my desktop and more often than not they can not
> find the required network drive if I am logged off the machine. The
> tasks are associated with user accounts that have the proper access to
> the network drives. If I am logged on to the machine when the task is
> scheduled to run everything happens fine.
>
> The logs I am seeing in ntbackup just say:
>
> Backup Status
> The operation was not performed because the specified media cannot
> be found.
>
> ----------------------
>
>
> The logs from scheduled tasks are saying:
>
> "Daily Inc.job" (NTBACKUP.EXE)
> Started 5/14/2007 3:00:10 AM
> "Daily Inc.job" (NTBACKUP.EXE)
> Finished 5/14/2007 3:00:32 AM
> Result: The task completed with an exit code of (1f).
> "perl.job" (perl.exe)
> Started 5/14/2007 6:19:02 AM
> "perl.job" (perl.exe)
> Finished 5/14/2007 6:19:04 AM
> Result: The task completed with an exit code of (2).
>
> Exit code of 2 for the perl script is file not found. What else can I
> do to find out why these drives are not connecting?
>



 
Reply With Quote
 
Eric
Guest
Posts: n/a

 
      05-17-2007, 01:57 PM
On May 15, 6:03 pm, "BigHaig" <h...@bigxxx.com> wrote:
> Are you mapping the drives as part of the scripts? Post the script please.
>


I am not mapping the drive as part of the script, windows already has
it mapped under the same profile I am using.

 
Reply With Quote
 
Eric
Guest
Posts: n/a

 
      05-17-2007, 02:01 PM
On May 15, 6:10 pm, "CreateWindow" <createwin...@gmail.com> wrote:
> Hi Eric,
>
> Your scheduled task needs credentials to map a network drive. It needs to do
> this in the script under those creds. Then, after backup is done, disconnect
> the network drive (good housekeeping). Is that happening?
>
> CreateWindowhttp://justpageprobe.com
> The FREE Web page utility you always wanted.
> Monitor your enterprise Web Servers.
> Keep your router connected.
> Email your IP to where you need it.
>


So I need to map the network drive in the script itself? If that is
the case why does it sometimes work when I am logged off? The
scheduled task is associated with a user that has drives mapped on the
machine.


 
Reply With Quote
 
ddima
Guest
Posts: n/a

 
      08-07-2007, 08:08 AM

Hi,

Did you find any solution for this ?
I'm having the same issue, I even copied the perl script on the local
drive but no success.


--
ddima
------------------------------------------------------------------------
ddima's Profile: http://forums.techarena.in/member.php?userid=29028
View this thread: http://forums.techarena.in/showthread.php?t=747764

http://forums.techarena.in

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User's drives on the network Jon Windows Networking 1 07-04-2008 01:19 PM
Another USER might be logged on? Dave_s Wireless Internet 5 10-26-2007 09:31 PM
Who was the last logged in user? Dudute Windows Networking 0 09-26-2006 02:18 PM
Determining how many of one user is logged-on to the network Bill Bradley Windows Networking 0 02-04-2006 08:34 PM
full networking for console user, limited networking for remotely logged in user RJ41 Linux Networking 3 08-15-2003 08:18 PM



1 2 3 4 5 6 7 8 9 10 11