Author Topic: logon script to set wallpaper  (Read 9631 times)

patcunha

  • Zen Apprentice
  • *
  • Posts: 44
  • Karma: +0/-0
    • View Profile
logon script to set wallpaper
« 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?

jcanfield

  • Zen Monk
  • **
  • Posts: 89
  • Karma: +2/-0
    • View Profile
Re: logon script to set wallpaper
« Reply #1 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
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius...and a lot of courage - to move in the opposite direction."  --  Albert Einstein