6 Replies Latest reply on Jul 29, 2019 3:26 PM by Rain27

    CryptUnprotectData Error

    snakethejake Lurker

      I am attempting to package an application that appears to encrypt a portion of its data during install using the Windows functions CryptProtectData CryptUnprotectData during install.


      Packaging appears successfull and I can run the package on the same machine, but once I run the package on a second machine it throws the following error:


      Error occured: -2146233088 An unknown error occured in the licensing module.  CryptUnprotectData returned false with the following win32Error Error -2146893813: Key not valid for use in specified state.



      Anyone dealt with this issue before?