Suppress UAC PROMPT deploying TrueCrypt


I have repackaged TrueCrypt 7.1a. My msi works correctly without any issues. However when i launch the the shortcut, UAC pops up and i am not able to suppress it irrespective of any shim i use. I have used run as admin, invoker, force admin....

Has anyone faced this issue?

1 Comment   [ + ] Show comment
  • i have the service up and running. before launchin i restart my machine but pop still shows up. - shekara 7 years ago
    • and do you have the registry keys in HLKM\Microsoft\Windows\CurrentVersion\Uninstall\truecrypt in your msi? - Nicole 7 years ago

Answers (2)

Posted by: jagadeish 7 years ago
Red Belt

There will be a kernal driver service created by this applicaiton in msinfo32->Software Environment->System Drivers

Ensure that the service state is "Running"

if it is in Running state already then restart the machine and launch the shortcut

Posted by: Nicole 7 years ago
Senior Yellow Belt


I'm having the same problem....

It seems to be important that the uninstall-registrykey is there, if not, Truecrypt thinks it's running in portable mode (HLKM\Microsoft\Windows\CurrentVersion\Uninstall\truecrypt). I have that key in my msi, but still this UAC pops up.

However, there is a kernel-service being installed. If this one is not running, the UAC shows up. I'm creating the service with a CustomAction, "sc.exe create truecrypt binPath= System32\drivers\truecrypt.sys type= kernel start= system error= normal tag= no DisplayName= truecrypt".

....now I wanted to tell you from the problems I had to start the service, but now it seems to work :)

So probably you just net to create and start this service. Delete any service related registry keys in your msi (HKLM\Microsoft\Windows\CurrentVersion\services\truecrypt).

Let me know if it works like this.

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ