Article ID: 258948 - View products that this article applies to.
This article was previously published under Q258948
When you use the Run as command from a Microsoft default shortcut whose Start in value is set to "%HOMEDRIVE%%HOMEPATH%" (a common default for shortcuts created by Windows 2000), the command does not work and generates a "The directory name is invalid" error message. This can occur if the primary user's account has a home folder that is mapped from a server share, on which the secondary user (usually the local administrator) does not have privileges.
To work around this behavior, you can delete the path before using the Run as command by viewing the properties for the shortcut and changing the Start in path to be blank.
Also you can set both administrator passwords to be the same. Local administrators could use a different account to complete administrative tasks on their computers.
For additional information about this behavior, see Windows 2000 Help: Click Start, click Help, click the Search tab, type runas, click List Topics, and then double-click the Use Run as to start a program as an administrator topic.
Article ID: 258948 - Last Review: February 20, 2007 - Revision: 3.3