Receiver 4.4 Selfservice.exe -terminate Does Not Disconnect Sessions

Receiver 4.4 Selfservice.exe -terminate Does Not Disconnect Sessions

book

Article ID: CTX220949

calendar_today

Updated On:

Description

Citrix receiver 4.4. Selfservice.exe -terminate. When running this command line there is no response of the command other commands appear to work as expected. CTX200337 - Driving the Citrix Receiver Self-Service Plug-in Programmatically .

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Resolution

When the -terminate command is passed to SelfService.exe, our ExpandCommandLineMacros method translates it to the equivalent multi-command line options -disconnectapps and -clearAuthManagerState: 

In other words: -terminate == -disconnectapps + -clearAuthManagerState 

You can either toggle EnableFastConnectTransitionAPI back to its default value of false, or simply execute SelfService.exe -disconnectapps & SelfService.exe -clearAuthManagerState: 

[EnableFastConnectTransitionAPI can be found under the following locations: 

HKLM\SOFTWARE\{Wow6432Node}\Citrix\Dazzle\ 
HKLM\SOFTWARE\{Wow6432Node}\Policies\Citrix\Dazzle\ 

The expanded form of our -terminate command would look like this: 

SelfService.exe -disconnectapps 
SelfService.exe -clearAuthManagerState 


Problem Cause

This behavior is by design and expected, as EnableFastConnectTransitionAPI is set to true in the user's environment. This configuration effectively disables SelfService.exe's -terminate command.

Issue/Introduction

The article describes a by design behavior regarding terminating the process selfservice.exe