Use runas with a domain account on a non-domain machine in Windows 2k/XP/Vista/7

The runas command has an extra option /netonly that allows running local apps as a domain user, on a non-domain machine. It worked for me when I ran on Windows 7 Professional - but it does require an elevated Command Prompt.

runas /netonly /user:domain\user command

More details at the below site:

http://codebetter.com/jameskovacs/2009/10/12/tip-how-to-run-programs-as-a-domain-user-from-a-non-domain-computer/


Unless I'm misunderstanding your question, you're trying to use domain credentials to log onto a machine that is not a member of that domain. This can't be done. Domain accounts only log onto domain computers. Local accounts only log onto the local machine (with exceptions).