InterceptManagedApps
To configure applications for which the command line must not be modified, the InterceptManagedApps registry setting must be configured in combination with the following:
-
Under Composition > Applications > Settings tab, deselect the Disable process interception for unmanaged shortcuts option.
-
Configure individual managed applications to intercept their own processes if started unmanaged.
Under Composition > Applications, on the Properties > Shortcuts tab of the application, set the If managed shortcut was not used option to Intercept new process and apply configuration.
Create the following string value to prevent Workspace Control from modifying the command line of managed applications.
Key |
|
Value |
InterceptManagedApps |
Type |
REG_SZ |
Data |
Yes |
To exclude specific executables from this behavior, modify the Data field of the string value.
For example:
Data |
Yes|Notepad.exe|winword.exe| |
This excludes the Notepad and WinWord applications from the behavior of InterceptManagedApps. Their command lines are changed when a managed application shortcut is created for these applications in user sessions. The managed shortcut is placed on the desktop, taskbar and/or in the Start Menu. The command line changes to ...pwrgate.exe nn (where nn is the Workspace Control application ID). Microsoft Windows then automatically generates a new AppUserModelID for the application, as it is detected as a new executable.
The AppUserModelID is used for stacking and pinning application shortcut icons on the taskbar and in the Start Menu, generating the list of Recent items in the Start Menu and the Jump Lists. Therefore, the changed command line used by Workspace Control for managed application shortcuts causes some unwanted side effects and issues.