Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Slow login on Citrix environment after installing OfficeScan (OSCE)

    • Updated:
    • 21 Nov 2016
    • Product/Version:
    • OfficeScan 10.6
    • OfficeScan 11.0
    • OfficeScan XG.All
    • Platform:
    • N/A N/A
    • Windows 10
    • Windows 10 32-bit
    • Windows 10 64-bit
    • Windows 2003 Datacenter 64-bit
    • Windows 2003 Enterprise
    • Windows 2003 Enterprise 64-bit
    • Windows 2003 Server R2
    • Windows 2003 Standard
    • Windows 2003 Standard 64-bit
    • Windows 2008 32-Bit
    • Windows 2008 64-Bit
    • Windows 2008 Datacenter
    • Windows 2008 Datacenter 64-bit
    • Windows 2008 Enterprise
    • Windows 2008 Enterprise 64-bit
    • Windows 2008 Server Core
    • Windows 2008 Server R2
    • Windows 2008 Server R2 Enterprise
    • Windows 2008 Standard
    • Windows 2008 Standard 64-bit
    • Windows 2008 Web Server Edition
    • Windows 2008 Web Server Edition 64-bit
    • Windows 2012 Datacenter
    • Windows 2012 Datacenter R2
    • Windows 2012 Enterprise
    • Windows 2012 Enterprise R2
    • Windows 2012 Server Essential R2
    • Windows 2012 Server Essentials
    • Windows 2012 Server R2
    • Windows 2012 Standard
    • Windows 2012 Standard R2
    • Windows 2012 Web Server Edition
    • Windows 2016 Server Core
    • Windows 2016 Server Datacenter
    • Windows 2016 Server Standard
    • Windows 7 32-Bit
    • Windows 7 64-Bit
    • Windows 8 32-Bit
    • Windows 8 64-Bit
    • Windows 8.1 32-Bit
    • Windows 8.1 64-Bit
    • Windows Vista 32-bit
    • Windows Vista 64-bit
    • Windows XP Home
    • Windows XP Professional
    • Windows XP Professional 64-bit
Summary

There is a slowdown in user login after upgrading your Citrix environment with OfficeScan installed.

Details
Public

In some environments like a Citrix server, there are a lot of processes launching as the system starts up. Users may also see issues when opening their workspace since they are using the resources on the Citrix server to run their virtual environment.

The following registries can be used on the agent to troubleshoot the issue. These registries will allow a delay on the startup procedure of OSCE until the system has launched successfully. This avoids deadlock situations during login.

    • 32-bit OS - HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\PC-cillinNTCorp\CurrentVersion\Misc
    • 64-bit OS - HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\TrendMicro\PC-cillinNTCorp\CurrentVersion\Misc

      EnableProcessScanForStartUp=0
      EnableProcessScanWhenScan=0

      Process Image Scan enumerates all system processes and associated files and scans for integrity. This can create a performance issue during startup because the client is trying to access the files as they are being scanned.

    • 32-bit OS - HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\PC-cillinNTCorp\CurrentVersion\RealTimeScan Configuration
    • 64-bit OS - HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\TrendMicro\PC-cillinNTCorp\CurrentVersion\RealTimeScan Configuration
      DWORD:NTRtScanInitSleep=18000

      This pause the launch of Reatimescan by the indicated amount of milliseconds to alleviate scanning conflicts on necessary system files.

  1. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TmFilter\Parameters
    DWORD:DisableCtProcCheck=1

    This disables process ID comparison in close table entries to prevent close table entries increasing. This won't affect normal malware scanning.

These settings can be changed in the ofcscan.ini file on the OfficeScan Server to be sent out globally. The default location of the ofcscan.ini file on the OfficeScan Server is C:\Program Files (x86)\Trend Micro\OfficeScan\PCCSRV\ofcscan.ini.

  1. EnableProcessScanForStartUp and EnableProcessScanWhenScan

    [Global Setting]
    EnableProcessScanForStartUp={x}
    EnableProcessScanWhenScan={y}

    Where "x":

    "0" - Disables the "Process Image File Scan" function when OfficeScan clients start
    "1" - Enables the "Process Image File Scan" function when OfficeScan clients start (default)

    Where "y":

    "0" - Disables the "Process Image File Scan" function when OfficeScan clients perform manual or scheduled scans
    "1" - Enables the "Process Image File Scan" function when OfficeScan clients perform manual or scheduled scans (default)

  2. NTRtScanInitSleep

    Under the "[Global Setting]" section, add the following key and assign the appropriate value.

    [Global Setting]
    NTRtScanInitSleep=millisecond

    For example:
    NTRtScanInitSleep=60000

  3. TmfilterDisableCtProcCheck

    [Global Setting]
    TmfilterDisableCtProcCheck=1

Premium
Internal
Rating:
Category:
Troubleshoot
Solution Id:
1095115
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.


Need More Help?

Create a technical support case if you need further support.