WEM Agent refresh causes Desktop and Taskbar icons to flicker after Registry Value Actions are processed

WEM Agent refresh causes Desktop and Taskbar icons to flicker after Registry Value Actions are processed

book

Article ID: CTX270625

calendar_today

Updated On:

Description

Each time the WEM Agent refreshes the icons on the taskbar and desktop flicker.  

Resolution



If your user is assigned a Registry Value action that begins with the Target Path of Software\Policies, ensure that the "Run Once" checkbox is checked to prevent this action from being reprocessed when the agent refreshes periodically after logon.

If this checkbox is not checked and a user is assigned an action that contains the Target Path of Software\Policies, the user's shell will refresh each time the WEM Agent automatically refreshes.

Problem Cause

Utilizing the WEM Agent Logs located in C:\Users\<Username>, the WEM Agent can be seen refreshing all shell settings, triggering a refresh of the Windows shell. 

This Windows shell refresh is triggered by Registry Entry Actions that contain Software\Policies in their Target Path. These actions are considered Policy Registry Values. If processed, a Policy Registry Value will trigger a ProcessActionRelatedRefresh that refreshes the Windows shell.  

This can be observed in the below example snippet from the WEM Agent Log:
<Time> Event -> VuemRegistryValueExecutor.ProcessPolicyRegistryValue() : Registry Value -> <RegistryAction'sName> (Id:1) -> Processing Policy Registry Value with Action Type 0...
~
<Time> Event -> VuemRegistryValueController.ProcessActionRelatedRefresh() : Registry Entry Processing: Refreshing Shell Settings -> Notify_ShellChange()...

<Windows Shell Refresh occurs>

Registry Actions that do not have Software\Policies in their path are processed as Standard Registry Value actions.  These actions alone do not trigger a shell refresh unless there is also a Policy Registry Value action present.
 
<Time> Event -> VuemRegistryValueExecutor.ProcessStandardRegistryValue() : Registry Value -> <RegistryAction'sName> (Id:2) -> Processing Standard Registry Value with Action Type 0...

<Windows Shell Refresh does not occur>

This article assumes that all Refresh settings in the Agent Options of the WEM Console are disabled.