Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mapped drives not visible on open dialog

I have a user that has Windows 10 and is saying that their mapped drives are not showing up on one machine specifically and only in my program. I am using a standard Microsoft.Win32.OpenFileDialog to allow the user to browse to a file to open. On this machine they sent me a screen shot where there is one windows explorer window open that shows the mapped drives just fine, then the open dialog in my program that doesn't show them at all (simultaneously). The really strange thing is that other machines on their network do not have the same issue, they show the drives in my program as well.

I'm not sure even where to start with this. I googled it but didn't really turn up anything; I also searched here and didn't find anything. Does anyone know if there is some obscure setting or something that could be causing it not to show mapped drives?

like image 617
sfaust Avatar asked Sep 25 '15 20:09

sfaust


People also ask

Why can't I see my mapped network drives?

The primary reason for mapped network drives not showing in all folders is because all the folders are hidden in the NAS and other drives.

How do I see all mapped drives?

In Windows, if you have mapped network drives and you don't know the UNC path for them, you can start a command prompt (Start → Run → cmd.exe) and use the net use command to list your mapped drives and their UNC paths: C:\>net use New connections will be remembered.

How do I get my network drive to show up?

Open File Explorer from the taskbar or the Start menu, or press the Windows logo key + E. Select This PC from the left pane. Then, on the Computer tab, select Map network drive. In the Drive list, select a drive letter.

How do I fix a mapped drive that disappears?

Right click your mapped drive and go to properties. Check the “Reconnect” box. If you are using Home Folders for your user accounts, create a mapped drive in the GPO, setting %HOMESHARE% as the location, and select the drive letter you are using for home drives. Make sure to check the reconnect box here as well.


1 Answers

If you are attempting to run the program as an administrator you will not be able to see mapped drives.

Thanks to @jcolebrand who said this:

Are they running it as an administrative user? If so, mapped drives don't run across UAC elevations, and this could be what you're running into. – jcolebrand Sep 25 '15 at 21:15

In a comment above.

like image 156
Marcello B. Avatar answered Sep 18 '22 22:09

Marcello B.