Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 10479

Elevated command line prompt can't access shared drives

$
0
0
  1. I map a share from another machine using my user account.
  2. I launch an elevated command prompt (cmd.exe, right click, Run as administrator).
  3. Navigating to shared drive (Z:) results in:

The system cannot find the drive specified

Now if I open a non elevated command prompt, I can navigate to Z: just fine.

Note added by barlop

With net use, An administrative(elevated) cmd prompt can access mapped drives created from an administrative cmd prompt, but the issue is that an administrative cmd prompt can't access a drive created from a non-administrative cmd prompt, and vice versa. So a mapped drive created by net use, from a non-administrative cmd prompt, can't be seen from an administrative cmd prompt. Net use can be used with local drives too and same issue for that. The Subst has the same problem.


Viewing all articles
Browse latest Browse all 10479

Trending Articles