Install Kinect on your PC and Start developing your Programs:


This comprehensive guide to install Kinect drivers and programs in your PC was made by Software Developer Vangos Pterneas, a student of the Athens University of Economics and Business, Department of Informatics. This guide and any associated source codes and files is licensed under The Code Project website and also under the Code Project Open License. The article is an unedited version of Vangos Pterneas’ guide to installing Kinect to your PC.

We wish to share this article to educate the Kinect community on how to install the Kinect to their Personal Computers. By doing so, we would like to advocate and promote the development of programs by developers worldwide.

We wish to share this article to educate the Kinect community on how to install the Kinect to their Personal Computers. By doing so, we would like to advocate and promote the development of programs by developers worldwide.


Playing Kinect games is a really great experience. Programming for Kinect is even greater! Browsing the web, you can find many cool “hacks” (CLNUI,OpenKinect) which allow Kinect be used by a PC rather than an XBOX. Via these hacks, we gain access to Kinect’s cameras (color and depth), LED, accelerometer and motor. Obtaining both the raw and the depth image, it is easier to build Machine Vision applications. But the main problem remains: Kinect magic is its software and the device simply cannot give us all those body-tracking algorithms by itself.

Fortunately, PrimeSense, the company behind Kinect, released OpenNI framework and NITE middleware. This means that we can now have access to features such as real-time skeleton tracking, gesture recognition, wave detection and much more!

OpenNI and NITE installation can be painful if not done properly. Let’s do it step by step:

Step 1

Download Kinect Drivers and unzip.

Open the unzipped folder and navigate to Platform/Win32/Driver.

Run dpinst-x86.exe (if you have a 32-bit processor) or dpinst-amd64.exe (if you have a 64-bit processor).

Drivers are now installed in your PC.

Step 2

Download and install the latest stable or unstable OpenNI Binaries from OpenNI website.

Step 3

Download and install the latest stable or unstable OpenNI Compliant Middleware Binaries (NITE) from OpenNI website.

During installation, provide the following (free) PrimeSense key: 0KOIk2JeIBYClPWVnMoRKn5cdY4=

Step 4

Download and install the latest stable or unstable OpenNI Compliant Hardware Binaries from OpenNI website.

Both stable and unstable releases have worked for me. If you have trouble installing the unstable releases, just try the stable ones.

Step 5

Plug in your Kinect device and connect its USB port with your PC.

Wait until the driver software is found and applied.

Navigate to the Device Manager (Control Panel).

Step 6

Download the KinectXMLs file and unzip. The extracted folders contain totally four XML files which are going to replace the ones OpenNI installed (the XMLs I provide simply contain the license key and the correct Kinect camera resolution).

Navigate to KinectXMLs\OpenNI folder and copy the SampleConfig.xml file. Navigate to C:\Program Files\OpenNI\Data (if you have a 32-bit processor) or C:\Program Files (x86)\OpenNI\Data (if you have a 64-bit processor) and replace SampleConfig.xml with the one you copied.

Navigate to KinectXMLs\NITE folder and copy the Sample-Scene.xml, Sample-Tracking.xml and Sample-User.xml files. Navigate to C:\Program Files\Prime Sense\NITE\Data (if you have a 32-bit processor) or C:\Program Files (x86)\Prime Sense\NITE\Data (if you have a 64-bit processor) and replace Sample-Scene.xml, Sample-Tracking.xml and Sample-User.xml with the ones you copied.

Step 7

Navigate to C:\Program Files\OpenNI\Samples\Bin\Release (or C:\Program Files (x86)\OpenNI\Samples\Bin\Release) and try out the existing demo applications. Try the demos found in C:\Program Files\Prime Sense\NITE\Samples\Bin\Release (or C:\Program Files (x86)\Prime Sense\NITE\Samples\Bin\Release), too. If they work properly, then you are done!


If they do not work, make sure that you have replaced the XML files I mentioned in step 5 with the ones I provided you. If the demos still do not work, try installing the stable version of OpenNI, middleware and hardware binaries. Personally, I have successfully installed OpenNI and NITE (both stable and unstable releases) in a 32-bit desktop and a 64-bit laptop following the methodology I described.

Step 8

You have successfully installed Kinect in your Windows PC! Read the documentation and familiarize yourself with the OpenNI and NITE API. You’ll find the proper assemblies in:

C:\Program Files\OpenNI\Bin (or C:\Program Files (x86)\OpenNI\Bin) and

C:\Program Files\Prime Sense\NITE\Bin (or C:\Program Files (x86)\Prime Sense\NITE\Bin)

OpenNI is the primary assembly you’ll need when developing Natural User Interfaces applications.

C# tutorials on using the managed libraries coming soon! Stay tuned in this blog.

Update 2/2/2010: Troubleshooting

If you have followed the above guide and still have trouble viewing the demos, then try out the following:

Omit step 1.

Follow steps 2, 3 and 4.

Download Kinect Drivers, unzip and navigate to Bin folder. Run SensorKinect-Win32-5.0.0.exe.

Follow steps 5, 6, 7 and 8.


this is great for startup hackers. must see this

Interesting write up! I’m gonna have to try this, I recently acquired a Kinect for hacking reasons only. Now to set aside some time and get cranking! LOL

awesome guide. love vangos pterneas work always.

shuld make this a sticky for other hackers’ guide.

Are there other ways to install Kinect on your PC?

We might see the official Kinect SDK provide that.


I tried to follow this guide. Here’s the versions I installed :

Here’s the error I get whenever I tried to run FAAST 0.8 or 0.7 : Image

I’ll try to uninstall everything et install other versions but if anybody got a solution it’ll be helpful! 😉

Found this on the internet. Why not try this it might help. Guide from Stephen Howell


1.Assuming you have a Windows XP or later OS and the internet:
Download and install OpenNI: … 0/download

2. Note on above step when we did this, 25 was the unstable version and 23 was the stable version. This was updated a few days ago. I have NOT tested the new versions. They may not work. We found 25 worked on Windows 7 but XP needed 23. No idea why.

3.Download the Kinect sensor plugin: … -5.0.0.exe

4. Run the precompiled SensorKinect-Win32-5.0.0.exe file from the Bin directory to install

5.Install NITE: … 3.0.17.exe
Use the key: 0KOIk2JeIBYClPWVnMoRKn5cdY4=
(note: the “=” at the end matters. Also, put it in a font that lets you see the difference between uppercase i, lowercase L and the number one; if you are typing it in, and not cut-and-pasting. We have found that only the 17 version seems to work for some windows systems (XP particularly).

6.Copy the XML files from
“c:\Program Files\Prime Sense\Sensor\SampleXMLs\NITE\Data”
“c:\Program Files\Prime Sense\NITE\Data”
(overwrite files)

7.Copy the XML files from
“c:\Program Files\Prime Sense\Sensor\SampleXMLs\OPENNI\Data”
“c:\Program Files\OpenNI\Data”
(overwrite files)

Hope this helps!

Thks Lera,

I tried to follow the links in this tutorial and everything seems pretty outdated….
But I’ll try to install every stable version available in this order!