I have a really annoying setup (which is out of my power), where I have a restricted user account, and an 'a' account, or an administrator account. Every time I run as admin (a lot), I have to put in the username and password, which slows me down quite a bit. I was wondering if it's possible to run a program as Admin from the command prompt while giving it the credentials (something like below):
runas /user:AdminAccount /password:fooBar program.exe
I know about the /savecred option, but I would need to put the password in for each new program...
UPDATE:
I just thought I should include this, the User I'm using as Admin isn't the inbuilt one, so runas only runs it as this user (without admin rights), so if there's a way to use this users admin rights, that'd be great