Recommended Posts

English

Hi,

does someone know what the logon script

is to set a wallpaper to a client XP pc?

i`ve got a server2003 with active directory,

and i want to set the wallpaper,

if i use group policy`s, i get active desktop,

but i don`t want to use active desktop,

so i want a script withs sets the wallpaper c:\windows\web\wallpaper\woestijn.jpg

as the clients wallpaper.

Sorry for my bad english,

please help :)

<-------->

dutch.

Hallo,

weet iemand een aanmeldscript voor windows server 2003 om

een achtergrond vast te zetten voor een gebruiker, die XP gebruikt?

via groepsbeleid werkt het niet, aangezien je daarmee ook

active desktop activeert,

wat ik niet wil gebruiken,

ik wil graag met het script het achtergrondje c:\windows\web\wallpaper\woestijn.jpg

als achtergrondje gebruiken.

Bedankt alvast:)

Link to comment
https://www.neowin.net/forum/topic/314089-logon-script/
Share on other sites

I wouldn't know how you do that in CMD but you could easily make a quick VB program with the following code in it

It should work but I haven't had a chance to test it seeing as how my program keeps freezing when I compile (It's more complicated than this) (See Prgramming VB Forum)

Private Function setWallpaper()

Dim t As Long

t = SystemParametersInfo(ByVal 20, vbnostring, ByVal "LOCATION OF WALLPPAER", &H1)

If t = 0 Then

MsgBox "Error changing wallpaper"

Exit Function

End If

End Function

Link to comment
https://www.neowin.net/forum/topic/314089-logon-script/#findComment-585842289
Share on other sites

  Billprozac said:
Ummm, I think active desktop is running by default and is required if you wish to use any image that is not a BMP.

585842661[/snapback]

Yup, I think you're right.

Try using a BMP instead.

Link to comment
https://www.neowin.net/forum/topic/314089-logon-script/#findComment-585842681
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.