Closed pizzpea1 closed 1 year ago
windows defender shows if there are other AVs installed, but not if it's the only one. There should be a workaround
I'd need a bit more context here in order to provide some useful information. What OS ? Did you run as admin ? What version of Python ?
Results on my machine include windows defender.
I'm on windows 10, not running as admin, it only shows windows admin when there are other antiviruses installed. If windows defender is the only antivirus, it does not appear in the list
Mind to re-test with latest fix ?
Just FYI:
>>> import windows_tools.antivirus
>>> result = windows_tools.antivirus.get_installed_antivirus_software()
>>> result
[{'name': 'Windows Defender', 'version': None, 'publisher': None, 'enabled': True, 'is_up_to_date': True, 'type': 'Windows Defender / Security Essentials'}]
with the current project state and the setup described in https://github.com/netinvent/windows_tools/issues/10:
tested as admin
"Keys version and publisher are only filled via installed software list." - README.md
Thanks for your report. Version and publisher keys can't be filled using securityCenter wmi calls... The info is not présent.
LGFM
Hello, is your program working correctly? i just ran it and it returned this:
Example code for tests.windows_tools.antivirus, 2021020901 Antivirus software:
[]
Why is there no windows defender?