I just discovered yesterday the possibility to run an application under the credential of a domain user, even if you’re not in a domain. This is a very useful feature for me: being a consultant I work with a lot of different customers, each one with its own domain, and each one (of course) with a different user account for myself.
I cannot join all their domains so I have to work outside the domain, or I have to create a Virtual Machine with all the tools I need and then join their domain. This, unfortunately, means a lot of installation and maintenance work.
But what I discovered yesterday simply changed my life : to execute an application using a domain user, even if you’re not I a domain, all you have to do is to use the /netonly option of the runas command!
To launch Excel, for example:
runas /netonly /user:THEDOMAIN\theuser "C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE"
And that’s it! Now you can browse the cubes on SSAS (for example) using the software on your machine. Cool!