Windows 7 Avast not found

I’m using Avast Internet Security on a windows 7 PC.
I constantly get the Windows ‘Solve PC issues’ message that I should either turn on my antivirus program or I should find an antivirus program online.
Is this a Windows issue, an Avast issue or have I not configured things correctly?

This is a well know Windows bug.
Please use the search option before posting.

Here Avast thread to read: https://forum.avast.com/index.php?PHPSESSID=gnt4j140retmr03nqujt1kmpf4&topic=149775.0
If that does not work another soft approach you can do is clear history and/or turn off message:
http://www.sevenforums.com/tutorials/364-action-center-change-message-settings.html
http://www.sevenforums.com/tutorials/4567-problem-reports-solutions-clear-history.html

Finally, a more brute force method…
For Windows Vista/7/8
a) Open an elevated command prompt as follows
For Vista/7 go to Start > All Programs > Accessories > right click on Command Prompt and choose Run as Administrator
For Windows 8 hover the mouse to the bottom left corner until you are seeing the Start pictogram > right click on it and choose Command Prompt (Admin)
b) In the command prompt window type the command below and press Enter
winmgmt /verifyrepository
c) You will get either one of these results:
WMI repository is consistent -no problems detected >> go to step f)
WMI repository is inconsistent -problems detected >> go to step d)
d) To rebuild the repository type the command below and hit Enter
winmgmt /salvagerepository
e) You will receive one of the results below
WMI repository is consistent -no problems detected >> go to step f)
WMIrepository salvage failed -failed to rebuild WMI repository. Try repeating step d) again.
WMIrepository has been salvaged - WMI repository has been successfully rebuilt. >> go to step g)
f) Reset the repository to its initial state using the command below and hit Enter
winmgmt /resetrepository
g) Now reboot the PC and check if the issue reoccurs