Script Elevation PowerToys for Windows Vista

From «Utility Spotlight» column in Technet Magazine (June 2007) :

The first annoyance was that there was no method to elevate an application from the command line or from the Run dialog box. So after asking around within Microsoft, I came across a sample script from John Stephens (a Software Design Engineer at Microsoft) that provided the information I needed. It turns out that if you pass the verb "runas" to either the ShellExecute API or to its COM equivalent, the ShellExecute method of Shell.Application, the application launched will prompt for elevation (see the sidebar for details). This allowed me to create the first Elevation PowerToy—the Elevate Command PowerToy.

Read the article : www.microsoft.com/technet/technetmag
Download the tool : Utility2007_06.exe

Next PostNewer Post Previous PostOlder Post Home