Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista - Network Idle Session Time to Automatically Disconnect

Comment
 

Network Idle Session Time to Automatically Disconnect

How to Change the Network Idle Session Time to Automatically Disconnect in Vista
Published by Brink
08-07-2008

How to Change the Network Idle Session Time to Automatically Disconnect in Vista
Information
  This will show you how to change how long a Network (LAN) session to your computer can remain idle for in minutes before your computer automatically disconnects them, or to turn off autodisconnect.
NOTE
  This is not for a internet connection. It is for the other computers connected to your computer by a Local Area Network (LAN) on the same workgroup or domain.
WARNING
  After the set idle time, the users will be disconnected automatically from the local area network (LAN) session connection to your computer and they will have to log on again to access the allowed files on your computer. This will include mapped drives.
RELATED LINKS:

METHOD ONE:
Through a Elevated Command Prompt
1. Open a elevated command prompt.

2. To Verify and See what the Current Idle Session Time (min) is -
A) In the command prompt, type Net Config Server and press Enter. (See screenshot below)

B) To the right of Idle session time (min), you will see the amount of idle minutes set to autodisconnect.
NOTE: The default time is 15 minutes.
status.jpg
3. To Change the Idle Session Time (min) to Autodisconnect -
A) In the elevated command prompt, type in bold below and press Enter. (See screenshot below)
NOTE: Replace XX with a value of -1 to 65535 minutes. For 30 minutes, you would type:
net config server /autodisconnect:30
WARNING: -1 is to never autodisconnect, and 0 (number zero) will cause an almost instant autodisconnect.
net config server /autodisconnect:XX
B) You will get a The command completed successfully message afterwards.
command.jpg
4. Close the elevated command prompt window.

5. Restart the computer to apply.
NOTE: You can verify the changes in step 2 above.




METHOD TWO:
Through the Registry
1. Open the Start Menu.

2. In the white line (Start Search) area, type regedit and press Enter.

3. Click on Continue in the UAC prompt.

4. In regedit, go to: (See screenshot below step 5)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

5. In the right pane, right click on autodisconnect and click on Modify.
NOTE: If autodisconnect is not here, then in the right pane, right click on a empty area and click on New and DWORD (32-bit) Value and type autodisconnect and press Enter.

6. Dot Decimal, and type in from 0 (number zero) to 65535 minutes for the idle time you want set and click on OK. (See screenshot below)
NOTE: The default time is 15 minutes. You cannot enter -1 in the registry to never autodisconnect, instead you will have to use METHOD ONE if this is what you wanted to do.
WARNING: Entering 0 (number zero) will cause an almost instant autodisconnect.
Name:  Modify.jpg
Views: 3848
Size:  32.2 KB
7. The registry will now look similar to this with autodisconnect set to 30 minutes. (See screenshot below)

8. Close regedit.

9. Restart the computer to apply changes.
NOTE: You can verify the changes in METHOD ONE (step 2) above.
That's it,
Shawn

Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 25,919
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

Comment

Tutorial Tools


Similar Threads
Tutorial Category
Multiple invitees drop out of chat session after being idle Live Messenger
Solved For Brink: ref the Network Idle Session Time Tutorial Network & Sharing
Start & Stop Programs @ Session Connect & Disconnect Vista General
How to delet IE history after each session automatically Vista security
Mapped Network Drives disconnect after idle time Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46