Skip to content

apmorton/shellevate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shellevate

Shell Based RunAs With UAC Compatibility

shellevate is an extended version of ShellRunas that adds support for optionally elevating the process via a UAC prompt. Most importantly, it does this elevation after switching user contexts. This means you don't have to run shellevate itself as admin, and the user you start as does not need to be an admin.

shellevate can also force a program which would normally request a UAC prompt to run without one.

Examples

  • shellevate /asinvoker /netonly mmc - run MMC without a UAC prompt, under the given credentials only for network connections, and suppress the UAC prompt mmc normally requires
  • shellevate /elevate mmc - run MMC under the given credentials, and force MMC to be elevated to admin rights
  • shellevate /shell C:\document.txt - open C:\document.txt under the given credentials using the default associated application

#Icon Credit nl2bricons @ thenounproject.com