I know this is an old post, but I ran into the same issue whilst mapping drives in a provisioning template.
Not sure of the exact cause at the moment. In order to troubleshoot I wrote a batch file with the "Net use" command
net use f: %ProfileStore% /user:%DomainADM% %DomainADMpw%
%DomainADMpw% being sensitive data and when I checked the Injected script it had written out my AES key followed by what is likely my encrypted password.
Checked the Client certificates and this device is not listed when I check Unapproved, Approved, Blocked or Created by Provisioning.
Tried reinstalling agent and got the same deal.
Checked the Inventory record for this device and LANDESK Management > Client Certificate-based security > Authentication Status
Authentication required = 1
Authentication succeeded = 0
Certificate validation result= Certificate does not match
Certificate validation result code= 4294967293
Last authentication attempt= 2018-07-17 1:36:21 PM