Error: Micorsoft.NET framework error when attempting to export the DPAPI Key

Error: Micorsoft.NET framework error when attempting to export the DPAPI Key

101
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:52 PM


Symptom


Symptom:

When attempting to run the DPAPI_KeyUtility, a pop-up window displays a Microsoft.Net Framework error:

Application attempted to perform an operation not allowed by the security policy

Note: This will occur even if the user you are logged in as a member of the local Administrator's group, e.g. the user you are installing Director as.

Cause:

Attempting to export the DPAPI key as a user other than Administrator or a user that doesn't have access to the Microsoft.Net Framework application.

Solution:

Right click on DPAPI_KeyUtility.exe and select Run as Administrator. Enter the credentials for the local administrator if prompted. The key should then be exported correctly.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000nolCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail