Deskman Powertoy Vista
- Deskman Vista download - Advanced Desktop Security - Best Free Vista Downloads - Free Vista software download - freeware, shareware and trialware downloads.
- What is DeskmanPowertoySetup.exe? DeskmanPowertoySetup.exe is part of Virtual Desktop Manager Powertoy for Windows XP and developed by Microsoft Corporation.
Xp Powertoys
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. The next irritant was that there was no 'Run as Administrator' context menu option (when you right-click on the file in Explorer) for most Windows script types.
Deskman, free and safe download. Deskman latest version: Advanced protection for Windows desktop.
The one exception was for command-shell scripts (those with.bat and.cmd file extensions). So I set out to investigate this. Many of the context menu options for file types are controlled through command keys for the 'object' type in the HKEYCLASSESROOT section of the Registry (see Verbs and File Associations in the sidebar for details). It turns out that if that command key is named runas, the command invoked will prompt for elevation. This allowed me to create the following PowerToys. However, for some PowerToys there were object types I wanted to have two context menu entries cause elevation ('CMD Prompt Here as Administrator' and 'PowerShell Prompt Here as Administrator' for Drive and Directory object types; 'Run as Administrator' and 'Run as Administrator with Command Prompt' for all WSH object types.) Since there can only be one runas key for each object type, I had to implement the second action by calling the elevate command. But since I wanted each INF to be installable and uninstallable independently, I had to put the associated copies elevate.cmd and elevate.vbs in different places.
Deskman Power Toy Setup
(You can’t increment file usage counters from a raw INF file. Yes, MSI installers would be better, but I wanted installers that could be created and modified with a text editor.) One side effect of this is that only the context menu entries implemented using the runas key will display a shield in the menu.