OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: RUNAS CMD files fail under Win2K SP1.
From: David LeBlanc (dleblancMINDSPRING.COM)
Date: Fri Aug 18 2000 - 13:51:54 CDT


At 02:02 AM 8/18/00 +0200, Patrick Schmid wrote:

>The best resolution is to always use runas only with a fully qualified user
>name.
>To save work in correcting the scripts:
>runas /profile /user:%computername%\administrator ntbackup
>works.

I've never been able to get it to work any other way. Here's what I've
found - create a foo user - 'foo' doesn't exist on the domain. Now try
/user:foo - it always fails for me. However, /user:[account domain]\foo
works just fine.

I'm just guessing here, but I think (just like a net use will do), that
RunAs is taking some sort of default for the domain if it isn't provided. I
have no idea why you're seeing changes based on service pack, since I've
had the experience that the domain was required since well before release.

David LeBlanc
dleblancmindspring.com