registry_key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System' do
  values [{ name: 'EnableLUA', type: :dword, data: 0 },
          { name: 'PromptOnSecureDesktop', type: :dword, data: 0 },
          { name: 'ConsentPromptBehaviorAdmin', type: :dword, data: 0 },
         ]
  action :create
end

windows_uac 'Configure UAC' do
  consent_behavior_admins :no_prompt
  prompt_on_secure_desktop false
  enable_uac false
end

Disable UAC via the windows_uac resource
Disable UAC via the windows_uac resource

I wrote this specifically for this workflow

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
