Files: The appication triggers UAC on opening any file

Created on 7 Jun 2020  ·  5Comments  ·  Source: files-community/Files

Describe the bug
When I try to open any file (even text ones) then Windows (UAC) asks me to allow this action.

To Reproduce
Steps to reproduce the behavior:

  1. Create any file (for example E:\temp\test.txt) in classic Windows Explorer or "Files UWP".
  2. Try to open this file in "Files UWP" with doubleclick.
  3. You see that UAC triggers.

Expected behavior
I expect that UAC do not triggers on any files that do not require admin permissions (such as some exes) and I would expect that file just opens with default program.

Screenshots
IMG_20200607_183719

Desktop (please complete the following information):

  • OS Version: [e.g. Windows 10 1909 18363.836]
  • App version: [v0.9.1]

Additional context
If I choose "No" in UAC dialog, then file opens just right. If I choose "Yes", then the file do not opens.

bug needs-triage

Most helpful comment

Well, when I added takeown, that dialog also appeared when I wanted to open any file, when I removed it, it no longer appeared.

Delete the TakeOwnership folder from::
HKEY_CLASSES_ROOT*\shell\
HKEY_CLASSES_ROOT\Directory\shell\

Delete the runas folder from::
HKEY_CLASSES_ROOT*\shell\
HKEY_CLASSES_ROOT\Drive\shell\

All 5 comments

I guess you have "takeown" added in the registry

I guess you have "takeown" added in the registry

Could you please explain what exactly does that means? I have a lot of "takeown" in registry. But I did not add them myself. Is it bad?

Well, when I added takeown, that dialog also appeared when I wanted to open any file, when I removed it, it no longer appeared.

Delete the TakeOwnership folder from::
HKEY_CLASSES_ROOT*\shell\
HKEY_CLASSES_ROOT\Directory\shell\

Delete the runas folder from::
HKEY_CLASSES_ROOT*\shell\
HKEY_CLASSES_ROOT\Drive\shell\

Delete the TakeOwnership folder from::
HKEY_CLASSES_ROOT*\shell\
HKEY_CLASSES_ROOT\Directory\shell\

Delete the runas folder from::
HKEY_CLASSES_ROOT*\shell
HKEY_CLASSES_ROOT\Drive\shell\

Yes, it worked. Thanks for the help!

Well, when I added takeown, that dialog also appeared when I wanted to open any file, when I removed it, it no longer appeared.

Delete the TakeOwnership folder from::
HKEY_CLASSES_ROOT*\shell\
HKEY_CLASSES_ROOT\Directory\shell\

Delete the runas folder from::
HKEY_CLASSES_ROOT*\shell
HKEY_CLASSES_ROOT\Drive\shell\

Thanks a lot!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

szaimen picture szaimen  ·  4Comments

ChenShihuan picture ChenShihuan  ·  3Comments

yaichenbaum picture yaichenbaum  ·  3Comments

Jaiganeshkumaran picture Jaiganeshkumaran  ·  3Comments

yaichenbaum picture yaichenbaum  ·  3Comments