[wpkg-users] Elevated-Execute

Rainer Meier r.meier at wpkg.org
Wed Nov 19 22:11:51 CET 2008


Hi Greg,

Greg Kavanagh wrote:
> Here's my understanding of what happens with the eleveated-execute.js script:
>  It runs a shellExecute  with the 'runas' parameter which requests
> elevation. As it is it prompts the user for an admin user name and
> password, which they won't have. Is there a way to automagically
> elevate it without any user interaction, am i missing something? I
> want to use this method to roll out the WPKG client to all the
> machines on the network.

Your understanding of the script is correct. However there is no way to
bypass the UAC prompt except disabling UAC completely. Software
installation always requires Administrator privileges which always
triggers an UAC prompt on Vista. I've delveloped the execute-elevated
script to reduce the amount of prompts during WPKG execution to 1 (whole
wpkg.js can be run with elevated privileges and installers run by WPKG
inherit this privileges).

WPKG client does not need this wrapper as it usually runs wpkg.js with
SYSTEM privileges (which is not affected by the UAC prompt "feature").
However to install WPKG client you really need an administrator account.
If you operate an active-directory domain you might deploy WPKG via
group policies.

br,
Rainer



More information about the wpkg-users mailing list