Skip to main content

Data Protection Advisor 19.7 Installation and Administration Guide

PDF

Create and register DPA message source in Windows OS

Configure an alert to write the Event Data to the Windows message field in the correct form in Windows OS.

You must have Visual Studio installed on your system.

If you have a DPA analysis policy configured to generate an event log for a certain event, configure DPA to populate the error under the Windows <message> section.
  1. Open the Visual Studio command prompt.
  2. Run the commands:
    mc.exe dpa.mc
    rc.exe /r dpa.rc
    link -dll -noentry -out:dpa_msgfile.dll dpa.res /MACHINE:X64
    
    The dpa_msgfile.dll file is created. The dpa.mc has the following contents:
    MessageIdTypedef=DWORD
    
    MessageId=4096
    Language=English
    %1
    .
  3. Create the folder C:\Program Files\EMC\DPA\services\dll
    You can place the folder in any location.
  4. Place the dpa_msgfile.dll file within C:\Program Files\EMC\DPA\services\dll.
  5. Create the file register_msgfile.reg with the following contents:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\DPA]
    "TypesSupported"=dword:00000007
    "CategoryCount"=dword:00000006
    "CategoryMessageFile"="C:\\Program Files\\EMC\\DPA\\services\\dll\\dpa_msgfile.dll"
    "EventMessageFile"="C:\\Program Files\\EMC\\DPA\\services\\dll\\dpa_msgfile.dll"
    

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\