Error: "MoveFile failed" when you install the DLP agent on Windows 10
search cancel

Error: "MoveFile failed" when you install the DLP agent on Windows 10

book

Article ID: 203301

calendar_today

Updated On:

Products

Data Loss Prevention Data Loss Prevention Endpoint Prevent

Issue/Introduction

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: 

Environment

Windows 10 1909
Data Loss Prevention 15.5 MP2

Cause

Windows Defender blocked the file move being performed by the DLP agent. 

Resolution

Disable Window Defender's Real-time protection during the agent install.


Additional Information

After the agent installs successfully, verify the DLP Endpoint Agent exclusions have been applied to the Exclusion list in Windows Defender.
Reference Article 160045