Windows Server 2000/2003 Thread, Terminal Server Sessions wallpapers in Technical; hi all
we have got a full desktop working on terminal services and we have redirected start menu and back ...
29th October 2009, 03:17 PM #1 Rep Power 0
Terminal Server Sessions wallpapers hi all
we have got a full desktop working on terminal services and we have redirected start menu and back grounds for user groups
but we would like to have a Pool of wallpapers images that is random on each logon for all users using the Thin clients
any one got any ideas of a script or something to help do this??
many thanks
Phil
IDG Tech News
29th October 2009, 03:22 PM #2 Possible. Two ideas I had was to either use a HTML page or a have a program that changes the regkey to a (random) new image.
29th October 2009, 03:26 PM #3 Rep Power 0
Originally Posted by
matt40k Possible. Two ideas I had was to either use a HTML page or a have a program that changes the regkey to a (random) new image.
any ideas how to do this??
currently we are setting the background under the profile area with the background file called desktop.
29th October 2009, 04:38 PM #4 If you was using Server 2008 R2 its built into Windows
You might want to try this - http://www.microsoft.com/downloads/d...displaylang=en
Also i think the wallpaper is disabled by defult for TS Sessions. You might need to enable it in group policy.
29th October 2009, 04:39 PM #5 Try the attached.
Save it to the local disc, then set it to run as a group policy when the user logins in, you'll need to set the path to the folder of pictures, they will need to be JPG. Hopefully that'll do it.
Scratch that... Listen to FN-GM. Attached Files
Last edited by matt40k; 29th October 2009 at 04:42 PM .
30th October 2009, 08:52 AM #6 Rep Power 0
Originally Posted by
FN-GM hey fn-gm
we have set up desktop images for ts server sessions.
is there anything to put into a logon script so when we set the drivers a user has, we can set a picture from a folder of pictures
30th October 2009, 10:11 AM #7 I am not sure, i have never used it. I presume you set something in the profile. Personally i wouldn't waste system resources on wallpapers etc
30th October 2009, 01:01 PM #8 Rep Power 0
Been searching
setting the background via kickstart.kix script
WRITEVALUE("HKEY_CURRENT_USER\Control Panel\Desktop", "Wallpaper","somepicture.bmp","REG_SZ")
how would i get it to look into a folder to select a random picture out of it???
tar
30th October 2009, 01:06 PM #9 Rep Power 0
found this on another site
Here is a simple VBScript to set the image (and a thing to remember, the majority of configuration settings occur in the Windows Registry, but don't randomly start fiddling with it, otherwise you could damage it).
CODE
Dim shell : Set shell = CreateObject("WScript.Shell")
Dim wallpaper : wallpaper = "\\Network\Path\To\Image"
shell.RegWrite "HKCU\Control Panel\Desktop\Wallpaper", wallpaper
shell.Run "%SYSTEMROOT%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters", 1, True
The last line is important, because it causes the system to update user parameters, things like the desktop background.
You should be able to run that at startup.
ALSO got this
dim wshShell
dim sUserName
Set wshShell = WScript.CreateObject("WScript.Shell")
sUserName = wshShell.ExpandEnvironmentStrings("%USERNAME%")
Set oShell = CreateObject("WScript.Shell")
Set oFSO = CreateObject("Scripting.FileSystemObject")
sWinDir = oFSO.GetSpecialFolder(0)
'sWallPaper = "D:\My Documents\DownLoad\" & sUserName & " - bkg.jpg"
sWallPaper = "C:\WINNT\Sample.bmp"
' update in registry
oShell.RegWrite "HKCU\Control Panel\Desktop\Wallpaper", sWallPaper
' let the system know about the change
oShell.Run "%windir%\System32\RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters", 1, True
Last edited by fil_b; 30th October 2009 at 01:19 PM .
SHARE:
Similar Threads
By Jonny_sims in forum Thin Client and Virtual Machines
Replies: 6
Last Post: 12th May 2010, 11:30 PM
By f21970 in forum Windows Server 2008
Replies: 2
Last Post: 29th May 2009, 01:56 PM
By darknova in forum Windows Server 2008
Replies: 0
Last Post: 13th March 2008, 10:27 AM
By Behuck in forum Thin Client and Virtual Machines
Replies: 12
Last Post: 17th January 2008, 05:18 PM
By nutso in forum Thin Client and Virtual Machines
Replies: 0
Last Post: 19th November 2007, 10:00 AM
Thread Information Users Browsing this Thread There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads You may not post replies You may not post attachments You may not edit your posts Forum Rules