If you don’t want to turn UAC off, don’t want to jump through hoops when running a command with administrator privileges, and non of this right-click-run-as-administrator or create-a-shortcut-ran-as-administrator nonsense, you’re in a bit of trouble.
As far as I know MS didn’t provide any means to run a command with administrative privileges from command line that does not run with those in the first place.
In my case I need to run an application as another user (in administrator local group), and I want that app to be run with administrator privileges.
It seems that Elevate will do the trick 🙂
You must log in to post a comment.