Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

We have a scheduled task that runs periodically and causes PDFs to be printed. The process is relatively simple and works fine on Windows Server 2003. The task must run whether or not the user is logged in. We're having trouble getting this working on Windows Server 2008 R2.

The task works if I specify that it should run only when the user is logged in. It does not work if I specify that it must run whether or not the user is logged in. Presumably this is because interactive applications simply cannot run from Session 0 in Server 2008. I'm not sure that it's possible to overcome this problem.

So, I'm willing to resort to running the task only when the user is logged in; let's call the user Interactive. I could set the system to automatically log in as Interactive on startup. However, I'd rather not let someone with physical access to the server have such easy access to the system. A perfectly acceptable solution is one that leaves the Interactive user logged in, but their session locked.

Is it possible to cause Windows Server 2008 to create an interactive session for a certain user without actually causing the system to display that desktop to someone with physical access (and who does not have the password)?

share|improve this question
Related: Windows 7: Automatically login and lock – Ƭᴇcʜιᴇ007 Nov 30 '11 at 20:47

Your Answer


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

Browse other questions tagged or ask your own question.