I did as suggested and the blue screen still popped up during the restart after running Avast Clear with ‘Avast Clear Uninstall Utility’ as an option for the Operating System.

Also I had to install Avast again.