Customizing the Terminal Server Advanced Client to launch in a perfectly sized window is very easy to do.
If you prefer to launch the session in a properly sized window, instead of embedded mode, you can make the following changes to the connect.asp and default.htm files.
Default.htm
Remove the following line from the Default.htm
Window.Navigate(conUrl)
And replace it with the following lines just before the end sub line.
winparm = "width=" & resWidth + ",height=" & resHeight
window.open conUrl, "tswin", winparm
Connect.asp Add the body tag to look like the following.
body marginheight="0" leftmargin="0" topmargin="0"
Change the following line
Window.Navigate("default.htm")
change to
Window.close