

The script pulls all servers and gets all information from both the standard antivirus information and from features (presented in WS2016 and higher). Where tblAssetCustom.State = 1) And tblComputersystem.Domainrole >= 2 And TblAssets.LocationID = tsysIPLocations.LocationID TblAssets.OScode = tsysOS.OScode Left Join tsysIPLocations On TblAssets.AssetID = unioned.assetid Inner Join tsysOS On Unioned.assetid = tblAssetCustom.AssetID Inner Join tblAssets On 'Windows Defender')) As unioned Inner Join tblAssetCustom On TblFeatureUni.featUniID And tblFeatureUni.featureCaption = Inner Join tblFeatureUni On tblFeature.featUniId = When tblAntivirus.productUpToDate = 1 Then 'Yes' When tblAntivirus.onAccessScanningEnabled = 1 Then 'Yes' Inner Join tsysantivirus On tblSoftwareUni.softwareName Like Inner Join tblSoftwareUni On tblSoftware.softID = TblAssets.AssetUnique From ((Select a.assetid As assetid,įrom (Select tblSoftware.AssetID As assetid, TblAssets.AssetID Not In (Select tblAntivirus.AssetIDįrom tblAntivirus) And tblAssets.AssetUnique Not In (Select

TblSoftwareUni.softwareName Like tsysantivirus.Software) And TblSoftware.softID Inner Join tsysantivirus On Where tblAssets.AssetID Not In (Select tblSoftware.AssetIDįrom tblSoftware Inner Join tblSoftwareUni On tblSoftwareUni.SoftID =

Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID If you've uninstalled an antivirus, you might need to reboot and or try the steps again.Inner Join tblComputersystem On tblAssets.AssetID = tblComputersystem.AssetID If that fails, check Windows Security > Virus & threat protection > Manage settings > Real-time protection is toggled on. If not, double-click DisableAntiSpyware and change the Value Data to 0 and click OK. The new key should have a Value Data of 0. Name this new key DisableAntiSpyware and press Enter to save. If you don't see DisableAntiSpyware, right-click on the right window and click New > Dword (32-bit Value). Look for a registry key in the right window that's called DisableAntiSpyware. Type Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender into the search bar. Press the Windows Key + R, type in regedit and press Enter. Update - For those coming here about April 2020 problem, Microsoft has fixed the problem. Another common reason is when malware or a virus disabled your antivirus. These Windows Defender errors frequently appear after uninstalling another antivirus and allowing Windows Defender to take over as your primary antivirus. TIP: Hard to fix Windows Problems? Repair/Restore Missing Windows OS Files Damaged by Malware with a few clicks
