When installing the Data Loss Prevention (DLP) endpoint agent on a Windows 10 device, the following error appears:
The install.log shows the following errors:
DecryptFile(): 'C:\Users\<username>\AppData\Local\Temp\cg.ead': failed, Warning: File not found, ErrorCode: 2
MSI (s) (50:18) [09:05:35:830]: Hello, I'm your 64bit Elevated Non-remapped custom action server.
action: MoveFile failed
from: C:\Users\<username>\AppData\Local\Temp\cg.ead
to: C:\Program Files\Manufacturer\Endpoint Agent\.\cg.ead : The system cannot find the file specified : 2 -- result:
MSI (s) (50!48) [09:05:52:880]: Product: AgentInstall-x64_15_1 -- action: MoveFile failed
from: C:\Users\<username>\AppData\Local\Temp\cg.ead
to: C:\Program Files\Manufacturer\Endpoint Agent\.\cg.ead : The system cannot find the file specified : 2 -- result:
Windows 10 1909
Data Loss Prevention 15.5 MP2
Windows Defender blocked the file move being performed by the DLP agent.
Disable Window Defender's Real-time protection during the agent install.
After the agent installs successfully, verify the DLP Endpoint Agent exclusions have been applied to the Exclusion list in Windows Defender.
Reference Article 160045