Avatar of Zoldy2000
Zoldy2000
Flag for Canada asked on

Mapped drives not showing in explorer Windows 10

Mapped drives not showing in explorer Windows 10.    But they do appear and I can use them under command prompt.    If I map them manually same result.    The drives are actually mapping but just not accessible in windows only command prompt.


User is a local admin.

Windows OSWindows 10

Avatar of undefined
Last Comment
zalazar

8/22/2022 - Mon
arnold

Drives are mapped by user.
User A
And User A in elevated command Window Might be treated differently.

Do you have a GPO/GPP that pushes drives to users? Or part of the USer AD Object, you are pushing a Home Dir t the user?
zalazar

The following article explains it:
https://docs.microsoft.com/en-us/troubleshoot/windows-client/networking/mapped-drives-not-available-from-elevated-command
When UAC is enabled, the system creates two logon sessions at user logon. Both logon sessions are linked to one another. One session represents the user during an elevated session, and the other session where you run under least user rights.

You can change this behavior by creating the following registry setting:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Type: DWORD (32-bit)
Name: EnableLinkedConnections
Value: 1
Zoldy2000

ASKER
Thank you for the reply.    UAC is disabled....    And also tried the registry change and it did not work.



As for the other reply.    I am not using an elevated command prompt.    And even when mapping drives manually (any drive) it has the same behavior.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
arnold

your view might be the issue.
i.e. if you open a command window
net use
what do you see there?
in explorer what do you see?
if you open explorer and use the drive letter, what happens ?
i.e. open windows explorer, in the address area put in g:\ as an example of the mapped drive you see in the command view, what happens?
Zoldy2000

ASKER
i.e. if you open a command window
net use
what do you see there?
All the drives and they are correct.

in explorer what do you see?
Just my local drives

if you open explorer and use the drive letter, what happens ?
Windows cannot find the specified drive error

i.e. open windows explorer, in the address area put in g:\ as an example of the mapped drive you see in the command view, what happens?
same as above  Windows cannot find the specified drive error
arnold

is the command window reflect as administrator/administrative?

what happens if you try to map a drive in explorer?

Should have read through to the end.
Check whether the Admin with UAC disabled, is what locks the access in explorer. Enable the UAC and see if the access to the shares becomes available as soon as that is done.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
zalazar

I guess that you did already restart after setting "EnableLinkedConnections"

When you open a command prompt it's actually always elevated as you mentioned that UAC is disabled.
You can double check this by opening a command prompt (cmd.exe) without selecting "Run as administrator"
In the title you should see "Administrator: Command Prompt"

You could also double check the UAC setting by starting: secpol.msc
Local Policies\Security Options\User Account Control: Run all administrators in Admin Approval Mode
This setting should be on Disabled
Zoldy2000

ASKER
Thank you I tried all of the suggestions and nothing works.    I also tried the following.

Logged in as the local admin account - same

Logged in as a domain administrator - same

Remove PC from domain - same

Added back to the domain - same

I am thinking this may require windows wipe and reload unless I find something else to try.

Another odd behavior is the user has some shortcuts to folders on the mapped drives and they work.   However if we try to create new shortcuts they fail.     Does not make a lot of sense.
arnold

Widnwos 10 added some registry to limit the exposure of the Network when an Admin is logged in. Something to do with access/enumeration of UNC paths.

Enable the UAC and see whether the mapping show up.
When you are in the command windows, you are seen as administrator and potentially under the elevated account as administrator the drives are mapped and accessible,.

If you want to try something, create a second standard account for yourself and see if the issue with mapping drives in windows explorer clears up.
Your help has saved me hundreds of hours of internet surfing.
fblack61
Zoldy2000

ASKER
All of this has been tried already but thank you for the suggestions.
arnold

Are you saying, no matter what account you use on this system, non of them have accessible mapped drives?
Zoldy2000

ASKER
yes that is correct.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
arnold

Is it limited to a single computer, or all of them?
You may need to use GPMC and run the group policy wizard to see whether you have a GPO that sets this restriction.

The other option is to look at the explorer view to see whether you have a catergorization and the mapped drives are in a collapsed item list.
Zoldy2000

ASKER
One computer.

There are no GPO restrictions applied.

Mapped drives are not accessible in file explorer even by specifying the drive for example s:\ or s:  ...    even run s:\ does not work
arnold

if you go  to the network, in the left pane below everything else, does it see any computers?

This seems strange that in elevated mode, the admin has mapped drives visible, but in explorer they are not seen without regard to the user level standard or admin.

stand alone computer, windows key + i, under system, which OS build is this 2021H2?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Zoldy2000

ASKER
I dont have access to the effected computer today but the windows version is the very latest.

The cmd prompt is not elevated and it works.    FYI.
arnold

opening command which comes in as command prompt and not Administrator: command prompt as shown in the image.

if you look at net use
you see the list of mapped drives as an example
G:
H:
I:

but if you do windwos key + R and type either of those
G:
H:
I:
the folder does not open?

you could look at using the windows key +I and reset the system while preserving the documents (back up the documents first just in case)

This behavior seems odd.
zalazar

If you would map the drive via File Explorer by using "Map Network Drive" and specifying "Connect using different credentials"
Does this make a difference ?

I guess that you already checked the Share permissions and the NTFS permissions and that there isn't a certain Deny permission set which does not allow the user to get access.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER CERTIFIED SOLUTION
Zoldy2000

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
zalazar

Thanks for the information and good to hear that it's resolved.