How do I automatically logoff clients after n minutes of inactivity?

John Savill

March 4, 1999

1 Min Read
ITPro Today logo

A. The registry entry HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanmanServerParameters. Add a new variable (Edit - New - Dword value) and call it Disc. Set the value to the number of minutes inactivity wanted. Some network programs constantly communicate with the server (such as mail) so this will not always work. This will only terminate remote connections, to actually logoff from a session use the winexit.scr that comes with the resource kit.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like