I am testing with the following context keys and a shortcut for NSudo if I want to use Trusted Installer
Admin keys are only to change from "Run as administrator" ===> "Run as Administrator" so the "Run as System" looks correct...
This way it only offers to "Run As" on executable files... Also it makes choosing System or Admin accts during build a no brainer if you need both...(Admin with these keys) I am copying NSudo to Sys32
RegHiveLoad,Tmp_Software,%RegSoftware%
RegWrite,HKLM,0x1,Tmp_Software\Classes\batfile\shell\runas,,"Run as Administrator"
RegWrite,HKLM,0x1,Tmp_Software\Classes\cmdfile\shell\runas,,"Run as Administrator"
RegWrite,HKLM,0x1,Tmp_Software\Classes\exefile\shell\runas,,"Run as Administrator"
RegWrite,HKLM,0x1,Tmp_Software\Classes\mscfile\shell\runas,,"Run as Administrator"
RegWrite,HKLM,0x1,Tmp_Software\Classes\cplfile\shell\runas,,"Run as Administrator"
RegWrite,HKLM,0x1,Tmp_Software\Classes\batfile\shell\runas2,,"Run as System"
RegWrite,HKLM,0x1,Tmp_Software\Classes\batfile\shell\runas2,HasLUAShield,
RegWrite,HKLM,0x2,Tmp_Software\Classes\batfile\shell\runas2\command,,"#$qX:\Windows\System32\NSudo.exe#$q -U:S -P:E #$q#$q#$p1#$q#$q"
RegWrite,HKLM,0x1,Tmp_Software\Classes\cmdfile\shell\runas2,,"Run as System"
RegWrite,HKLM,0x1,Tmp_Software\Classes\cmdfile\shell\runas2,HasLUAShield,
RegWrite,HKLM,0x2,Tmp_Software\Classes\cmdfile\shell\runas2\command,,"#$qX:\Windows\System32\NSudo.exe#$q -U:S -P:E #$q#$q#$p1#$q#$q"
RegWrite,HKLM,0x1,Tmp_Software\Classes\exefile\shell\runas2,,"Run as System"
RegWrite,HKLM,0x1,Tmp_Software\Classes\exefile\shell\runas2,HasLUAShield,
RegWrite,HKLM,0x2,Tmp_Software\Classes\exefile\shell\runas2\command,,"#$qX:\Windows\System32\NSudo.exe#$q -U:S -P:E #$q#$q#$p1#$q#$q"
RegWrite,HKLM,0x1,Tmp_Software\Classes\cplfile\shell\runas2,,"Run as System"
RegWrite,HKLM,0x1,Tmp_Software\Classes\cplfile\shell\runas2,HasLUAShield,
RegWrite,HKLM,0x2,Tmp_Software\Classes\cplfile\shell\runas2\command,,"#$qX:\Windows\System32\NSudo.exe#$q -U:S -P:E #$q#$q#$p1#$q#$q"
RegWrite,HKLM,0x1,Tmp_Software\Classes\mscfile\shell\runas2,,"Run as System"
RegWrite,HKLM,0x1,Tmp_Software\Classes\mscfile\shell\runas2,HasLUAShield,
RegWrite,HKLM,0x2,Tmp_Software\Classes\mscfile\shell\runas2\command,,"#$qX:\Windows\System32\NSudo.exe#$q -U:S -P:E #$q#$q#$p1#$q#$q"
RegHiveUnLoad,Tmp_Software
**Fixed Keys.... needed extra #$q <==>#$q around the 1%