Also, other popular antivirus programs don't have problem like this at all, it is just Avast with windows 10, then it is very simple logic that it is Avast not really compatible with Windows 10. Microsoft would not change code of windows (I would not say this is bug) to let Avast works in Windows 10, Avast needs to change code of the antivirus program to work in Windows 10.