'Could not locate registry location for deleting profiles' during an EV Collection, causing the Job to fail with 'deleting mail file and rewriting' in the Status log.

book

Article ID: 100031752

calendar_today

Updated On:

Description

Error Message

<< CwMsgToPst >>
WARN  root CWMsgToPst - Could not locate registry location for deleting profiles under HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles
ERROR root CWMsgToPst - OpenMsgStore failed for profile: EsaMailFileWriter7_ Error:0x80040401 MAPI_E_TIMEOUT
ERROR MailFileWriter CWMsgToPst - 101 : MailFileWriterException code while trying to open the PST file


<< Icp-remoteicpjob >>
WARN  [common.util.MonitoredCmdExecutor] (running-thpool(ExternalCommand).0.13:)
java.lang.NullPointerException
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1012)
    at java.lang.Runtime.exec(Runtime.java:620)
    at com.teneo.esa.common.util.MonitoredCmdExecutor.process(MonitoredCmdExecutor.java:107)
    at com.teneo.esa.common.util.MonitoredCmdExecutor.call(MonitoredCmdExecutor.java:83)
    at com.teneo.esa.common.ThreadPool.Task.cwRun(Task.java:288)
    at com.teneo.esa.common.util.CWRunnableImpl.run(CWRunnableImpl.java:45)
    at com.teneo.esa.common.util.CWThread.run(CWThread.java:88)
INFO  [collection.ev.MailWriterManagerBase] (pool-14-thread-1:) Failed to kill D:/CW/V811\exe\pst\CWMsgToPst.exe with ProcessID: null
StdErr:
StdOut:null
Exit code: <MINUS_ONE> (-1)



<< Job Status >>
Error while writing mail file -0.29.6.2-1.pst, deleting mail file and rewriting



Cause

During an EV or Exchange Collection, a MAPI Profile is created and deleted.
Without the registry entries for the EsaApplicationService account "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles", the program will not attempt to delete the profile.  Eventually, the allowable quantity of MAPI profiles will be reached and no more profiles can be created.

Resolution

Note:  This solution only applies to eDiscovery Platform versions running MS-Office 2013.

Warning: Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

1.
Logon to the eDP / Clearwell appliance as the EsaApplicationService account and manually create the missing registry entries
  a. Open the registry editor:  Start > Run > regedit
  b. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\
  c. Right click on CurrentVersion and select New > Key
  d. Type "Windows Messaging Subsystem"  > Enter
  e. Right click on "Windows Messaging Subsystem" and select New > Key
  f. Type "Profiles" > Enter

2. While logged in as the EsaApplicationService account, delete the existing EsaMailFileWriter7_ profiles
  a. Open the registry editor:  Start > Run > regedit
  b. Navigate to HKey_Current_User\Software\Microsoft\Office\15.0\Outlook\Profiles
  c. Right click and delete each of the EsaMailFileWriter7_ profiles
 

Issue/Introduction

During an Enterprise Vault (EV) or Exchange Collection, the collection fails during the writing of the PSTs.