Office 365 version of Outlook does not restart automatically after installing Outlook updates if EV add-in is enabled in client machine
Problem
The O365 version of Outlook does not restart automatically after Outlook updates are installed if the Enterprise Vault add-in is enabled.
Error Message
When Outlook doesn't get restarted, the error Event below gets logged into the event viewer.
Source: Microsoft-Windows-RestartManager
Event ID: 10006
Description: Application or service 'Microsoft Outlook' could not be shut down.
During the same time, the EV Add-in client trace errors logged below.
08/01/2025 12:20:58.246[9772][L]: CDesktop::DCCShutdown: 0x00
08/01/2025 12:20:58.246[9772][L]: ~CDesktop::DCCShutdown: 0x8001010D
08/01/2025 12:20:58.247[9772][L]: CThreadManager::WaitForThreadsToExit
08/01/2025 12:20:58.247[9772][M]: Waiting for threads to exit
08/01/2025 12:21:58.260[9772][H]: 3 threads did not exit within timeout period
08/01/2025 12:21:58.261[9772][L]: ~CThreadManager::WaitForThreadsToExit
08/01/2025 12:21:58.262[9772][L]: CDesktop::DCCShutdown: 0x0
Cause
The above errors indicate that EV threads have become un-responsive and are not closing down within the Add-in default shutdown timeout of 60 secs. Windows Restart Manager is the windows component responsible for restarting the application after updates are installed. Windows Restart Manager’s default shut down time is less than the default shut down time of EV add-in, which has resulted in EV Add-in still waiting for its threads to close and causing Outlook client to not shut down tin given time.
Solution
Warning: Incorrect use of the Windows registry editor may prevent the operating system from functioning properly. Great care should be taken when making changes to a Windows registry. Registry modifications should only be carried-out by persons experienced in the use of the registry editor application. It is recommended that a complete backup of the registry and workstation be made prior to making any registry changes.
We have introduced a new DWORD registry key to configure the EV Add-in’s shutdown timeout value between the range 1 sec to 60 sec, default being 60 sec.
[HKEY_CURRENT_USER\SOFTWARE\KVS\Enterprise Vault\Client]
"ThreadTimeout"=dword:00000001
Note: This registry key can be applied from EV 15.2 and later versions. In previous versions, the shutdown timeout of the add-in was not configurable and set to 60 seconds.