|
windows
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Mapped network drive limitationacst as a central file server. All PC's are running XP home. I discovered only a couple of weeks ago that XP Home limits the number of direct connections to a PC to 5 or something like that. so when all the PC's are fired up in the morning only the first 5 get a mapped drive while the others get nothing. First come first served. Without going into too much detail, these mapped network drives are needed to access a file on the server only once a day. But of course once they have their file the mapped drive stays connected. I know its simple to just unmount the mapped drive but some of the users are not particularly bright and I don't want them going their. I thought I might try a different approach. I thought I might try to get the server, via a batch file of some sort, to update each pc with the required file. Something like: map \\PC1\foldername\ X copy filename X: unmount \\PC1\foldername X map \\PC2\foldername\ X copy filename X: unmount \\PC2\foldername X map \\PC3\foldername\ X copy filename X: unmount \\PC3\foldername X etc.......... This batch file would be run once a day from the server Could someone assist me with a suggestion as to the content of what this batch file might look like, or indeed if what I am trying to do can be done. Thanks in advance, Sue. net use X: \\servername\sharename
copy (whatever you're copying) net use X: /d Rinse. Repeat as necessary. :-) -- Show quoteHide quoteRichard G. Harper [MVP Shell/User] rghar***@gmail.com * NEW! Catch my blog ... http://msmvps.com/blogs/rgharper/ * PLEASE post all messages and replies in the newsgroups * The Website - http://rgharper.mvps.org/ * HELP us help YOU ... http://www.dts-l.org/goodpost.htm "Sue Henderson" <s***@netconnect.com.au> wrote in message news:459c2f80$1@quokka.wn.com.au... > Hi, I have to administer a small peer to peer network of 10 PC's 1 of > those acst as a central file server. All PC's are running XP home. I > discovered only a couple of weeks ago that XP Home limits the number of > direct connections to a PC to 5 or something like that. so when all the > PC's are fired up in the morning only the first 5 get a mapped drive while > the others get nothing. First come first served. > > Without going into too much detail, these mapped network drives are needed > to access a file on the server only once a day. But of course once they > have their file the mapped drive stays connected. I know its simple to > just unmount the mapped drive but some of the users are not particularly > bright and I don't want them going their. > > I thought I might try a different approach. I thought I might try to get > the server, via a batch file of some sort, to update each pc with the > required file. Something like: > > map \\PC1\foldername\ X > copy filename X: > unmount \\PC1\foldername X > > map \\PC2\foldername\ X > copy filename X: > unmount \\PC2\foldername X > > map \\PC3\foldername\ X > copy filename X: > unmount \\PC3\foldername X > > etc.......... > This batch file would be run once a day from the server > > Could someone assist me with a suggestion as to the content of what this > batch file might look like, or indeed if what I am trying to do can be > done. > > Thanks in advance, > > Sue. > > > Richard G. Harper wrote:
> net use X: \\servername\sharename Wouldn't it be simpler to simply have each PC use a batch file saying:> copy (whatever you're copying) > net use X: /d > > Rinse. Repeat as necessary. :-) > copy \\servername\sharename\filename ? That way you don't have to map or unmap the drives. I use something similar to have 40 PCs access files on a Windows 2000 workstation. They just copy the files they need as they need them. Wow, that sounds so simple, I am embarresed I didnt think of it myself.
Thank you Michael and Richard for your responses. I will try thae latter first. Thanks again, Sue Show quoteHide quote "Michael W. Ryder" <_mwry***@worldnet.att.net> wrote in message news:z%Wmh.324832$Fi1.239298@bgtnsc05-news.ops.worldnet.att.net... > Richard G. Harper wrote: >> net use X: \\servername\sharename >> copy (whatever you're copying) >> net use X: /d >> >> Rinse. Repeat as necessary. :-) >> > > Wouldn't it be simpler to simply have each PC use a batch file saying: > copy \\servername\sharename\filename ? That way you don't have to map or > unmap the drives. I use something similar to have 40 PCs access files on > a Windows 2000 workstation. They just copy the files they need as they > need them. The OP was having problems with too many connections to a resource at once.
An explicit disconnect of the drive would be needed to resolve that problem. -- Show quoteHide quoteRichard G. Harper [MVP Shell/User] rghar***@gmail.com * NEW! Catch my blog ... http://msmvps.com/blogs/rgharper/ * PLEASE post all messages and replies in the newsgroups * The Website - http://rgharper.mvps.org/ * HELP us help YOU ... http://www.dts-l.org/goodpost.htm "Michael W. Ryder" <_mwry***@worldnet.att.net> wrote in message news:z%Wmh.324832$Fi1.239298@bgtnsc05-news.ops.worldnet.att.net... > Richard G. Harper wrote: >> net use X: \\servername\sharename >> copy (whatever you're copying) >> net use X: /d >> >> Rinse. Repeat as necessary. :-) >> > > Wouldn't it be simpler to simply have each PC use a batch file saying: > copy \\servername\sharename\filename ? That way you don't have to map or > unmap the drives. I use something similar to have 40 PCs access files on > a Windows 2000 workstation. They just copy the files they need as they > need them. Richard G. Harper wrote:
> The OP was having problems with too many connections to a resource at once. The OP wanted to simply copy a file to another PC. Why map the drive > An explicit disconnect of the drive would be needed to resolve that problem. > and then release the mapping when a simple copy will do the same thing? Because then the session would not disconnect as soon as the transfer is
done. This is the problem the OP was having - too many connections due to too many computers copying files. By explicitly disconnecting the session when complete you don't bump into the connection limit. -- Show quoteHide quoteRichard G. Harper [MVP Shell/User] rghar***@gmail.com * NEW! Catch my blog ... http://msmvps.com/blogs/rgharper/ * PLEASE post all messages and replies in the newsgroups * The Website - http://rgharper.mvps.org/ * HELP us help YOU ... http://www.dts-l.org/goodpost.htm "Michael W. Ryder" <_mwry***@worldnet.att.net> wrote in message news:p1dnh.329478$Fi1.90142@bgtnsc05-news.ops.worldnet.att.net... > Richard G. Harper wrote: >> The OP was having problems with too many connections to a resource at >> once. An explicit disconnect of the drive would be needed to resolve that >> problem. >> > > The OP wanted to simply copy a file to another PC. Why map the drive and > then release the mapping when a simple copy will do the same thing? Richard G. Harper wrote:
> Because then the session would not disconnect as soon as the transfer is I have never run into this problem even with 40 people getting files > done. This is the problem the OP was having - too many connections due to > too many computers copying files. By explicitly disconnecting the session > when complete you don't bump into the connection limit. > from a single Windows 2000 workstation. I thought that as soon as the command session ended so did any connections it may have made. Sue Henderson wrote:
Show quoteHide quote > Hi, I have to administer a small peer to peer network of 10 PC's 1 of those The limit is on concurrent inbound connections (to the pseudo-server);> acst as a central file server. All PC's are running XP home. I discovered > only a couple of weeks ago that XP Home limits the number of direct > connections to a PC to 5 or something like that. so when all the PC's are > fired up in the morning only the first 5 get a mapped drive while the others > get nothing. First come first served. > > Without going into too much detail, these mapped network drives are needed > to access a file on the server only once a day. But of course once they have > their file the mapped drive stays connected. I know its simple to just > unmount the mapped drive but some of the users are not particularly bright > and I don't want them going their. > > I thought I might try a different approach. I thought I might try to get the > server, via a batch file of some sort, to update each pc with the required > file. Something like: > > map \\PC1\foldername\ X > copy filename X: > unmount \\PC1\foldername X > > map \\PC2\foldername\ X > copy filename X: > unmount \\PC2\foldername X > > map \\PC3\foldername\ X > copy filename X: > unmount \\PC3\foldername X > > etc.......... > This batch file would be run once a day from the server > > Could someone assist me with a suggestion as to the content of what this > batch file might look like, or indeed if what I am trying to do can be done. > > Thanks in advance, > > Sue. there is no limit on outbound connections. So a different approach is to create a map from the server to each of the clients and copy from the server to each client every morning, via some batch file on the server. -- Cheers, Bob |
|||||||||||||||||||||||