Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: patcunha on April 23, 2009, 06:54:28 pm

Title: logon script to set wallpaper
Post by: patcunha on April 23, 2009, 06:54:28 pm
Hello!

I wonder if you know how to make a logon script to ebox to work with windows xp machines so that I can set a wallpaper in my users sessions. This is a simple way to advertise some activities going on in my school.
Can this be done? The wallpaper image should be saved somewhere in the server.
Can you help me?
Title: Re: logon script to set wallpaper
Post by: jcanfield on April 24, 2009, 03:42:41 am
Absolutely!  I use kixtart to change registry settings on boot via the netlogon all the time.  If you know the registry keys you want to change, I'll help you produce the scripts.

I assume it's something like HKEY_CURRENT_USER\Control Panel\Desktop Wallpaper

So the kixstart line would be something like:

Code: [Select]
WRITEVALUE("HKEY_CURRENT_USER\Control Panel\Desktop", "Wallpaper","somepicture.bmp","REG_SZ")

Look at samba guide chapter 10 there are some very good examples of using kixtart:

http://www.samba.org/samba/docs/man/Samba-Guide/nw4migration.html

-Jim