Windows 8 Interactive Services Detection “Error 1: Incorrect Function”


When an application or service displays an interactive message in session 0, Windows 7 displays a message to inform you about this application. You can use this feature to switch to session 0 and have a look which message is waiting:

image

The process responsible for this detection is UI0Detection.exe and controlled by a service called “Interactive Services Detection”

In Windows 8 this service now has been set to Manual and stopped by default (as opposed to Running under Windows 7). When you try to start this service in Windows 8 you will get the following message: “Error 1: Incorrect Function”

image

In order to get this service to run you will have to adjust a registry key:

Hive: HKLM
Path: SYSTEM\CurrentControlSet\Control\Windows
DWORD: NoInteractiveServices

Change value “1” to “0”

image

Start the Interactive Detection Service by services.msc or commandline using “net start ui0detect”

If you want to force a (test) message in session 0, get psexec.exe from Sysinternals and start it using the following parameters:

psexec -si 0 c:\windows\system32\calc.exe

This will start the Windows Calculator with System permissions in Session 0. This mechanism can also be used to troubleshoot logon/logoff issues by starting procmon or other troubleshooting tool in Session 0 which will survive a logoff.


Comments (23)

  1. Anonymous says:

    great! Thanks

  2. Melanie5 says:

    Thanks, just what I needed to know.

  3. Zack Shahin says:

    Concise answer, thanks

  4. Graham says:

    Thanks for taking the time to post this information, just what I needed.

  5. adam says:

    It’s helped me a lot! Thanks u r the best! ^^

  6. andreas says:

    Great work. I did a lot of research and you finally helped me! Thank you!

  7. Cristian says:

    thanks a lot, It made me crazy…

  8. Jordan says:

    Thanks for the help!

    – Tsunami Solutions

  9. Chris James says:

    Thanks for that – Just what I needed to know to setup a Dropbox service.

  10. sumanth says:

    Thank you… it worked!!!

  11. Bob Hyatt says:

    clear reply, refreshing to see…thanks

  12. Anonymous says:

    My role has previously primarily focused on Microsoft Intune, nowadays it’s more towards our whole Enterprise

  13. james says:

    Works thx

  14. David says:

    Perfect!

  15. Ranjit K Mohapatra says:

    Great…This works perfectly

  16. ANGIE says:

    Why are you answering questions about 8.1 with 8 and 7??????????? How hard is this?

  17. V says:

    Thanks!! Got this info at the right time!!

  18. Rizwan says:

    Thanks. Exactly get what i need.

  19. girish says:

    Very precise instructions. It worked very well

  20. Aricio says:

    very good!!!

  21. Jade says:

    The service started successfully. Thank you!

  22. Rainer says:

    Hi, thanks for this advice. I managed to get this service up and running using the registry modification.
    But there is a serious bug in Win10 in combination with that service.
    When I get notified that a service requires input and switch to the “Session 0” I cannot enter something in this desktop.
    Niether a keybord entry is possible nor a mouse is working.
    Microsoft knows about this for more than one year without fixing this bug.
    In this case it is useless to me as I cannot enter something.