Networking Forums

Networking Forums > Computer Networking > Windows Networking > net use drives for same user

Reply
Thread Tools Display Modes

net use drives for same user

 
 
roger.orr@gmail.com
Guest
Posts: n/a

 
      03-28-2008, 03:07 PM
Hello,
I have noticed a difference between W2K and W2K3 over net use drive
letters for the *same* user.

Is there any way on W2K3 to share the net use drive letter between the
two sessions that have the *same* user logged on?

The motivation is that we wish to run scheduled jobs accessing the
drive letter.
On W2K this works fine, on W2K3 this fails.

The simplest way to demonstrate the different behaviour is using
'runas' from two command prompts:

first
1) runas /user:xxx %comspec%
net use F: \\server\path

then
2) runas /user:xxx %comspec%
net use F:
dir F:

On W2K the "net use" doesn't show the drive letter mapped, but the dir
does list the files.

On W2K3 the "net use" shows the drive letter mapped, and
'Unavailable', and the dir fails.

Regards,
Roger.
 
Reply With Quote
 
 
 
 
Henrik Johansson
Guest
Posts: n/a

 
      03-30-2008, 04:45 PM
<(E-Mail Removed)> wrote in message
news:888d44dd-7f47-44da-a8d9-(E-Mail Removed)...
> Hello,
> I have noticed a difference between W2K and W2K3 over net use drive
> letters for the *same* user.
>
> Is there any way on W2K3 to share the net use drive letter between the
> two sessions that have the *same* user logged on?
>
> The motivation is that we wish to run scheduled jobs accessing the
> drive letter.
> On W2K this works fine, on W2K3 this fails.
>
> The simplest way to demonstrate the different behaviour is using
> 'runas' from two command prompts:
>
> first
> 1) runas /user:xxx %comspec%
> net use F: \\server\path
>
> then
> 2) runas /user:xxx %comspec%
> net use F:
> dir F:
>
> On W2K the "net use" doesn't show the drive letter mapped, but the dir
> does list the files.
>
> On W2K3 the "net use" shows the drive letter mapped, and
> 'Unavailable', and the dir fails.


Use 'net use F: \\server\path' in both sessions to re-init the connection
for the second job.

Another solution is to to run the scheduled jobs as separate users with the
same permissions to access the network share.

/Henrik


 
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
Workstations disconnecting mapped drives when another user connect JamesM Windows Networking 0 11-12-2007 06:55 PM
Trouble with network drives when user not logged in. Eric Windows Networking 5 08-07-2007 08:08 AM
Creating User Friendly Mapped Drives WaltB123 Windows Networking 3 06-21-2007 02:56 PM
Need hep with Accessing user files on NT4 server shared user directory Terry Windows Networking 1 09-07-2003 06:54 AM



1 2 3 4 5 6 7 8 9 10 11