Bitmap Image beofore logon

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi There,

I have created a bitmap image for our company, which i would like to have
applied to all windows XP computers before and after user logon. I've already
tried looking for the appropriate setting in the registry
(hkey_users\.default) without any luck.

My manager has asked me to introduce a common desktop for workstations and
it's pretty urgent. I would gladly appreciate some assistance with this.

Thanks,

Tumelo

Systems Engineer, The Road Accident Fund - South Africa
 
Wallpaper Downloader

Compile with AuotIt 3.1

Requires bitmaps named wp-800, wp-1024, etc in script folder, to suit each
desktop size.

Works for all 32-bit Windows, though auto-set only works on NT-based OS.

----------------

$namestring="wp-"

select
case @DesktopWidth < 900
$wallpaper = $namestring & '800.bmp'
case @DesktopWidth > 1000
$wallpaper = $namestring & '1024.bmp'
case @DesktopWidth > 1100
$wallpaper = $namestring & '1280.bmp'
endselect

FileCopy (@ScriptDir & '\' & $wallpaper , @Windowsdir,1)

RegWrite('HKEY_CURRENT_USER\' & 'Control
Panel\Desktop','Wallpaper','REG_SZ',$wallpaper)
RegWrite('HKEY_CURRENT_USER\' & 'Control
Panel\Desktop','WallpaperStyle','REG_SZ','2')

RegWrite('HKEY_CURRENT_USER\' & 'Control
Panel\Colors','Background','REG_SZ','0 0 0')

if @OSTYPE = 'WIN32_NT' then
Run(@SystemDir & "\RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters")
endif
 
Better point-out that the RegWrite lines, and the last IF statement got
folded by the newsreader. They should each be one continuous line.
 
Back
Top