I am trying to set the Sessions Max Idle time to 4 days. The default
settings only go up to 2 days. I have located the related reg key
HKLM\System\CCS\Control\TerminalServer\WinStations\RDP-Tcp
MaxIdleTime, but I am having troulbe decifering th pattern
2 days = 5265c00 (HEX) 86400000 (Decimal)
1 day = a4cb800 (HEX) 17280000 (Decimal)
1 hr = 360ee8cd (HEX) 3600000 (Decimal)
4 days = ???????
Help?
Thanks,
Dan
Dan M - 26 May 2005 18:57 GMT
I did some more digging and I think I have this one solved....
Most timers in NT say they are in milliseconds. So I assumed this timer
you want to set is in millisecond increments. The timer will 'tick' in
milliseconds versus like a normal wall clock that 'ticks' in seconds.
So.....
1 second = 1000 ticks
1 minute = 60,000 ticks
1 hour = 3,600,000 ticks
1 day = 86,400,000 ticks
4 days = 345,600,000 ticks
345600000 converted to hex = 0x14997000