-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Files is running as administrator - Due to platform limitations, drag and drop isn't available when running Files as administrator. #14498
Comments
Thanks for the report. Make sure UAC (User Account Control) is not set to never notify. |
Thank you for your feedback, this is a limitation in WinAppSdk where drag & drop causes a crash when the app is running as admin. You can work around this limitation by re-enabling UAC on your device. |
There has to be a better way to prevent Files from running as Administrator. Enabling UAC is quite extreme. I'm still looking for a solution. |
There isn't, With UAC off Windows will open everything as admin, same as if you right clicked > run as admin |
That's unfortunate. Thanks for the info, I wasn't aware. |
Microsoft recently announced they are working on a fix for drag and dropping tabs. This is certainly a step in the right direction, and it gives us hope that it will be fixed for other drag & drop scenarios as well. |
Months have passed, but looks like the bug still persists. :( |
FWIW, when your user account is part of Administrators group (it's by default from OOBE) and UAC is completely disabled, a certain Windows drag and drop handler still misunderstands that the app is running as privileged process token. We already worked on the preparation to be able to enjoy that fix/update Microsoft made but there's an increase crash in that version and we're waiting for further updates. I think it's almost there. |
my windows is always as admin, any suggestion without enabling the UAC? |
There isn't right now #14498 (comment) |
How did you create the current user? Is it from the installation? |
Yes, I ghosted it from a Windows image, so it's already available. |
That is weird, I was wondering if you enabled Built-in Administrator, which is not a standard admin user but a super user, but apparently you didn't have it enabled and use it. However, we check whether Files running as admin in the very appropriate way.
Can you check:
|
Thank you for your response. I have thoroughly investigated the Built-in Administrator account.
|
The terminal image shows that your are running it as admin and on the built in Admin account. This account isn't supported and shouldn't be used, you will have to make a new normal account and switch to that if you want to use drag and drop. |
@minh-tonny unfortunately due to limitations with WinAppSdk, drag & drop isn't supported on the built-in admin account. We're hopeful that this limitation will be removed in the future, but in the meantime, we suggest creating a new Windows account as a workaround. |
@minh-tonny Wait is that screenshot when you run it as admin? |
@0x5bfa Yes, it's true that I took a screenshot in admin mode. |
@yaira2 @Josh65-2201 Thank you very much |
@yaira2 @Josh65-2201 Can I create an account with administator rights, or is it just a standard account? |
You can use an account that has admin access |
it's pretty weird that that dialog pops up even if you didn't elevate Files. |
Right click |
Description
"I keep getting an error message whenever I try to open Files on my computer. This is preventing me from being able to drag and drop files, and it's becoming quite frustrating. Does anyone know of a workaround or a way to fix this bug? I want to find a solution to fix this issue. Keep in mind that using the Microsoft Store version of Files. Update: The same issues occur with Files Stable (Classic installer).
Steps To Reproduce
How do I fix this?
Requirements
Files Version
3.1.1.0
Windows Version
23H2 22631.3078
Log File
Files.bug.mp4
The text was updated successfully, but these errors were encountered: