Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to disconnect network drives

Status
Not open for further replies.

alexs0628

MIS
Mar 25, 2002
82
US
I've got something wrong in the login scripts syntax for the server because the network drives won't disconnect when logging off.

I've got

net use v: //server/folder \persistent:no

What's wrong with this syntax?

 
I always created a log off scrip which deleted the net drive. I am not sure persistent:no means "set up once". I believe persistents has something to do woth network efficiency ie wins. However I might be way off.

Quote from MS:
****************************
Persistent connections
For Windows 2000 Server, WINS introduces persistent connections between WINS server replication partners. This feature is helpful because typically WINS servers disconnect from their replication partners each time replication is completed. In many cases, where WINS servers are interconnected through high speed local area network (LAN) links it is preferable to keep connections open, instead of closing them after replication is completed.

For earlier versions of WINS, servers had to establish new WINS-server connections each time replication was performed. Each connection required a modest number of processor cycles. For efficiency, network managers often configured systems to accumulate a larger number of changes before connecting for replication. These reconnections sometimes caused delays (perhaps as long as several minutes) in the replication process, which meant that inconsistencies in server data commonly existed when WINS was updated.

Persistent connections increase the speed of replication because a server can immediately send records to its partners, without incurring the cost of establishing temporary connections each time. Every record is immediately updated across the network upon registration in WINS, making replication more consistent. The bandwidth used by persistent connections is minimal because the connection is usually idle.
****************************
 
Hi
Could be error of sintax, the only error that i found in the sentence was the Slash.

Check this.

Good Luck
 
You could do a logoff script.
net use f: /delete

Jon

There is much pleasure to be gained from useless knowledge. (Bertrand Russell)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top