none
Kinect not recognized / Kinect SDK Setup Failed RRS feed

  • Question

  • Hi everyone,

    I've been having a lot of trouble getting the Kinect for Windows to work.

    The first problem arose when I tried to install the Kinect for Windows SDK v1.6; when the installer ran and was attempting to install drivers, it would say "Setup Failed - Error 1920: Service 'Kinect Management' (KinectManagement) failed to start"

    I noticed that I wasn't the only one with this problem on the forums, but I couldn't seem to find a solution.

    SDK v1.5 also failed to install; I contacted Microsoft and someone there told me that this was because SDK v1.6 and v1.5 were only for Windows 8; however, I gather from the forums that this isn't true.

    Next, I installed the SDK v1.0 and the setup worked fine - I plugged in the Kinect and the drivers installed correctly. Everything appeared to be working (The three Kinect related items were displayed in the Device Manager, showing the Kinect Camera, Kinect Audio, etc...). However, when I try to run any of the samples in the Kinect Sample Viewer, such as the skeletal tracking examples etc...they all say that I need to connect a Kinect for Windows, as if the device isn't recognized.

    Is it possible that the Kinect itself is faulty? Has anyone else had a similar experience?

    Thanks in advance to anyone who's able to offer some help in this matter.

    Here are some system specs: (let me know if more would help)

    Windows 7 Professional 64-bit

    Processor: AMD Phenom II x4 3.2 Ghz

    RAM: 8 GB

    Graphics card: Nvidia GTX 460

    - Theo

    Saturday, November 3, 2012 2:07 AM

Answers

  • This appears to be due to a wix bug where it registers a dependency on a package that failed to completely install.  Best thing to do would be do a complete uninstall of all OpenNI and Kinect for Windows packages, delete the package cache directory and reboot before trying the 1.6 SDK install again.  C:\ProgramData\Package Cache\

    Let me know if this fails

    Next thing to try if this doesn’t work would be to run the install/uninstall troubleshooter found here:

     http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Saturday, November 3, 2012 11:24 PM

All replies

  • What is the make/model of the USB host controller that it is plugged into, and do you have anything else plugged into that controller? Have you had any other Kinect related SDKs installed on this machine (OpenNi, etc)?
     Also, are you doing this as Admin on the machine, do you have Visual Studio 2010 or 2012 installed, and are you connected to the internet during install?

    And... it would help out a lot, if you retried the 1.6 SDK install and then posted setup log info:

    Find the temp directory – from a command prompt:
    set TEMP
    cd to the temp directory
    dir /OD Setup*.log

    post

    Saturday, November 3, 2012 2:47 AM
  • Thanks for your quick response, Todd

    According to my motherboard specifications the usb 2.0 ports are AMD SB850 controllers; in the Device Manager they show up as "Standard OpenHCD USB Host Controller" - I hope this is what you're looking for. I do have other USB devices plugged in at the moment.

    The first time I tried to install SDK v1.6 I hadn't installed any other versions. I haven't installed the OpenNI drivers, but since then I've installed the SDK 1.0 and 1.5 as well - I uninstalled the related programs (speech related components, etc) though before trying different versions; I also deleted the kinect camera driver in the system32/drivers folder.

    I am doing this from an administrator account, Visual Studio 2010 Express is installed, and I'm connected to the internet during install.

    Here is the log (thanks for the instructions):

    [08F8:0FB4][2012-11-03T00:36:36]: Detected package: x86Drivers, state: Absent, cached: No
    [08F8:0FB4][2012-11-03T00:36:36]: Detected package: x86Runtime, state: Absent, cached: No
    [08F8:0FB4][2012-11-03T00:36:36]: Detected package: x86SDK, state: Absent, cached: No
    [08F8:0FB4][2012-11-03T00:36:36]: Detect complete, result: 0x0
    [08F8:0FB4][2012-11-03T00:36:42]: Plan 12 packages, action: Install
    [08F8:0FB4][2012-11-03T00:36:42]: Planned package: Netfx4Client, state: Present, default requested: Present, ux requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
    [08F8:0FB4][2012-11-03T00:36:42]: Planned package: VCRTx86, state: Present, default requested: Present, ux requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
    [08F8:0FB4][2012-11-03T00:36:42]: Condition 'VersionNT64' evaluates to true.
    [08F8:0FB4][2012-11-03T00:36:42]: Planned package: VCRTx64, state: Present, default requested: Present, ux requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
    [08F8:0FB4][2012-11-03T00:36:42]: Setting string variable 'WixBundleLog_SpeechRTx86' to value 'C:\Users\Teddy\AppData\Local\Temp\Setup_20121103003633_0_SpeechRTx86.log'
    [08F8:0FB4][2012-11-03T00:36:42]: Planned package: SpeechRTx86, state: Absent, default requested: Present, ux requested: Present, execute: Install, rollback: None, cache: Yes, uncache: Yes, dependency: Register
    [08F8:0FB4][2012-11-03T00:36:42]: Condition 'VersionNT64' evaluates to true.
    [08F8:0FB4][2012-11-03T00:36:42]: Setting string variable 'WixBundleLog_SpeechRTx64' to value 'C:\Users\Teddy\AppData\Local\Temp\Setup_20121103003633_1_SpeechRTx64.log'
    [08F8:0FB4][2012-11-03T00:36:42]: Planned package: SpeechRTx64, state: Absent, default requested: Present, ux requested: Present, execute: Install, rollback: None, cache: Yes, uncache: Yes, dependency: Register
    [08F8:0FB4][2012-11-03T00:36:42]: Setting string variable 'WixBundleLog_enUSLangPack' to value 'C:\Users\Teddy\AppData\Local\Temp\Setup_20121103003633_2_enUSLangPack.log'
    [08F8:0FB4][2012-11-03T00:36:42]: Planned package: enUSLangPack, state: Absent, default requested: Present, ux requested: Present, execute: Install, rollback: None, cache: Yes, uncache: Yes, dependency: Register
    [08F8:0FB4][2012-11-03T00:36:42]: Condition 'VersionNT64' evaluates to true.
    [08F8:0FB4][2012-11-03T00:36:42]: Setting string variable 'WixBundleLog_x64Drivers' to value 'C:\Users\Teddy\AppData\Local\Temp\Setup_20121103003633_3_x64Drivers.log'
    [08F8:0FB4][2012-11-03T00:36:42]: Setting string variable 'WixBundleRollbackLog_x64Drivers' to value 'C:\Users\Teddy\AppData\Local\Temp\Setup_20121103003633_3_x64Drivers_rollback.log'
    [08F8:0FB4][2012-11-03T00:36:42]: Planned package: x64Drivers, state: Absent, default requested: Present, ux requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: Yes, dependency: Register
    [08F8:0FB4][2012-11-03T00:36:42]: Condition 'VersionNT64' evaluates to true.
    [08F8:0FB4][2012-11-03T00:36:42]: Setting string variable 'WixBundleLog_x64Runtime' to value 'C:\Users\Teddy\AppData\Local\Temp\Setup_20121103003633_4_x64Runtime.log'
    [08F8:0FB4][2012-11-03T00:36:42]: Setting string variable 'WixBundleRollbackLog_x64Runtime' to value 'C:\Users\Teddy\AppData\Local\Temp\Setup_20121103003633_4_x64Runtime_rollback.log'
    [08F8:0FB4][2012-11-03T00:36:42]: Planned package: x64Runtime, state: Absent, default requested: Present, ux requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: Yes, dependency: Register
    [08F8:0FB4][2012-11-03T00:36:42]: Condition 'VersionNT64' evaluates to true.
    [08F8:0FB4][2012-11-03T00:36:42]: Setting string variable 'WixBundleLog_x64SDK' to value 'C:\Users\Teddy\AppData\Local\Temp\Setup_20121103003633_5_x64SDK.log'
    [08F8:0FB4][2012-11-03T00:36:42]: Setting string variable 'WixBundleRollbackLog_x64SDK' to value 'C:\Users\Teddy\AppData\Local\Temp\Setup_20121103003633_5_x64SDK_rollback.log'
    [08F8:0FB4][2012-11-03T00:36:42]: Planned package: x64SDK, state: Absent, default requested: Present, ux requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: Yes, dependency: Register
    [08F8:0FB4][2012-11-03T00:36:42]: Condition 'NOT VersionNT64' evaluates to false.
    [08F8:0FB4][2012-11-03T00:36:42]: Planned package: x86Drivers, state: Absent, default requested: Absent, ux requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: Unregister
    [08F8:0FB4][2012-11-03T00:36:42]: Condition 'NOT VersionNT64' evaluates to false.
    [08F8:0FB4][2012-11-03T00:36:42]: Planned package: x86Runtime, state: Absent, default requested: Absent, ux requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: Unregister
    [08F8:0FB4][2012-11-03T00:36:42]: Condition 'NOT VersionNT64' evaluates to false.
    [08F8:0FB4][2012-11-03T00:36:42]: Planned package: x86SDK, state: Absent, default requested: Absent, ux requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: Unregister
    [08F8:0FB4][2012-11-03T00:36:42]: Plan complete, result: 0x0
    [08F8:0FB4][2012-11-03T00:36:42]: Apply begin
    [15F8:176C][2012-11-03T00:36:42]: Caching executable from: 'C:\Users\Teddy\Documents\Downloads to Save\KinectSDK-v1.6-Setup.exe' to: 'C:\ProgramData\Package Cache\{0d8cafc5-027f-491e-a16c-8d0c7ea90763}\KinectSDK-v1.6-Setup.exe'
    [15F8:176C][2012-11-03T00:36:42]: Registering bundle dependency key: {0d8cafc5-027f-491e-a16c-8d0c7ea90763}, version 1.6.0.505
    [15F8:1500][2012-11-03T00:36:43]: Moving payload from working path 'C:\Users\Teddy\AppData\Local\Temp\{0d8cafc5-027f-491e-a16c-8d0c7ea90763}\SpeechRTx86' to path 'C:\ProgramData\Package Cache\{22CB8ED7-DF57-4864-BD04-F63B9CE4B494}v11.0.7400.345\SpeechPlatformRuntime_x86.msi'
    [15F8:1500][2012-11-03T00:36:43]: Moving payload from working path 'C:\Users\Teddy\AppData\Local\Temp\{0d8cafc5-027f-491e-a16c-8d0c7ea90763}\SpeechRTx64' to path 'C:\ProgramData\Package Cache\{3B433087-E62E-4BF5-97F9-4AF6E1C2409C}v11.0.7400.345\SpeechPlatformRuntime_x64.msi'
    [15F8:1500][2012-11-03T00:36:43]: Moving payload from working path 'C:\Users\Teddy\AppData\Local\Temp\{0d8cafc5-027f-491e-a16c-8d0c7ea90763}\enUSLangPack' to path 'C:\ProgramData\Package Cache\{8AAA44BB-487E-4D01-AF76-484ACB90DBFE}v11.0.7400.336\MSKinectLangPack_enUS.msi'
    [15F8:176C][2012-11-03T00:36:43]: Applying package: SpeechRTx86, action: Install, path: C:\ProgramData\Package Cache\{22CB8ED7-DF57-4864-BD04-F63B9CE4B494}v11.0.7400.345\SpeechPlatformRuntime_x86.msi, arguments: '(null)'
    [15F8:176C][2012-11-03T00:36:48]: Applying package: SpeechRTx64, action: Install, path: C:\ProgramData\Package Cache\{3B433087-E62E-4BF5-97F9-4AF6E1C2409C}v11.0.7400.345\SpeechPlatformRuntime_x64.msi, arguments: '(null)'
    [15F8:176C][2012-11-03T00:36:54]: Applying package: enUSLangPack, action: Install, path: C:\ProgramData\Package Cache\{8AAA44BB-487E-4D01-AF76-484ACB90DBFE}v11.0.7400.336\MSKinectLangPack_enUS.msi, arguments: '(null)'
    [15F8:176C][2012-11-03T00:36:58]: Applying package: x64Drivers, action: Install, path: C:\ProgramData\Package Cache\{EA6CF33B-F335-4C3D-A9AE-453BA0DA5269}v1.6.0.505\KinectDrivers-v1.6-x64.WHQL.msi, arguments: '(null)'
    [15F8:176C][2012-11-03T00:37:42]: Error 0x80070643: Failed to install MSI package.
    [15F8:176C][2012-11-03T00:37:42]: Error 0x80070643: Failed to execute MSI package.
    [08F8:0FB4][2012-11-03T00:37:42]: Error 0x80070643: Failed to configure per-machine MSI package.
    [08F8:0FB4][2012-11-03T00:37:42]: Error 0x80070643: Failed to execute MSI package.
    [15F8:176C][2012-11-03T00:37:42]: Removing cached package: {8AAA44BB-487E-4D01-AF76-484ACB90DBFE}v11.0.7400.336, from path: C:\ProgramData\Package Cache\{8AAA44BB-487E-4D01-AF76-484ACB90DBFE}v11.0.7400.336\
    [15F8:176C][2012-11-03T00:37:42]: Removing cached package: {3B433087-E62E-4BF5-97F9-4AF6E1C2409C}v11.0.7400.345, from path: C:\ProgramData\Package Cache\{3B433087-E62E-4BF5-97F9-4AF6E1C2409C}v11.0.7400.345\
    [15F8:176C][2012-11-03T00:37:42]: Removing cached package: {22CB8ED7-DF57-4864-BD04-F63B9CE4B494}v11.0.7400.345, from path: C:\ProgramData\Package Cache\{22CB8ED7-DF57-4864-BD04-F63B9CE4B494}v11.0.7400.345\
    [08F8:0FB4][2012-11-03T00:37:42]: Error 0x80070643: Failed to execute apply.
    [15F8:176C][2012-11-03T00:37:42]: Removing bundle dependency key: {0d8cafc5-027f-491e-a16c-8d0c7ea90763}
    [15F8:176C][2012-11-03T00:37:42]: Removing cached bundle: {0d8cafc5-027f-491e-a16c-8d0c7ea90763}, from path: C:\ProgramData\Package Cache\{0d8cafc5-027f-491e-a16c-8d0c7ea90763}\
    [08F8:0FB4][2012-11-03T00:37:42]: Apply complete, result: 0x80070643 restart: No

    I hope this helps; in the meantime, I'll remove other USB devices and try other ports and see if this changes anything.

    Thanks again for your time.

    Saturday, November 3, 2012 4:55 AM
  • UPDATE:

    While using Kinect SDK v1.0, I removed all other USB devices from rear ports and only plugged in the Kinect; mouse and keyboard were plugged into front ports.

    I tried the Kinect in all the different ports but there's still no change.

    Although the Device Manager shows "Microsoft Kinect" - with the subheadings "Microsoft Kinect Audio Array Control, Microsoft Kinect Camera, Microsoft Kinect Security Control", when I try to run "Kinect Explorer" or "Shape Game" from the SDK Sample Browser, both applications read "Kinect for Windows required" and don't function.

    Saturday, November 3, 2012 5:27 AM
  • More updates:

    I purchased an Xbox 360 Kinect today and installed the Kinect 1.0 Beta2 SDK.

    When I plugged in the Kinect, some of the drivers didn't install correctly, and a message popped up saying that the device could perform faster if connected to a Hi-Speed USB 2.0 Hub.

    I uninstalled the Beta, reinstalled, and tried another USB 2.0 port on the back of my tower, and a USB 3.0 port.

    This time, "Microsoft Kinect Device, Microsoft Kinect Camera, and Microsoft Kinect Audio Array Control" all installed, but the "Microsoft Kinect Audio Control" showed up as "Device unplugged".

    I tried to run the "Shape Game" included with the Beta and, unsurprisingly, it didn't work. My mouse cursor also seemed to be moving sluggishly...

    I assumed that this meant there was a problem with by USB ports or controllers.

    However, I decided to try the OpenNI route to see if there was any change.

    Long story short, when I use the OpenNI/Primesense drivers and middleware, everything seems to work perfectly - I'm able to view the depth image and use the NITE skeletal tracking in Processing 1.5 (with the SimpleOpenNI library)

    Again, this is just with the Xbox 360 Kinect. And while that's great, I'd still like to know what's causing problems with the SDKs and the Kinect for Windows.

    Saturday, November 3, 2012 10:05 PM
  • This appears to be due to a wix bug where it registers a dependency on a package that failed to completely install.  Best thing to do would be do a complete uninstall of all OpenNI and Kinect for Windows packages, delete the package cache directory and reboot before trying the 1.6 SDK install again.  C:\ProgramData\Package Cache\

    Let me know if this fails

    Next thing to try if this doesn’t work would be to run the install/uninstall troubleshooter found here:

     http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Saturday, November 3, 2012 11:24 PM
  • Hi Todd,

    I uninstalled all OpenNI and Kinect for Windows related packages, deleted the Package Cache directory, rebooted, and tried to install SDK 1.6 again.

    Unfortunately I received the same error - the error log appears to be the same as well.

    I repeated this process before running the troubleshooter.
    When it asked me to look for the program that was causing the problem from the list, the closest thing was the Kinect for Windows Speech Recognition Language Pack; when I selected this it asked if I wanted to uninstall, I clicked no, then it said there wasn't a problem.
    When I chose the "Not listed" option, it also said that there were no problems detected.

    Is there another way I should be running this application?

    Thanks again for your time.
    Sunday, November 4, 2012 2:29 AM