Page 1 of 1 1
Topic Options
#166062 - 2006-08-17 05:09 PM Change wallpaper logon different size
david_ti Offline
Fresh Scripter

Registered: 2006-02-09
Posts: 11
Loc: Montréal, Québec, Canada
Hi,

I want to change the wallpaper in the logon screen (where you see the crtl+alt+del). The reason is our compagny change the logo, and we got over 400 computers and laptop. So, due to the different size of each screen, i need to set the right size to the right one.

I want someting like
Code:
if size=1024*768 install 1024.bmp  
size=800*600 install 800.bmp



You know what i meen. For know, i just have this :
Code:
IF INGROUP("test")
Break on
;
$sourecpath = "\\servlog\netlogon\test\"
$destinationpath = %windir%
;
Copy $sourecpath + "NewLogoText1024.bmp" $destinationpath
;
;depending on how big the .reg file is you could use
;writevalue to write the stuff directly to the registry.
Run "regedit.exe /s " + $sourcepath + "registry.reg"
;
ENDIF



All works, but for each size, it's a little bit more hard for me.

Thx for your help.

Top
#166063 - 2006-08-17 05:31 PM Re: Change wallpaper logon different size
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
Maybe SetWallpaper() can help you? I presume the bitmap will appear "stretched". If you search the BBS for "Wallpaper" in the subject, you will see this question has been discussed many times.
Top
#166064 - 2006-08-17 05:35 PM Re: Change wallpaper logon different size
david_ti Offline
Fresh Scripter

Registered: 2006-02-09
Posts: 11
Loc: Montréal, Québec, Canada
SetWallpaper can not help me, cause i need to change the one on logon and not the user. I search, but not find what i need.
Top
#166065 - 2006-08-17 07:18 PM Re: Change wallpaper logon different size
david_ti Offline
Fresh Scripter

Registered: 2006-02-09
Posts: 11
Loc: Montréal, Québec, Canada
that is what i change
Code:
 [HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"Wallpaper"="C:\\Windows\\NewLogoText1024.bmp"


Top
#166066 - 2006-08-17 10:55 PM Re: Change wallpaper logon different size
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
Well, I think there are examples on the board:
http://www.kixtart.org/ubbthreads/showflat.php?Number=2080&page=63
Code:

WriteValue("HKEY_USERS\.Default\Control Panel\desktop","Wallpaper","C:\WINDOWS\hadhawk.bmp","REG_SZ")


Top
#166067 - 2006-08-17 11:55 PM Re: Change wallpaper logon different size
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I'm guessing that he wants to determine screen rez in order to drop the correct size image.
Top
#166068 - 2006-08-18 02:09 PM Re: Change wallpaper logon different size
david_ti Offline
Fresh Scripter

Registered: 2006-02-09
Posts: 11
Loc: Montréal, Québec, Canada
Les, you right!
So, somebody can help me on this case?

Top
#166069 - 2006-08-18 07:19 PM Re: Change wallpaper logon different size
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Yes,

Right here in the UDF Forum.

GetScreenRes() - Get screen resolution
http://www.kixtart.org/ubbthreads/showflat.php?Cat=0&Number=81798

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.071 seconds in which 0.037 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org