I ran across this issue today where i needed to enforce taskbar settings to avoid conditions where the users taskbar was moved or set to autohide, first i had to see if i could change it for one user without using GPOs… ultimately i want to lock the bar to the bottom, and force it to always be visable. The following shows how to edit the HKCU for another user on the system (as you would for a locked down system like XenApp etc)
All user’s HKEY_CURRENT_USER information is available in the registry under HKEY_USERS, identified by their Security Identifier (SID). Refer to the knowledge base article titled, “Match a user profile to folders in HKEY_USERS”, in the Related Information section for information on how to identify the SID for the desired user profile, so that edits to their HKEY_CURRENT_USER can be made.
This procedure enables administrators to make modifications to specific user profiles located in HKEY_USERS, mimicking those found in HKEY_CURRENT_USER when that user is logged in.
- Expand HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.
- Select each folder individually and look at the ‘ProfileImagePath’ key to identify the user profile associated with the selected folder:
The folder name in the above example; it is S-1-5-21-2060139532-2050374463-2073913816-1157.
- Expand HKEY_USERS\<folder>. In this example, HKEY_USERS\S-1-5-21-2060139532-2050374463-2073913816-1157. This is that user’s HKEY_CURRENT_USER. Proceed with the desired modification:
I also found this great article on DABCC that breaks down the registry values for the taskbar settings