Added detection of ransomware protection

This commit is contained in:
Thorsten Sommer 2022-07-17 15:49:27 +02:00
parent 36a8efb05d
commit 0364c54427
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -17,6 +17,13 @@ public static class ExtensionsError
foreach (var blockingProcess in blockingProcesses)
sb.AppendLine($"- {blockingProcess.ProcessName} (id={blockingProcess.Id})");
// Is there only one process and it is this one?
if (blockingProcesses.Count == 1 && blockingProcesses.First().ProcessName == "I18N Commander")
{
sb.AppendLine();
sb.AppendLine("Hint: Is the ransomware protection enabled in your Windows system? If so, please make sure that the I18N Commander has write permission.");
}
return new ProcessorResult<TResult>(null, false, sb.ToString());
}
else