5

I need to run a service interactively on my computer.
(I am already aware of the implications.)

How do I enable a service (running in session 0) to run interact with the current desktop in Windows 7?

2 Answers 2

5

As of Windows Vista, there are no directly interactive services. "Allow service to interact with desktop" is basically just a legacy option, although if you use it UI0Detect should pop up and allow you to switch to a special desktop to interact with the service.

This article describes some options. If you have further questions, I suggest you ask at Stack Overflow as this is a programming problem.

2
  • Note that as of Windows 7, the UI0Detect service is not started by default. If you need to access legacy interactive services, you may wish to change the configuration for UI0Detect to start automatically. Mar 25, 2014 at 0:48
  • 1
    ...and as of Windows 10 version 1803, the Interactive Services Detection Service (ui0detect) service no longer exists: coretechnologies.com/blog/windows-services/…
    – Kim
    Aug 21, 2020 at 12:24
1

As long as it is designed correctly, go under services.msc and check the box:

enter image description here

10
  • It says "Please enter a valid password". Also, wouldn't the privileges be pretty limited here?
    – user541686
    Apr 22, 2012 at 2:47
  • Depends on what you are doing. . . What are you trying to do anyways? and what is the service?
    – surfasb
    Apr 22, 2012 at 8:23
  • It's a program I made for my own use. It needs system privileges, but like I said, that's a secondary worry. The primary worry is that this doesn't even work, since it's asking me for a password.
    – user541686
    Apr 22, 2012 at 9:23
  • Services.msc is asking for a password? Select Local System account. Sorry, that SS is confusing I guess.
    – surfasb
    Apr 22, 2012 at 18:06
  • 2
    "Allow service to interact with desktop" is a legacy option, as of Windows Vista it no longer works. Apr 23, 2012 at 5:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.