Silently Installing the Elevation PowerToys in MDT

In a previous post I shamelessly promoted my Elevation PowerToys for Windows Vista.  I recently was contacted by one of our support engineers about installing these tools.  The customer wanted to install most of them in their Windows Server 2008 reference image build using MDT.  The command shell script that I had provided in the download was meant to be used manually by a person logged on with UAC enabled.  The script would "re-launch" itself elevated and would pause at the end to allow the user to see the results of the commands.  This is obviously not suitable for automated installation.  So I provided the engineer with a modified version that could be used in MDT.

To install the Elevation PowerToys in MDT, extract the Elevation PowerToys from the web download to a folder.  Then extract InstallAllPowerToysSilent.cmd from the attachment for this post and place it in the same folder.  Modify InstallAllPowerToysSilent.cmd to install only the PowerToys that are needed.  Use the MDT Deployment Workbench to import the folder as an Application using InstallAllPowerToysSilent.cmd as the command line and the application folder as the current directory.

If you need to install the Elevation Gadget silently on Vista with the rest of the PowerToys (there is no Sidebar on Windows Server 2008), install the gadget manually on a machine, copy the Elevation.Gadget folder from C:\Users\username\AppData\Local\Microsoft\Windows Sidebar\Gadgets into the extracted Elevation PowerToys folder before importing with the Workbench.  Change the line set INSTALL_ELEVATION_GADGET=0 to set INSTALL_ELEVATION_GADGET=1 in InstallAllPowerToysSilent.cmd.  The import as an Application as described above.

Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified in the Terms of Use .

This post was contributed by Michael Murgolo, a Senior Consultant with Microsoft Services - U.S. East Region.

InstallAllPowerToysSilent.zip