Files
Files copied to clipboard
Feature: Implement support for elevated operations
What feature or improvement do you think would benefit Files?
After we remove the full trust process, we need to implement a new model for elevated operations. Users can already open Files as administrator to work around this issue today, but it's still better to have from the perspective of user experience.
Requirements
- For elevated operations, use an elevated COM component to execute them
- Possible blocker: https://github.com/microsoft/WindowsAppSDK/issues/3092
Files Version
2.3.58
Windows Version
Windows 11 25236
Comments
No response
Hello, I wanted to know when the administrator issues will be resolved because I still have to remove Files from the default file explorer and switch to the Windows one in order to delete or rename my protected folder, for example, and then switch back to Files as the default file explorer.
@Lukiluc29 It depends on the blocker issue https://github.com/microsoft/WindowsAppSDK/issues/3092.
@Lukiluc29Cela dépend du problème de blocage microsoft/WindowsAppSDK#3092 .
You don't have any more recent information on this bug as it has been present for a long time.
For reference here the changes I'd make to implement this once https://github.com/microsoft/WindowsAppSDK/issues/3092 is fixed: https://github.com/gave92/files-uwp/tree/admin_ops. Alternatively we could just loose hope in a fix and implement admin operations with a separate process (like we used to do) but it's annoying.
For reference here the changes I'd make to implement this once microsoft/WindowsAppSDK#3092 is fixed: https://github.com/gave92/files-uwp/tree/admin_ops. Alternatively we could just loose hope in a fix and implement admin operations with a separate process (like we used to do) but it's annoying.
And it is not possible to re-implement administrative operations as before with a separate process while waiting for https://github.com/microsoft/WindowsAppSDK/issues/3092 to be fixed? Because sometimes it's a bit annoying to always go back to the default explorer to open, delete, or rename a folder/file with administrator permissions without having to constantly run Files as an administrator.
This issue is resolved in our dev branch and will be included in the next release.