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.
- Start the Group Policy Management Console (GPMC) and go to User Configuration - Preferences - Windows Settings - Registry
- right-click - New - Registry Wizard - select Local Computer - select the registry key
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2
- select the "Settings" value and enter the proper data, using the values below for the different properties of the taskbar
- click "Finish"
- select the "Settings" value - right-click - properties - Common tab
- 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:
Post a Comment