LabWindows™/CVI™ Error "You Must Install Microsoft Windows SDK"

Updated Jul 31, 2023

Reported In


  • LabWindows/CVI


Windows SDK

Issue Details

I am using LabWindows/CVI, and I am getting the following error message when I build my application:

How do I fix this error?


  • This error prompt comes up when LabWindows/CVI can't locate the installed Windows Software Development Kit. This can be due to LabWindows/CVI being installed after the Windows SDK is installed.
  • Run the sdksetup.exe file that is located at C:\Program Files (x86)\National Instruments\Shared\MSDTRedistributables\Bootstrappers\8.1. This executable should install the Windows SDK manually.
  • If the Windows SDK is already installed running this executable will overwrite it with a fresh install and make sure that LabWindows/CVI can locate it.
  • If the above step does not work. Repair or perform an uninstall/reinstall or force reinstall your LabWindows/CVI software and then follow the steps above to install the Windows SDK again.

Additional Information

LabWindows/CVI should install the Windows SDK by default, but it could be installed incorrectly or removed after the install process. The force reinstall will ensure that the Windows SDK is installed correctly.