-
-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Не работает с установленным Kaspersky Standard #605
Comments
Привет. Это крайне странно. Сторонние антивирусы не ломают и не удаляют Defender, потому возникает вопрос: почему не проходит проверку, если с ОС все OK? Можно ссылку, где качался Kaspersky Standard? Я проверю у себя. Но предыдущие тесты с АВ не останавливали работу скрипта. Жду... |
Get-CimInstance -ClassName MSFT_MpComputerStatus -Namespace root/Microsoft/Windows/Defender Get-CimInstance -ClassName AntiVirusProduct -Namespace root/SecurityCenter2 Get-Service -Name Windefend, SecurityHealthService, wscsvc Get-CimInstance -ClassName MSFT_MpComputerStatus -Namespace root/Microsoft/Windows/Defender На какую команду(ы) выдает ошибку? |
Я нагуглил вот это: https://www.kaspersky.ru/downloads/standard |
Поставил на виртуалку тот АВ, перезагрузился и запустил скрипт. Все проверки прошли. Значит, вопрос к тому, что запускалось ранее, то бишь Kaspersky, каким он плохим ни был, не виноват. |
Технически я так и не получил ответ на мой вопрос... |
Дистрибутив получаю в личном кабинете Ростелекома (услуга Kaspersky Standard 3 устройства). |
Но это так и не получил ответ на мой второй вопрос, потому и доказал, что ОС была сломана прочими программами. |
Yeah I got the same error and none of the commands in this comment #605 (comment) returned an error. I'm running a new legit copy of windows 11. This issue should be open. |
@skamensky, hello.
|
The completed list of checkings is test-path "$env:SystemRoot\System32\smartscreen.exe"
test-path "$env:SystemRoot\System32\SecurityHealthSystray.exe"
test-path "$env:SystemRoot\System32\CompatTelRunner.exe"
[Microsoft.Win32.Registry]::GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer", "SettingsPageVisibility", $null) -match "hide:windowsdefender"
Get-CimInstance -ClassName MSFT_MpComputerStatus -Namespace root/Microsoft/Windows/Defender
Get-CimInstance -ClassName AntiVirusProduct -Namespace root/SecurityCenter2
Get-Service -Name Windefend, SecurityHealthService, wscsvc
(Get-MpPreference).EnableControlledFolderAccess Please provide an output for every command |
this concers @IgorLytkin too, despite I haven't been provided any output before like I have a problem with script invoking, not you. And it's very funny to see you putting a smile on my message like anything will change for you. it's only up to you to provide an additional info here or leave everything as it is with a broken Windows (which is not far from truth). |
Hi, I have this problem on multiple machines. Regarding to #605 (comment) her is the output from one of this machines:
|
@mpibpc-mroose, hello. Why you have 3 AVs?)) why? |
There is only one: Trend Micro. That one replaced Kaspersky some time ago... Seems that the uninstallation did not clean up the mess ;-) No I did not call any tweaker before. But it's an older Windows which has recently gotten an inplace upgrade. But this is common for my infrastructure and until the latest version of Sophia it did never break like now. |
The fact is that Defender has been broken before. Sophia, unlike any other tweakers, warns user about Windows stability. |
Fully aggree, a warning is a good thing. But from my oppinion there should be a possibility to override the warning. Only errors should be a show stopper... And the questions why this issue arised with the newest version ramains open, if I did not miss anything. |
This
Our opinion is that if user has such critical issue with a system component which Defender is, we have to stop executing the whole script as we may have another |
I made some test for further investigation of this problem. I installed a fresh Windows 11 24H2 on a computer. Then before doing anything else I run Sophia Script and there was no "broken defender warning". Then I installed Trend Micro Apex One and rebootet the computer. After this when running Sophia the problem appears again. I think there is nothing wrong with this computer. Defender gets deactivated as soon as another AV-solution is installed. |
I will take into account. Please share a link to Trend Micro to test from my side? |
Nobody says otherwise. We are talking about why the exact cmdlet stops working throwing a specific error PS (Get-MpPreference).EnableControlledFolderAccess
Get-MpPreference: Operation failed with the following error: 0x%1!x! |
I'm pretty sure you are right and Trend Micro is somehow messing up the Defender... It's a pitty... |
Anyway, I will think it out how to improve error handling and probably bypass that error to continue script. Please wait a new commit. :) |
Thanks a lot! |
Could you please provide a link to the Trend Micro exact solution to test? |
https://downloadcenter.trendmicro.com/index.php?regs=uk&prodid=1745 "Trend Micro Apex One". Unfortunately there are no stand alone clients, this is the full endpoint protectuin suite. Thats why I can't just provide a link to the client which is causing the trouble. But I can do the tests for you a any time if that helps. I tried to reach out to Trend Micro and to file a bug report. But unfortunately the support contract ist expired and the new contract is not yet running... |
Tried on a Windows 11 Pro VM via Hyper-V. |
|
(Get-MpPreference).EnableControlledFolderAccess |
|
ЧТД? |
Я не знаю. Факт в том, что если удалить временно Kaspersky Standard, то скрипт начинает работать без предупреждения из-за которого он не работает при установленном Kaspersky Standard. |
|
Prerequisites
Steps to reproduce
Your Sophia Script preset
ModuleType Version Name ExportedCommands
Script 6.8.1 Sophia {ActiveHours, AdminApprovalMode, AdvertisingID, AeroShakin...
ПОДРОБНО: Пожалуйста, подождите...
OK
ПОДРОБНО: GET with 0-byte payload
ПОДРОБНО: received 15517-byte response of content type text/plain; charset=utf-8
ПОДРОБНО: GET with 0-byte payload
ПОДРОБНО: received 13522-byte response of content type text/plain; charset=utf-8
ПОДРОБНО: GET with 0-byte payload
ПОДРОБНО: received 12383-byte response of content type text/plain; charset=utf-8
ПОДРОБНО: GET with 0-byte payload
ПОДРОБНО: received 10653-byte response of content type text/plain; charset=utf-8
ПОДРОБНО: GET with 0-byte payload
ПОДРОБНО: received 21459-byte response of content type text/plain; charset=utf-8
ПОДРОБНО: GET with 0-byte payload
ПОДРОБНО: received 18769-byte response of content type text/plain; charset=utf-8
ПОДРОБНО: Пожалуйста, подождите...
ПРЕДУПРЕЖДЕНИЕ: Microsoft Defender сломан или удален из ОС. Переустановите Windows, используя только подлинный
ISO-образ.
ПОДРОБНО: https://www.microsoft.com/software-download/windows11
ПОДРОБНО: https://t.me/sophia_chat
ПОДРОБНО: https://discord.gg/sSryhaEv79
Describe the bug
ПРЕДУПРЕЖДЕНИЕ: Microsoft Defender сломан или удален из ОС. Переустановите Windows, используя только подлинный
ISO-образ.
Screenshot with an error
Windows Version
Microsoft Windows [Version 10.0.26100.1742]
Sophia Script version
6.8.1
The text was updated successfully, but these errors were encountered: