Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Recommended configuration settings for Application Virtualization 4.5 Terminal Server clients


View products that this article applies to.

Source: Microsoft Support

↑ Back to the top


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.

↑ Back to the top


Symptom

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

↑ Back to the top


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

    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/APP-V/AppV_Security_Best_Practices.docx)

General Terminal Server Recommendations when running the App-V client

  1. Pre-cache all applications 100%.
  2. If you use Windows Server 2003 or older, 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.

    Note Windows Server 2008 manages memory dynamically.

    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
  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

    UPDATE: This RegistrySizeLimit setting should not be set for Windows 2003 servers and above, if this key exists on a Windows 2003 server please set the value to zero or delete the RegistrySizeLimit key altogether. Only set this value for Windows 2000 servers and below.

    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

    UPDATE: Start with a PoolUsageMaximum setting of 60 decimal and lower this value by increments of 10 until an optimum value is determined by performance improvement. It is recommended that PoolUsageMaximum be set to a value no lower than 30 decimal. An acceptable range is between 60-30 decimal.

    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
  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

↑ Back to the top


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.

↑ Back to the top


Keywords: kbnoloc, kbrapidpub, kbnomt, kb

↑ Back to the top

Article Info
Article ID : 973366
Revision : 3
Created on : 4/17/2018
Published on : 4/19/2018
Exists online : False
Views : 465