Hello Janet, sorry to know this. It seems to be a windows error usually caused by misconfigured system files that create registry errors within your operating system. I request you to contact Microsoft support through the following link https://support.microsoft.com/en-us . Thank you.
I am sorry to hear this, Are you getting this error during Windows startup or while using AVG?
Thank you.