Sunday, June 7, 2009

Clock Display in Windows 2008 RDP sessions

How to Force display of clock in Windows 2008 RDP sessions.

It took a long time to find this, so posting here (not taking credit for) >

Use Group Policy Preferences to push a registry key out to achieve this.

  1. Start the Group Policy Management Console (GPMC) and go to User Configuration - Preferences - Windows Settings - Registry
  2. right-click - New - Registry Wizard - select Local Computer - select the registry key
  3. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2
  4. select the "Settings" value and enter the proper data, using the values below for the different properties of the taskbar
  5. click "Finish"
  6. select the "Settings" value - right-click - properties - Common tab
  7. select the option "Run in logged-on user's security context (user policy option)

The "Settings" value, of this key will be a 40 pair hex value , e.g >

28 00 00 00 ff ff ff ff 02 00 00 00 03 00 00 00 6d 00 00 00 20 00 00 00 00 00 00 00 e0 03 00 00 00 05 00 00 00 04 00 00

The nineth pair of digits determines the Taskbar properties. Possible values are:

Always on top = 0x02
Auto hide = 0x01
Show small icons in Start menu = 0x04
Hide clock = 0x08

Combine the properties you want and set the byte. For example:

Always on top + Show small icons + Show clock = 06
Always on top + Show small icons + Hide clock = 0e

(I used 06 as the ninth hex pair)

Link : http://ts.veranoest.net/ts_faq_configuration.htm

No comments: