Avast causing issue on resume from sleep Windows 10 64bit

I have installed the latest Avast on my PC with Windows 10 64bit, initially I could not get it to install at all without the PC resetting mid-install, but disabling Windows Defender in the registry fixed that and it installed OK. However now if I put the system to ‘sleep’ when I go to wake it Windows resets and does a resume from disk instead. If I disable Hybrid Sleep when I attempt to resume from sleep it cold boots.

I have tested to be sure it is the Avast installation that seems to cause this to happen: if I make a system image before installation when sleep works correctly, install Avast and sleep then doesn’t work, then restore to my pre-Avast system image and sleep works again correctly.

Any suggestions?

Make sure your system time is correct. Reboot your system.

If the problem persists after covering what Bob3160 has suggested you do it may be that your issue is related to a compatibility issue involving WIN10 “sleep functions” and Avast as stated HERE. As pointed out in this topic there is a known “bug” involving the C++ Boost library that is expected to be fixed with the next Boost release that has been causing unwanted behavior in certain waits/timers.

This might help:
https://forum.avast.com/index.php?topic=177267.msg1263935#msg1263935