WFShell Window Error during logoff – Citrix Xenapp

Recently in a xenapp implementation, ServerDesktop was published to the users. During logoff we were getting error from WFShellWindow WFShell.exe. Below is the snap,                                                                                                                                        We tried different things but the  solution was so simple that we wouldn’t notice. Starting “Windows Error Reporting” Serivce fixed the issue, also i changed the startup type to Automatic to ensure it starts on the consecutive restarts.                 Hope this helps!!