Today’s head scratcher? I encountered this error today when trying to restart a service on Windows Server 2012 R2. The service, which controls an application licensing feature, triggered the error:
The Interactive Services Detection service terminated with the following error: Incorrect function.
Huh. The fix? Open the registry. Browse to HKLM -> System -> CurrentControlSet ->Control -> Windows -> NoInteractiveServices. Change the DWORD value for NoInteractiveServices from 1 to 0. Try restarting the service that depends on Interactive Services Detection. You should be successful.