Microsoft known issue User Input Delay counter may cause handle leaks in ControlUp Agent
    • Dark
      Light
    • PDF

    Microsoft known issue User Input Delay counter may cause handle leaks in ControlUp Agent

    • Dark
      Light
    • PDF

    Article Summary

    If a machine on which the ControlUp agent is deployed is running Windows 10 1809 or higher or Windows Server 2019 where the User Input Delay feature is enabled by default, you may encounter the list of leaked handles growing too large. This could happen if the machine is up for a long time and/or has many user sessions. This leak could create unexpected issues on the OS.

    The root cause of this issue is a Microsoft handle leak associated with the User/Session Input Delay performance counter. We at ControlUp have an open case with Microsoft Support and have received the following fixes from Microsoft per these versions:

    For each of these fixes, be sure to read the section in each article on How to get this update.

    Workaround:

    If you have a different Microsoft version or cannot implement the fix for any reason, follow this procedure to prevent the issue. Be aware that by implementing these workarounds, you are disabling these features.

    Disable the User Input Delay feature using the registry keys on all the machines where the ControlUp agent is deployed. You can use the Controllers feature in the ControlUp Console or however you update registry keys on multiple machines using the same values detailed below.

    To add the registry keys using the Controllers tab of the ControlUp Console :

    1. In the organizational tree of the Console, select the affected machines.
    2. In the grid, right-click and select Manage Registry . The Controllers tab opens.
    3. Under Registry Keys, select HKEY_LOCAL_MACHINE > SOFTWARE > Smart-X > ControlUp > Agent > ExclusionRules.
    4. Right-click ExclusionRules and select Create Value .
    5. In the Create Value pop-up:
      Enter Value Name :UserInputDelayProcess
      Select Value Type : REG_DWORD
      Assign Value Data : 1
    6. Repeat creating the exclusion rule value for the following:
      Enter Value Name :UserInputDelaySession
      Select Value Type : REG_DWORD
      Assign Value Data : 1
    7. Open the Targets area of the pop-up to see on which machines these registry key values are added.
    8. After you've reviewed and confirmed the list of machines in the Hives area, click OK.
      360015603458UserInputDelayRegKey.jpg
    9. The ControlUp Agent service must be restarted on all the machines where these registry keys were added.
    10. To verify that the registry keys were added and that the feature is disabled, you can:
    • Access the regedit of one of the machines:
      360015535877UserInputDelayRegedit.png
    • Review the Processes view in the ControlUp Console for the relevant machines and verify the User Input Delay column shows N/A for all processes:
      360015603478UserInputDelayProcessesView.png

    Was this article helpful?