files-community / files-community/Files

Bug: Unable to run as administrator

Open
#16,278 11 comments 0 reactions 0 assignees View on GitHub
crash needs - reproducing
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 1m
Merged PRs (30d)
60

Description

### Description

I have installed Files as a non-admin... When right-clicking on the Files app in the start menu, there is an option to "Run as administrator". When I do this, it does present a UAC prompt but then fails to open... It attempts to launch, but then a werfault.exe process is also spawned and it appears to crash. I don't get to see any messages.

If I run CMD as administrator and attempt to install it from there, it launches the install window with re-install and launch... If I click launch, it opens but does not seem to be running as administrator. If I attempt to re-install it makes no difference.

These are AD user accounts with administrator privileges, not local administrator accounts.

### Steps To Reproduce

1. Click Start
2. Right-click Files app > Run as administrator
3. UAC Prompt > Enter credentials
4. Nothing is displayed/open

### Requirements

Opens Files as the user with the credentials used.

### Files Version

3.7.7.0

### Windows Version

10.0.22631.4169

### User ID

files-community

### Log File

[debug.log](https://github.com/user-attachments/files/17181603/debug.log)

This log file is from my non-admin account. I was not able to find a debug.log file under my admin account.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.