Skip to content

Suspend Processes on Session Disconnection

Suspending Processes in Disconnected Sessions

HyWorks Session Host Server and HyWorks DVM Agent (v3.3-R2 or later) can be configured to suspend process in disconnected sessions. The feature can help in freeing up resources (CPU) in disconnected sessions and thus, providing resources (CPU) to rest of the users on system.

How does it work

  • On session disconnection, session host server/ DVM agent will suspend processes
  • On session reconnection, suspended processes will be resumed

Configurations to Suspend Processes on Session Disconnection

To enable process suspending:

  1. Open registry editor with administrator privileges
  2. Update registry settings, as mentioned below:

    • Registry Location: HKEY_LOCAL_MACHINE\SOFTWARE\Accops\DVMAgent\SUSPEND PROCESS
    • Registry Name/ Type: Enable (String)
    • Registry Value: Set as True to enable process suspending/ Set as False to disable process suspending
  3. Save registry settings

  4. Open services with administrator privileges
  5. Locate Accops HyWorks Desktop Agent service and restart it

Advance Configurations

Following additional registry configurations are available, which can be used to enable process suspending for specific users/ processes only:

exclude_users: To exclude suspension of processes for a particular user. Provide list of users in comma separated format, for example: user1.demo,user2.demo,user3.demo. Use this option to enable process suspension for all users except few.

exclude_processes : Provided processes will not get suspended. Provide list of processes in command separate format, for example: notepad,write,mspaint. Use this option to enable process suspension for all processes except few.

Note

  • Some critical system processes are already added into exclude processes list and should not be removed for smooth operations.

include_users: Suspend process will work only for provided list of users. All other users will be exempted. Use this option to enable process suspension for specific users only.

include_processes : Only provided processes will get suspended, all other processes will be exempted. Use this option to enable process suspension for specific processes only.

Important

  • For any registry changes, DVM agent service needs to be restarted for changes to take effect.