Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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
@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

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

You must log in to answer this question.