@ davidz,
We are happy to hear that your machines are working well now.

Here are a few suggestions in addition to the ones given to you by Essexboy to keep you and your machineS safer in the future:
1. Keep your definitions up to date for both Avast and MBAM.
2. Keep all your shields on with Avast.
3. Update MBAM
prior to scanning, then do Quick scans.
4. Keep your MS Updates current.
5. Add things to your browsers for safer browsing. See my and DavidR's Signature as an example.
6. Use common sense when browsing and do not go to risky sites.
7. When downloading software, read what you are clicking and do not download adware toolbars, which are commonly opted in; look before you click or do a Custom installs to avoid putting unwanted toolbars on your machine that lead to spyware tracking or adware.
8. Check to see that your software is up to date with the
free Secunia Software Inspector
http://secunia.com/vulnerability_scanning/personal/ since software is changing all the time. This site gives you the vendor's direct download link making it easy to upgrade your software. Many of us here scan our machines weekly.
Please let us know if you have any questions.
-> Now that your issue is resolved/fixed, please go back to the
first open post in this topic, click the modify button in that Post and change the title/subject, add
[Resolved] to the
beginning of the title so this thread can be closed.
Feel free to come back any time you need help, to learn something new, or just to ask questions. We are here 24/7 for your convenience. Thank you for allow us to assist you.