Change desktop background and refresh via registry...

Rilescat

Senior member
Jan 11, 2002
815
0
0
Good Day,

I need to know how (in Win2k) I can change my background and refresh the user so that I immediately see the changes, via the registry or command prompt.

Here's the situation. I have students logging into Citrix remotely. They have 3 systems for their classes, and the students keep getting things confused. SO...I need to make the system change its background automatically when the user logs in. I already have a program created to tell the system which background to pick, and I think sticking this all in the RunONCE reg key will run the program fine.

However, I have been unable to use either a reg edit, or command prompt to change the background and refresh it immediately. (Rem, these guys are using Citrix, so I can't have them reboot the system or log out and log back on).

Any ideas on how to do this? ??

Thanks for any assistance.
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Originally posted by: Rilescat
Good Day,
I need to know how (in Win2k) I can change my background and refresh the user so that I immediately see the changes, via the registry or command prompt.
Here's the situation. I have students logging into Citrix remotely. They have 3 systems for their classes, and the students keep getting things confused. SO...I need to make the system change its background automatically when the user logs in. I already have a program created to tell the system which background to pick, and I think sticking this all in the RunONCE reg key will run the program fine.
However, I have been unable to use either a reg edit, or command prompt to change the background and refresh it immediately. (Rem, these guys are using Citrix, so I can't have them reboot the system or log out and log back on).
Any ideas on how to do this? ??
Thanks for any assistance.

You mentioned 'already have a program created', if that is something you wrote you should be calling the proper api to change the desktop not just setting the reg key. After the api is called the system will handle the refresh.
Bill