Microsoft Visual C++ Runtime Cookbook

Cookbook Version (opens in a new tab) CI State (opens in a new tab) OpenCollective OpenCollective License (opens in a new tab)

Installs Microsoft Visual C++ runtime version 6 (2005), 9 (2008), 10 (2010), 11 (2012), 12 (2013), 14 (2015+) on Windows.


This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit (opens in a new tab) or come chat with us on the Chef Community Slack in #sous-chefs (opens in a new tab).



  • Microsoft Windows 2012
  • Microsoft Windows 2012 R2
  • Microsoft Windows 2016
  • Microsoft Windows 2019


  • Chef 12.6+


There are individual attributes within the attributes files for the URL, checksum, and package name of each Visual C++ runtime major and minor version.

If you wish to install anything except the latest packages, you may set one of

  • node['vcruntime']['vc6']['version']
  • node['vcruntime']['vc9']['version']
  • node['vcruntime']['vc10']['version']
  • node['vcruntime']['vc11']['version']
  • node['vcruntime']['vc12']['version']
  • node['vcruntime']['vc14']['version']

to the appropriate version.

It will install 32 bit version alongside 64bit version on 64bit systems.

Microsoft Versioning

As of cookbook version 2.0.0, the version of packages match the version value in Details on the installer, to facilitate matching for Inspec tests.

Versions in the same recipe replace prior versions except for Microsoft Visual C++ 2008.

Microsoft Visual C++ 20058.0.61000
Microsoft Visual C++ 20089.0.10229.0.30729.6161
Microsoft Visual C++ 201010.0.031910.0.0219
Microsoft Visual C++ 201211.0.0727.111.0.1106.111.0.0610.111.0.1030.0
Microsoft Visual C++ 201312.0.050112.0.0660.0 12.0.40664.0
Microsoft Visual C++ 201514.0.3026.014.0.4123.014.0.4212.014.0.24215
Microsoft Visual C++ 201714.0.25017.014.4.26429.4
Microsoft Visual C++ 2015-201914.29.30135.0 14.29.30139.0
Microsoft Visual C++ 2015-202214.30.30704.0 14.31.31103.0


Include the default recipe to install all supported versions:

  "name": "my_node",
  "run_list": [

Include vcruntime::vc6, vcruntime::vc9, vcruntime::vc10, vcruntime::vc11, vcruntime::vc12, or vcruntime::vc14 in your node's run_list to install specific versions only or vcruntime::default for all versions:

  "name": "my_node",
  "run_list": [


This project exists thanks to all the people who contribute. (opens in a new tab)


Thank you to all our backers!


Support this project by becoming a sponsor. Your logo will show up here with a link to your website.