Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've created a windows service which silently mounts truecrypt volumes via command line. A couple issues have arose however; although the volume mounts correctly it won't show up in windows explorer unless I open truecrypt and manually click "refresh drive letters". Second, I keep randomly getting messages saying that Windows intereactive services has detected a dialog, and if I accept it will show truecrypt in some alternate desktop. What should I do to fix these issues?

share|improve this question

migrated from stackoverflow.com Mar 29 '13 at 12:28

This question came from our site for professional and enthusiast programmers.

    
"if I accept it will show truecrypt in some alternate desktop" Screenshots? –  CountMurphy Mar 28 '13 at 23:48
1  
@CountMurphy When badly written services try to show dialogs, you get this message (it's a Vista and newer feature for security). –  Petesh Mar 28 '13 at 23:55

1 Answer 1

You are running into Session 0 Isolation, where all UI elements from a Windows Service are shown on the "alternate desktop" you came across. The Interactive Services dialog can be disabled, but think it through before doing so.

Are you running your service in a regular user account? And is it the main TrueCrypt window that is coming up?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.