We're speaking at
CFUnited 2008:
CFUnited - The Premiere ColdFusion Technical Conference

Search

Calendar

SunMonTueWedThuFriSat
    123
45678910
11121314151617
18192021222324
25262728293031

Subscribe Enter your email address to subscribe to this blog. You'll receive an email when we write a new post.

Recent Entries Come On In, Rails-The Water's Warm
Shan's Simple Examples: File uploads with Flex and ColdFusion

Recent Comments Google Calendar API - Creating a new Calendar with ColdFusion
Steve Julian said: When and where are you going to post the finished CFC's ? Thanks [more]

Three Phases of Programmer Development
Pat Branley said: I normally think of those phase 2 people as 'programmers' and the phase 3 people as 'developers'. I... [more]

New Job Title: Front End Engineer
Sean Corfield said: Well, there's always the excellent Fusion Authority Quarterly Journal... [more]

Down To The Wire: HTTP Sniffers
Brian M said: I second the mention of the Charles Web Debugging Proxy that Tariq mentioned. It is fantastic. It s... [more]

New Job Title: Front End Engineer
Patrick said: Heya Sean. Good point. I never understood how they did things over there at SysCon, and I understand... [more]

Archives By Subject Business of Software (4) [RSS]
ColdFusion (318) [RSS]
Conferences (6) [RSS]
Databases (87) [RSS]
Flex & Flash (109) [RSS]
Fusebox (87) [RSS]
General Development (29) [RSS]
Google (9) [RSS]
Hardware (5) [RSS]
JVM & Java (132) [RSS]
Linux (20) [RSS]
Miscellaneous (254) [RSS]
Performance (8) [RSS]
SeeFusion (36) [RSS]
Shan's Simple Examples (7) [RSS]
User Interface (3) [RSS]
Windows (5) [RSS]

Archives By Poster Daryl Banttari (10)
Nat Papovich (29)
Patrick Quinn (36)
Shannon Hicks (22)
Steve Nelson (21)
Tyson Vanek (3)


bottom corner

Enabling desktop wallpaper on remote desktop terminal services

I always have to work hard to remember which server is live, which is for production, which is for development, etc. It's also difficult to tell at a glance which remote server I'm connected to over remote desktop. Typically I change the wallpaper color to red for production servers, green for development servers and yellow for staging servers. But that doesn't solve the second problem of immediately knowing which server I'm connected to.

I googled around for quite some time to find out how to enable desktop wallpaper for RDP sessions on Windows Server 2003 (2k3), but I couldn't discover how to do it. My friend Damon Gentry helped me out, and here's how you do it.

First off, your RDP client (Remote Desktop Connection client in the case of Windows XP) has to have remote wallpaper enabled. On XP, open the saved Remote Desktop Connection file to the server you are connecting and click the Experience tab. Place a check in the option "Desktop background". This allows the client to see enabled desktop wallpapers.

Second, connect to the remote Win2k3 server and from a Run box, type "mmc" to open the Microsoft Management Console. Click File -> Add/Remove Snap-in. Click the "Add..." button, choose "Group Policy Object Editor" from the list and click "Add" (you may have to push "Finish") then "Close" then "OK".

Now browse to Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Terminal Services. From the list, modify "Always show desktop on connection" to "Enabled" and "Enforce Removal of Remote Desktop Wallpaper" to "Disabled". Now close the MMC clicking "No" about saving the settings.

Log out of your remote desktop connection and login again, making sure your RDP client has desktop wallpaper enabled. Now you should be able to rt-click the desktop and apply wallpaper normally. I still recommend doing the colored background with the wallpaper since not all connecting clients will have desktop wallpaper enabled.

Comments
Weird. Following the instructions given here, I manage to right-click the desktop. However, when I click OK, the wallpaper doesn't appear.

BTW, I customized the desktop by typing computer name on top right corner. Unfortunately, I can't see it remotely.
# Posted By khengsiong | 11/22/07 11:58 PM
You need to make sure your connecting client allows desktop wallpaper on the remote server, and you may have to disconnect and reconnect to the remote server after setting up everything. I've tried this on three Win2k3 server and it's been smooth sailing, so make sure you follow these instructions exactly. Let me know how it goes.
# Posted By Nat Papovich | 11/26/07 9:51 AM
Nat,
I have enabled the 'Desktop background' option under the Experience Tab. But my Win XP Pro does not have 'Font smoothing' and 'Desktop composition' options. Neither does it have 'Advanced' Tab. Perhaps different versions work in different ways...
# Posted By khengsiong | 11/26/07 6:33 PM
Hm, perhaps. I'm using the "upgraded" version of the RDP client that was pushed out via Windows Update a couple months back. Maybe you could try that one?
# Posted By Nat Papovich | 11/26/07 7:47 PM
Thank You! This post saved me hours of struggling.

Note: I messed around with various file formats and sizes. Tried .png and jpg. Eventually settled on ~100kb .jpg file, which has left me with zero delay as the background is repainted. (The 1MB .png I tested looked no better but produced a visible band of refresh each time a window was closed).
# Posted By Howard Ryb | 1/5/08 11:38 PM
OK, I know why the wallpaper didn't appear in my case (comment on 11/22/07). I didn't login to console, and there was another user logging in. The other user could see the wallpaper but I couldn't.

To make sure that I login to console, I will go to start > run, and enter 'mstsc /console' (no quote).
# Posted By khengsiong | 3/12/08 8:21 PM
Hm, I'm never heard of the /console switch, but I'm glad you figured it out and left a note here.
# Posted By Nat Papovich | 3/13/08 3:02 PM

bottom corner