Vista; Run as different user account not available? - TechRepublic
Question
January 29, 2008 at 08:41 AM
nonapeptide

Vista; Run as different user account not available?

by nonapeptide . Updated 16 years, 9 months ago

Okay, I want to run a program with the credentials for another local user account on my computer. Simple, right? “runas /user:computer\user “[app.exe]”” and we should be good. Not so. I get “RUNAS ERROR: Unable to run – […] 1327 Logon failure: user account restriction.” Yadda yadda.

Argh #1

Fine. I’ll try the GUI way. Right click the icon and select Run as. Hmmm… it’s not there. Oh yeah, shift clicking it should work. Nope. Still not there. Just the ubiquitous “Run as Administrator” option.

Argh #2

Does this imply that Vista does not support changing to a different user’s credentials? I’ve seen one interesting thread on this topic ( http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.windows.vista.security&tid=8170dd80-9339-4d93-8316-a7328f359c9e&p=1 ) where a few folks hacked together some scripts that use the ShellExecute API to get the same thing done. Do I really have to use a script hack to change user context?

Argh #3

Anyone have this same experience?

This discussion is locked

All Comments