How to disable autodisconnet feature in your computer

This forum is moderated and supported by Larissa; Takalani ; Hendry and BASit ; who will answer all your questions or queries. . .
Post Reply
Posts: 37
Joined: December 3rd, 2008, 11:46 am

How to disable autodisconnet feature in your computer

Post by takalani » February 7th, 2014, 10:55 am

Use the command:

CompuByte Support

User avatar
Site Admin
Posts: 197
Joined: May 17th, 2005, 8:10 pm
Location: Johannesburg South Africa

Re: How to disable autodisconnet feature in your computer

Post by basit » September 22nd, 2015, 7:23 pm

I have 5 workstations running windows 7. Our server runs server 2003. I have taken steps to eliminate the disconnecting of our mapped drives but they periodically disconnect during the day causing issues with some software we are using over the network. Below is what has been done as other resources have instructed.

I removed the autodisconnect from the server using:

Code: Select all

net config server /autodisconnect:-1
Changed one registry values in:

Code: Select all

KeepConn set to 65535(dec)
NOTE: The client-side session is automatically disconnected when the idling time lasts more than the duration that is set in KeepConn. Therefore, the session is disconnected according to the shorter set duration value between AutoDisConnect and KeepConn. To change the time-out duration in the client-side during a UNC connection, specify the arbitrary time in KeepConn.
Locate and then click the following key in the registry:

Code: Select all

Value: KeepConn 
Data type : REG_DWORD 
Range : 1 to 65535 (sec) 
Default value: 600 sec = 10 mins

Post Reply

Return to “CompuByte POS .Net Frequently Asked Question (FAQ) (Only new windows .Net Version)”