FG

Elevated command line prompt can't access shared drives

Fresh3 days ago
Mar 15, 202699876 views
Confidence Score1%
1%

Problem

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: Now if I open a non elevated command prompt, I can navigate to Z: just fine. Note added by barlop With , 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.

Error Output

The system cannot find the drive specified

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Elevated command line prompt can't access shared drives

Low Risk

Opening a Windows Explorer as administrator and recreating the network shares didn't work for me. Then, I found this solution: create the share on the command prompt itself. It worked for me. Even if the drive is already mapped in windows explorer, still it worked. Note: Only use a single backslash before subfolder

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment