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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NET USE Question 1

Status
Not open for further replies.

bjdobs

Programmer
Mar 11, 2002
261
CA
The NET HELP USE indicates there is a persistant connection
option ... I need a mapped drive to be connected at bootup that is like a nailed up connection ... because the mapping requires a username and password I have put a net use command into a bat file and included it in the start programs ... this connection is used by a multi user access app ... does the net use persistant option keep the connection nailed up (so it doesn't time out and require to renegotiate the connection) or is this the default connection type?
 
The persistent option will keep the mapping permanent as in it will survive a reboot. If you want to keep a connection form timing out after the default 15 minutes, you will have to change that on the server.
You can change this with the following command
net config server /autodisconnect:[time in minues]

If you specify -1 as the time, it will never disconnect.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top