On Mon, Apr 7, 2025 at 7:05 PM Jim Garrison wrote: > I just ran across this today. In a normal session all my remote mounts > (NTFS, file server running Win10) are visible. In a session that is > "Run as administrator", none of the mounts are visible. > > Is there a configuration parameter that would make mounts visible in the > administrator session? My Google-fu must be off today because I can't > seem to find any references to this "issue".
This behavior, while counterintuitive, is expected. See this article: https://support.microsoft.com/en-us/help/3035277/ What this article is saying, in a convoluted way, is that mapped drives between elevated and non-elevated sessions are not shared. You can tell Windows that you want to share the mappings by setting the EnableLinkedConnections registry value: Hive: HKEY_LOCAL_MACHINE Subkey: SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System Value Name: EnableLinkedConnections Value Data: 1 Data type: REG_DWORD Changing this setting requires a reboot. Bill -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple