# Cookbook Name:: adminbook # Recipe:: default # # Copyright 2015, YOUR_COMPANY_NAME # # All rights reserved - Do Not Redistribute # registry_key "HKLM\\Software\\MyApp\\MyConfig" do values [{ :name => "NewRegistryKeyValue", :type => :dword, :data => 0, }] action :create recursive true end windows_service "BITS" do action :configure_startup startup_type :manual end