Article ID: 973366 - Last Review: July 7, 2009 - Revision: 1.0

Recommended configuration settings for Application Virtualization 4.5 Terminal Server clients

On This Page

Expand all | Collapse all
Source: Microsoft Support

RAPID PUBLISHING

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

Symptom

This article contains recommendations for the configuration of Terminal Servers running the Application Virtualization 4.5 Client.

More Information

Anti-virus/malware related configuration recommendations

  1. Make sure you setup Anti-virus/Malware exclusions for the following SoftGrid/App-v files and folders:

    %userprofile%\AppData\Local\SoftGrid Client
    %userprofile%\AppData\Roaming\SoftGrid Client
    C:\Users\Public\Documents\SoftGrid Client, or wherever user profiles or appdata may be redirected to.

    The App-V Terminal Server client may require custom settings depending on whether you have redirected user profiles (%userprofile%) and Application Data (%appdata%) folders. Because the App-V user cache can became very large in a Citrix/Terminal Server environment, TS Admins sometimes redirect the %appdata% to another location this is controlled either by the following registry key or the General Tab of the App-V client on localhost Properties page:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\Client\Configuration\UserDataDirectory
  2. Exclude the Q: drive even though this will be unavailable to the Antivirus scanner (attempted access will generate an Access Denied error).
  3. If you are running McAfee Antivirus, please see if you have the registry key below. If so then Buffer Overflow Protection is enabled. If Buffer Overflow Protection (BOP) is enabled this could potentially cause issue. Both McAfee & Symantec have this feature.

    HKEY_LOCAL_MACHINE\SOFTWARE\McAfee\VSCore\On Access Scanner\BehaviourBlocking\BOPEnabled

    Please refer to the following blog post for specific information regarding this issue:

    http://blogs.technet.com/softgrid/archive/2008/04/09/some-softgrid-enabled-office-applications-may-not-run-if-mcafee-virusscan-8-5i-is-installed.aspx (http://blogs.technet.com/softgrid/archive/2008/04/09/some-softgrid-enabled-office-applications-may-not-run-if-mcafee-virusscan-8-5i-is-installed.aspx)

    For more information, refer to the App-V Security Best Practices guide (http://download.microsoft.com/download/f/7/8/f784a197-73be-48ff-83da-4102c05a6d44/AppV_Security_Best_Practices.docx (http://download.microsoft.com/download/f/7/8/f784a197-73be-48ff-83da-4102c05a6d44/AppV_Security_Best_Practices.docx) )

General Terminal Server Recommendations when running the App-V client

  1. Pre-cache all applications 100%.
  2. Implement a reboot cycle of the Terminal Servers. The right reboot interval will be different for different environments. For example, a two week reboot cycle may work for one situation whereas another site needs to reboot once a week. The concern is around Paged Pool memory and the potential to exhaust system resources over time.

    See the Advanced Windows Debugging and Troubleshooting blog at the following Web MSDN Web site for a detailed walkthrough on identifying pool memory usage:

    http://blogs.msdn.com/ntdebugging/archive/2006/12/18/Understanding-Pool-Consumption-and-Event-ID_3A00_--2020-or-2019.aspx (http://blogs.msdn.com/ntdebugging/archive/2006/12/18/Understanding-Pool-Consumption-and-Event-ID_3A00_--2020-or-2019.aspx)
  3. Implement UPHClean on the Terminal servers.
  4. Implement the following registry changes and reboot the servers (Page Pool Memory settings)

    System Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control
    Value Name: RegistrySizeLimit
    Data Type: REG_DWORD
    Value Data: FFFFFFFF

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory
    Management
    Value name: PagedPoolSize
    Data type: REG_DWORD
    Radix: Hex
    Value data: FFFFFFFF

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory
    Management
    Value name: PoolUsageMaximum
    Data type: REG_DWORD
    Radix: Decimal
    Value data: 60

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
    Management
    Sessionviewsize Reg_Dword = 60 Decimal
    SessionPoolSize Reg_Dword = 30 Decimal

    Please refer to the following for additional information:

    http://blogs.technet.com/softgrid/archive/2008/05/12/high-pool-memory-usage-on-ts-based-softgrid-clients-under-heavy-load.aspx (http://blogs.technet.com/softgrid/archive/2008/05/12/high-pool-memory-usage-on-ts-based-softgrid-clients-under-heavy-load.aspx)
  5. Verify that none of the App-V Application packages have following Virtual services if so remove them or set them to disabled.
    • .Net Runtime Optimization Service v2.0
    • Machine Debug Manager

DISCLAIMER

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

APPLIES TO
  • Microsoft Application Virtualization 4.5 for Terminal Services
  • Microsoft Application Virtualization 4.5 for Windows Desktops
Keywords: 
kbrapidpub kbnomt KB973366