puppetlabs/puppet_for_the_win — pull request #17 by jeffmccune (2012-02-27 20:34:23+00:00)
Title: (#12570) Use UAC to prompt for escalated rights

Without this patch the Start Menu shortcuts do not prompt the user to
escalate to administrator rights. This poses a huge UX issue because a
different SSL directory will be used when running as an user in the
Administrators group. The default home directory will be
/Users/myusername/.puppet when it should be
C:/ProgramData/PuppetLabs/puppet

This patch fixes the problem by wrapping Puppet and Facter inside of a
batch file that calls escalate.exe. Escalate.exe will prompt for UAC
escalation before running Puppet and Facter.

The UAC Prompt when using the Start Menu shortcuts look like:

![UAC Prompt](http://dl.dropbox.com/u/17169007/img/screenshot_1330369084_0_UAC.png)