Jump to content

Active but idle session time limits


Recommended Posts

Posted

I want to setup a time limit for Active but idle sessions on TS users for 8

hrs. how can I do that? I see options for 3hrs then it jumps to 1 day

  • Replies 3
  • Created
  • Last Reply
Posted

Re: Active but idle session time limits

 

Hi,

 

You need to create a custom group policy template file (.adm)

with the settings you need or edit the existing one, in this case

system.adm. See this article:

 

How to create custom administrative templates in Windows 2000

 

http://support.microsoft.com/kb/323639

 

The policy setting you are looking for is TS_Sessions_Idle_Limit.

Add a new one called TS_TIME_8HR with a value of 28800000.

 

The value is in milliseconds. If you use a custom file for your

session timeouts then make sure you leave them as unconfigured

in the default section so that the two do not conflict.

 

-TP

 

Pearl wrote:

> I want to setup a time limit for Active but idle sessions on TS users

> for 8 hrs. how can I do that? I see options for 3hrs then it jumps

> to 1 day

Guest Soo Kuan Teo [MSFT]
Posted

Re: Active but idle session time limits

 

If you're using Win2k3, you can use TSWMI Win32_TSSessionSetting.TimeLimit

to set this property to the milliseconds:

http://msdn2.microsoft.com/en-us/library/aa383826.aspx

 

For more info on TSWMI, please visit:

http://blogs.msdn.com/ts/archive/2006/10/03/Terminal-Services-_2800_TS_2900_-Remote-Configuration-Primer-Part-1.aspx

 

Thanks

Soo Kuan

 

 

--

This posting is provided "AS IS" with no warranties, and confers no rights.

 

"TP" <tperson.knowspamn@mailandnews.com> wrote in message

news:OsWHJIpEIHA.5752@TK2MSFTNGP02.phx.gbl...

> Hi,

>

> You need to create a custom group policy template file (.adm) with the

> settings you need or edit the existing one, in this case system.adm. See

> this article:

>

> How to create custom administrative templates in Windows 2000

>

> http://support.microsoft.com/kb/323639

>

> The policy setting you are looking for is TS_Sessions_Idle_Limit.

> Add a new one called TS_TIME_8HR with a value of 28800000.

> The value is in milliseconds. If you use a custom file for your session

> timeouts then make sure you leave them as unconfigured in the default

> section so that the two do not conflict.

>

> -TP

>

> Pearl wrote:

>> I want to setup a time limit for Active but idle sessions on TS users

>> for 8 hrs. how can I do that? I see options for 3hrs then it jumps

>> to 1 day

Posted

Re: Active but idle session time limits

 

Hi,

 

This means that the setting will apply to all users instead of

just those that the GPO applies to. In many cases this is

not what is desired.

 

-TP

 

Soo Kuan Teo [MSFT] wrote:

> If you're using Win2k3, you can use TSWMI

> Win32_TSSessionSetting.TimeLimit to set this property to the

> milliseconds: http://msdn2.microsoft.com/en-us/library/aa383826.aspx

>

> For more info on TSWMI, please visit:

> http://blogs.msdn.com/ts/archive/2006/10/03/Terminal-Services-_2800_TS_2900_-Remote-Configuration-Primer-Part-1.aspx

>

> Thanks

> Soo Kuan


×
×
  • Create New...