Re: Error with Run As

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Carrie Garth (PostInGroup_at_invalid.cxg)
Date: 04/22/04


Date: Thu, 22 Apr 2004 05:47:36 -0500


> "Lori" <anonymous@discussions.microsoft.com>
> wrote in message news:22b301c427b9$35ab7a80$a601280a@phx.gbl...
> I am trying to install a program through a run as command prompt. When a power
> user (non-administrator) is logged onto a computer set up on the domain, and an
> administrator performs a "run as" to a maped drive, an error message occurs. The
> error falsely states that the file or file name does not exist. The administrator
> does have permission to install the program from the mapped drive as well as the
> mapped drive. This problem only pertains to XP machines while performing the run
> as and only while using a mapped drive, the local c:\ allows the run as command. My
> supervisor (who created the mapped drive) is receiving the same error.

Unlike Windows 2000, Windows XP strictly enforce the security context of mapped
drives from the Runas.exe tool. The resolution is to connect to the remote resource
directly by using the Universal Naming Convention (UNC) path. For more information
see the following Microsoft Knowledge Base article:

KB303308 - Cannot Use Runas.exe to Run Remote Programs on Mapped Drives
http://support.microsoft.com/default.aspx?Product=winxp&scid=kb;en-us;303308



Relevant Pages

  • Re: how to see mapped network drives?
    ... get a list of mapped drives from a command prompt ... TheMagpie ... TheMagpie's Profile: http://www.msusenet.com/member.php?userid=3829 ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Can connect to Domain until I double click MyComputer Icon
    ... I can browse the mapped drives with command prompt and even open ... excel documents on those drives but as soon as I click on MyComputer ... I get kicked from the Windows2003 Server ...
    (microsoft.public.windows.server.general)
  • Re: Finding paths for mapped drives
    ... Use the "Net Use" command at the Command Prompt. ... havenlad wrote: ... Disconnect Mapped Drives but she tells me it is way of the page. ...
    (microsoft.public.windowsxp.basics)
  • Re: win32 Service: path to .py script
    ... (via commandlineoption install) ... for the system account and rebooted. ... When I start command line python and do a import testservice everything ... need to access mapped drives, you need to put full UNC ...
    (comp.lang.python)
  • Re: Virtualbox performance issues
    ... I recommend using the non open source edition. ... Nowadays, when you install VirtualBox, you have the latest, matching ... as network locations rather than as mapped drive lettters. ... Even with four mapped drives, ...
    (Ubuntu)