-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Unable to access administrative shares #14903
Comments
8 tasks
Thanks for the feedback. |
Josh65-2201
changed the title
Unable to access administrative shares
Bug: Unable to access administrative shares
Mar 5, 2024
github-project-automation
bot
moved this from 🏗 In progress
to ✅ Done
in Files task board
Mar 5, 2024
@nmangue thank you for the report and fix, this will be included in the next release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I am using Files in an enterprise environment to access a server administrative shares drive by using \myserver\c$. Doing so I get an error message (cf. screenshot). The error occurs on the first call to WNetAddConnection3 on NetworkDrivesAPI@136 which returns Win32Error.ERROR_ACCESS_DENIED. This is normal since Files is running with a user account and I need to use an administrator account to access this share. However the rights elevation is currently not triggered. Reusing the following block to trigger the elevation does work.
Steps To Reproduce
Requirements
Ask for credentials if the current user is not allow to access the share
Files Version
3.2.3.0
Windows Version
Windows 10 Entreprise 22H2 19045.3324
Log File
NA
The text was updated successfully, but these errors were encountered: