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?
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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With