Networking Forums

Networking Forums > Computer Networking > Windows Networking > Connecting a network share

Reply
Thread Tools Display Modes

Connecting a network share

 
 
Marcus Franke
Guest
Posts: n/a

 
      08-15-2008, 09:45 AM
Hello,

I have a logon script that connects three network shares on startup.

There is one user with the problem that the script is failing every
second or third boot.

I'd like to tweak the script in the way like:

if f:\ != isConnected:
net use f: \\server\share /persistent:no

Is this possible? I'd like to enable the user to rerun the script
at any given time without having to disconnect the one or two
shares that might be working.


regards,
Marcus
 
Reply With Quote
 
 
 
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      08-15-2008, 02:22 PM
Marcus Franke <(E-Mail Removed)> wrote:
> Hello,
>
> I have a logon script that connects three network shares on startup.
>
> There is one user with the problem that the script is failing every
> second or third boot.
>
> I'd like to tweak the script in the way like:
>
> if f:\ != isConnected:
> net use f: \\server\share /persistent:no
>
> Is this possible? I'd like to enable the user to rerun the script
> at any given time without having to disconnect the one or two
> shares that might be working.
>
>
> regards,
> Marcus



if not exist f: net use f: \\server\share /persistent:no

....but it would probably help if you were to provide details of the script
failing to work - more symptoms, etc.


 
Reply With Quote
 
Marcus Franke
Guest
Posts: n/a

 
      08-19-2008, 08:35 AM
Lanwench [MVP - Exchange] wrote:
Hi,


>
> if not exist f: net use f: \\server\share /persistent:no
>
> ...but it would probably help if you were to provide details of the script
> failing to work - more symptoms, etc.
>


I've got a station in the network that sometimes failes to mount
some of the shares.

That particular user has a link on his desktop linked to the logon
script. With the tweaked version of the script there are no more
errors complaining about already connected network shares the script
tries to mount a second time.

Thanks for your help

regards,
Marcus

 
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
Connecting to a a share on another domain Stoo85 Windows Networking 5 05-30-2008 03:22 PM
Unique situation - Two machines connecting to one wireless network but share one printer avtar Wireless Internet 1 08-30-2007 01:51 AM
Trouble connecting to windows-share from mac Martin Windows Networking 0 10-17-2005 08:48 AM
Problem connecting to samba share Frank.Barney@venturedata.com Windows Networking 1 01-22-2004 01:33 AM
Connecting to a share Mr. Novice Windows Networking 1 07-02-2003 10:59 PM



1 2 3 4 5 6 7 8 9 10 11