Some users who connect to the server using Remote Desktop (mstsc) are locked to a particular program: when they login, the program starts; when they quit the program, they're logged out.
One of them has tired of the Lilac color scheme, and would prefer Maple. Is there an easier way to change his colorscheme than to unlock his account, have him login, right-click on the desktop, change, save, logout, re-lock his account?
He is running Windows XP, and the server is Windows 2003.
A (complete) hack would be to export
HKCU\Control Panel\Colors
from a machine that is using the Maple scheme and merge that reg file as part of their login script. Or you could get their SID and put it directly in under HKUWould probably take 2 logins for them to see...
All the alternatives would take MUCH longer than just logging him in and changing his desktop colour scheme.
Help me here SF if I am wrong.
I believe that the program starting up and then the session ending is due to the "Enviroment" tab being set with a particular program in Active Directory. You should see a "Start the following program at logon:" Depsite its name it is not just started at logon, but is the only program that is run. Uncheck this box, and that behavior should change.
As far as the desktop and themiming is concerned, my stardard users have the rights to change that and some of them do. I wonder if the "Start the following program at logon" is preventing the getting to the desktop to change things.
If I remember correctly (its been a while) this change can be made in the registry under HKEY_USERS. You'll need to match the SID to the user you want to edit, then edit his profile settings under HKU/SID/Control Panel/Appearance. Change "NewCurrent" to one of the schemes listed in the folder called "Schemes" under "Appearance."
Have them log off then back on after you made the change. You may need to change 'current' and 'newcurrent.'
The background colour is in the registry key HKEY_CURRENT_USER\Control Panel\Colours in the value "Background". You would have to open HKEY_USERS and find the GUID corresponding to your user then change the value there.
JR
You could do this with Group Policy, but there isn't a built-in ADM template to do what you want. I presently lack the time to write this for you right now. If you only have a couple of users to do it with, just do it manually. If you're talking a large number of users, then pay somebody to write the ADM template for you. >smile<
In the past, we've added buttons to the locked down program which allow the "color scheme" Control Panel item to be opened. (desk.cpl)
This worked fine til we moved to Server 2008. The cdesk.cpl has changed, so opening it also gives you access to the filesystem (They've added an open button)
This prompted me to ask this question over at stackoverflow. The answers were not great...
https://stackoverflow.com/questions/546818/how-do-i-change-the-current-windows-theme-programatically
In your situation, I'd look at loading a registry file at time of login "maple.reg", etc. depending on which profile they want. Note that they'll need to logout and log back in for the color changes to take effect.