Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kinect driver error - incompatible with Windows 10 memory integrity #54

Closed
diablodale opened this issue Jul 24, 2021 · 1 comment
Closed

Comments

@diablodale
Copy link
Owner

Problem Description

You use Windows 10 and encounter these problems

  • dp.kinect can not find your Kinect
  • Device Manager shows a yellow or red error beside Kinect for Windows Camera
  • Windows 10 reports kinectcamera.sys is incompatible with Windows memory integrity

Cause

The official Microsoft device drivers for Kinect for Windows are incompatible with Windows 10 memory integrity feature. More info from Microsoft

This is not a bug in dp.kinect and there is no code fix possible. It is an issue with Microsoft's drivers.

Workaround

Microsoft does not intend to update the drivers. Therefore, if you want to use your Kinect, you will need to disable Windows memory integrity. This is a choice you must make yourself and you assume responsbility for your choice.

  1. Press the Windows key
  2. Search for memory integrity
  3. Turn the feature off
  4. Reboot
@diablodale
Copy link
Owner Author

diablodale commented Jun 7, 2022

Four Needed Devices

After you plug your Kinect for Windows (1st generation) into your computer, Windows 10 should show four devices in Device Manager.
The XBox 360 Kinect is not the same hardware. It may behave differently or have slightly different device names #37 (comment)

If you do not see all four devices, then there is some incompatibility with your computer, Windows, and the Kinect hardware.
These four devices are red circled in the picture below.

devmgr

Uninstalling

If you later want to uninstall the Kinect drivers and enable Windows memory integrity, you may encounter another Microsoft bug. Microsoft's uninstaller for their Kinect drivers does not fully remove the drivers. Therefore, when you attempt to enable memory integrity, you may get an error "Incompatible drivers" and it lists kinectcamera.sys.

The following is a procedure you can attempt. I provide no warranty and this is at your own risk. This is a choice you must make yourself and you assume responsbility for your choice.

  1. Disconnect your Kinect from your computer.
  2. Use the standard Windows settings tools to uninstall all Kinect v1.8 tools and drivers.
  3. Run Device Manager
  4. Choose menu view/show hidden devices
  5. Right click on each of the four devices in the picture above , choose "Uninstall device", and when possible click the checkbox to delete the drivers.
  6. Reboot your computer
  7. Repeat steps 3-6 until these four devices do not appear.
  8. Run a command prompt that is elevated to administrator (Run as Administrator)
  9. cd c:\windows\system32\drivers
  10. Verify kinectcamera.sys is in that directory.
  11. del kinectcamera.sys
  12. Reboot your computer
  13. Enable Windows memory integrity

@diablodale diablodale pinned this issue Jun 7, 2022
Repository owner deleted a comment from BRUTUS-et-tu Jun 7, 2022
Repository owner locked as resolved and limited conversation to collaborators Jun 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant