Runas Utility Uses Default Profile When Invoked from Command Prompt If Not Using the /profile Switch

Article translations Article translations
Article ID: 254094 - View products that this article applies to.
This article was previously published under Q254094
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

Symptoms

When you use the Runas utility without the /profile option from a command prompt, the default user profile is used instead of the profile of the impersonated user.

Cause

When programs use the default profile, files that are typically created in the per-user folders are created in the default user folder. An example of a per-user folder is the My Documents folder. If a program that is invoked from the Runas tool without the /profile switch saves a document in the My Documents folder, the file is saved in the default user My Documents folder, not the My Documents folder of the user that Runas is impersonating.

When you start Runas from Windows Explorer (instead of a command prompt), Runas uses the /profile switch by default. To start Runas from Windows Explorer, click Start, point to Programs, point to Accessories, SHIFT+right-click Command Prompt, and then click Run As.

Status

This behavior is by design.

Properties

Article ID: 254094 - Last Review: October 26, 2013 - Revision: 4.0
Applies to
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
Keywords: 
kbnosurvey kbarchive kbprb kbtool KB254094

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com