system 1:
Looks more like a problem with the OS imo.

system 2:
make sure that Avast is not scanning when you shutdown.