Networking Forums

Networking Forums > Computer Networking > Windows Networking > Issues using NET USE on W2K3 Servers

Reply
Thread Tools Display Modes

Issues using NET USE on W2K3 Servers

 
 
douglas martin
Guest
Posts: n/a

 
      08-08-2006, 12:02 AM
I submit jobs via SQL Scheduler on a W2K3 server.

SQL Job is submitted.

Job consists of program that dynamically builds a batch script which
includes issuing DOS NET USE d: \\remoteserver\sharename [my credentials]
and /persistent:no. At the end the batch script issues a NET USE d: /delete
command. Output shows all commands working fine.

Logging on to the remote server and issuing a NET USE to list the mapped
drives shows only local drives, no mapped drives.

In the past, if the job was run multiple times (but non-concurrent) it would
simply reuse the I: drive as that is the first one available. Running 2
jobs concurrently has been shown to use I: and J: drive letters and drive I:
used subsequently. So far so good.

Symptoms I'm seeing now, is I added a feature such that when the batch
script is built, it adds a NET USE to map a drive at the beginning, runs the
scripts it needs to run, all invoking CALL sub-batch.cmd, then issuing a NET
USE to delete mapping at the end. This all seems to be working. Logging on
to remote server shows no remotely mapped drives. With each subsequent run,
the next available drive letter is used, as if it thinks the server still
has the prior drives mapped.

I have looked at task manager thinking each CMD task started is hung and
retaining its' drive letter, but nothing. Task Manager looks fine. I feel
pretty confidewnt I am executing paired NET USE to map drive and NET USE to
disconnect drive. All my testing and troubleshooting is in support of that.

I can only see C:, D:, E:, F:, G:, H: as locally mapped, but last invocation
of my process showed drive Q: was selected. Again, drives I: thru P: are
NOT showing up as mapped drives opn that remote server.

Any thoughts?

regards,

doug


 
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
Terminal Servers in Cluster - Login/Profile Issues - Please Help! un1c0rn Windows Networking 2 04-07-2010 12:19 PM
W2K3 Servers getting IP address from DHCP? Peter Moreton Windows Networking 2 09-14-2007 09:48 AM
Application Issues with W2K3 SP1 - Networking Timeout?? Sean P. Donaghey Windows Networking 3 08-28-2006 03:49 PM
SMB connection issues to File Servers =?Utf-8?B?QW5keTE5NzQ=?= Windows Networking 0 03-19-2005 02:35 PM
Issues with W2K3 RRAS =?Utf-8?B?dW5hcnk=?= Windows Networking 2 08-05-2004 01:23 AM



1 2 3 4 5 6 7 8 9 10 11