Skip to content

Mapped network drives are not showed when running VSC with admin rights #155253

@marmojezz

Description

@marmojezz

Issue Type: Bug

Given Windows 10 (Version 21H2 - OSBuild 19044.1766) is installed
And a network drive is mapped in the letter Z:
And the Visual Studio Code is opened as Administrator Rights
When the user click the menu button "File"
And the select the option "Open Folder"
Then the Browser GUI is showed to allow the user to select a folder
But the network drive Z:\ is not available
image

However, repeating the use case above but using regular rights (no admin rights)
Then the network drive Z:\ is showed properly.
image

VS Code version: Code 1.69.1 (b06ae3b, 2022-07-12T08:21:24.514Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz (12 x 2712)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.64GB (18.63GB free)
Process Argv --crash-reporter-id f705a9b0-55d6-4224-ad55-88971c104838
Screen Reader no
VM 0%
Extensions (9)
Extension Author (truncated) Version
atlascode atl 2.10.12
dnsx-extension Die 0.2.6
gitlens eam 12.1.2
codespaces Git 1.9.3
python ms- 2022.10.1
vscode-pylance ms- 2022.7.30
vscode-yaml red 1.9.1
robotframework-lsp rob 0.48.2
vscodeintellicode Vis 1.2.22
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vsclangdc:30486549

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)triage-needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions