Improve RWW Performance in SBS2008

SBS2008 RWW Has Changed the way RWW works
For one thing There is no Default Connect To Local Drives Option in RWW
Next it Automatically Enables the Background Image During a REMOTE RWW Session
(Which is Stupid IMO)

Below are some notes I’ve found across the web in speeding up RWW Experiance on SBS2008 *Use at your own perial

First thing I’d like to Address is NO Local Hard Drive Access Option in RWW
Let me guess You’d like to see this?

Where you Have the Option to Show Local drives and Ports.

To Enable this.
In Directory
C:\Program Files\Windows Small Business Server\Bin\webapp\Remote
Find tsweb.aspx
First thing make a backup Copy of this file
then open up Notepad in an elevated mode and then make the changes.

For Remote drives find!
MsRdpClient.AdvancedSettings2.RedirectDrives = FALSE
and set it to TRUE

If you want Remote Port Access Find
MsRdpClient.AdvancedSettings2.RedirectPorts = FALSE
And set it to TRUE

There are other things you can change but that will give you Remote Port and Drives.

Next is a way to Speed up RWW since RWW Defaults Allows the Background to display.
a. Again open notepad in elevated mode and open above file
b. Find the line “‘ Performance settings”
c. Insert this line below it
“MsRdpClient.AdvancedSettings2.PerformanceFlags = 111″

What this does: According to http://msdn.microsoft.com/en-us/library/aa381215(VS.85).aspx, you see it will disable Wallpaper, Full-window drag, Menu animations, Themes, Cursor shadow, Cursor blinking. So basically you can also change the value 111 to something else to just disable some of them.

2. Screen size:
Actually we have the logic to limit the TS window resolution to 1600*1200 as maximum. The reason is some low RDP version will not support the size larger than that. If you do want to use full screen size, and you don’t have an low RDP version that will be using on a large resolution monitor (local one) (say using RDP 5.x or 6.0 on a 1920*1080 resolution monitor), then you could do below things to remove the limitation.

Steps:
a. Open notepad in elevated mode and open file (C:\Program Files\Windows Small Business Server\Bin\webapp\Remote\tsweb.aspx)
b. Find below content
if ( screen.width > 1600 ) then
sresWidth = 1600
else
sresWidth = screen.width
end if
if ( screen.height > 1200 ) then
sresHeight = 1200
else
sresHeight = screen.height
end if
c. replace them to
sresWidth = screen.width
sresHeight = screen.height

Note: after change this, if you do remote from RDP 5.x on a 1920*1080 resolution monitor, then most likely it will be failed with errors.
And the RDP 5.x are shipping with Windows XP SP2, RDP 6.0 are shipping with Vista RTM

The edited ASP Can be found here
http://www.sbits.biz/rwwfix/

(This only includes the Drive, ports and Background mods does not contain the screen resolution mod.) Use at own risk! :)