Archive for November, 2010

Add “Run as…” to MSI files

Im going to keep it short,

If you need to run MSI as another user, possibly admin users, then add this to your registry

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Msi.Package\shell\runas]
@=”Run &as…”

[HKEY_CLASSES_ROOT\Msi.Package\shell\runas\command]
@=”msiexec /i “%1″”

Enjoy!!

Facebook Twitter Email Linkedin Digg Delicious

Useful Windows Management Shortcuts

Administering any system can be a pain, specially if you value security. That’s why this is a command that I use on a daily basis to not only manage my own system, but remote ones too..

local computer: compmgmt.msc
remote computer: compmgmt.msc /computer:\\computername
runas: %windir%\system32\runas.exe /user:domain\user /savecred “mmc compmgmt.msc”

Another nice one to have is a windows explorer with the same admin credentials, so I created this runas command:
%windir%\system32\runas.exe /user:domain\user /savecred “explorer.exe /e, c:\”
in order to get this tweak to work, you must sign in to the other user account, and enable “Launch folder windows in a separate process”

Hope this helps make someone’s life easier!!

Facebook Twitter Email Linkedin Digg Delicious
Go to Top