microsoft/PowerToys

[File Locksmith] Request confirmation on closing processes

Open

#21,807 opened on Nov 6, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C# (7,978 forks)batch import
Area-User InterfaceHelp WantedIdea-EnhancementProduct-File Locksmith

Repository metrics

Stars
 (133,154 stars)
PR merge metrics
 (Avg merge 14d 20h) (117 merged PRs in 30d)

Description

Add a warning/confirmation message that is shown when you close the process owned by a different user or the system/nt-service, ... user? Originally posted by @htcfreek in https://github.com/microsoft/PowerToys/issues/21688#issuecomment-1302507429

The warning/confirmation message should prevent users from losing data or crashing the system.

We can have the following message cases:

  • Same user: Are you sure to close the process <name>?
  • Different user: Are you sure to close the process _name_? Attention, it is owned by the user <user name>.
  • System process (User=System/Service/...): Are you sure to close the process <name>? ATTENTION, IT IS A CRITICAL SYSTEM PROCESS!

We can also add a setting to warn only for processes that are critical or belongs to an other user.

Contributor guide