- I map a share from another machine using my user account.
- I launch an elevated command prompt (cmd.exe, right click, Run as administrator).
- 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.