Wednesday, May 18, 2011

Optimize my experience for a LAN network when connecting to the computer or application.

If you have upgraded your Windows Server 2008 R2 RD WebAccess server to Service Pack 1 (SP1) and open up the RD WebAccess page after that, you’ll notice a very small change on the RemoteApp Programs page. Suddenly there now is an option called “Optimize my experience for a LAN network when connecting to the computer or application”.

So what does that option do? A quick search on Bing only shows one result. A search with some other search engine (that starts with a G) doesn’t show more either.
So why is this option suddenly there and what does it do?

During the installation of SP1, the web.config file inside c:\windows\web\rdweb\pages is also being updated. The following lines have been added:

<add key="ShowOptimizeExperience" value="true" />
<add key="OptimizeExperienceState" value="true" />
You can use ShowOptimizeExperience to either show the option in RD WebAccess or not and you can use OptimizeExperienceState to force it being on or off.
So what is it used for? RemoteFX!

As RemoteFX is optimized for LAN connections, users must request a LAN connection to actually experience RemoteFX. That’s what the option is there for. It’s basically the same as custom RDP setting “connection type:i:6”.

8 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Hi Freek,
    I tried to use add key="ShowOptimizeExperience" value="false" from c:\windows\web\rdweb\pages\web.config to hide that box, but it doesnt seem to be working.
    Any ideas?
    Regards,
    David

    ReplyDelete
  3. Hi David,

    Thank you for your reply. That's strange. When I change the ShowOptimizeExperience to false, save the web.config and hit F5 in my browser the checkbox hides immediately. Although it should not be necessary, did you try to close the browser, login again of maybe even perform an IISreset?

    Kind regards,
    Freek Berson

    ReplyDelete
  4. Blédi,

    Did you find the answer? I'm also having the issue.

    Thanks,
    Rob

    ReplyDelete
  5. I have SharePoint configured to use the TSPortalWebPart.webpart, and would like to hide the "Optimize my experience for a LAN network when connecting to the computer or application." option. The posted solution doesn't seem to work.

    Any help would be appreciated!

    Thanks,
    Rob

    ReplyDelete
  6. Hi Rob,

    Did you see this thread on TechNet, it seems to describe what you want to do. Or are you the ROB-HPC user in that thread as well?

    Kind regards,
    Freek Berson

    ReplyDelete
  7. Hi Freek,

    I am Rob-HPC, and was asking how to do it. The guy who posted there, didn't really give details, and if it's what I think he's suggesting, it's kind of messy to hack up the WebPart to make that go away. I should just be able to edit the web.config file, but I don't have those entries, and in fact the modify date for my files are still 2010 for that whole directory.

    Any thoughts?

    Thanks,
    Rob

    ReplyDelete
  8. Hi Rob,

    If the date of the files haven't changed and you don't have the lines in the web.config the only thing I can think of is that something went wrong during the update to SP1. But that would be hard to track down I'm afraid. Just as a double check, you did have the RD WebAccess role installed prior to installing SP1?

    Kind regards,
    Freek Berson

    ReplyDelete