Files\AVG\Antivirus\AVGSvc.exe) has opened Registry key ( AVGSvc.exe )

Hello, Frank.
This behavior occurs because Windows automatically closes any registry handle to a user profile that is left open by an application. We'd request to try a clean boot if any security software is not letting windows to close the registry key. A clean boot helps eliminate software conflicts.

Please visit https://support.microsoft.com/en-us/help/929135/how-to-perform-a-clean-boot-in-windows and follow the steps furnished under 'Windows 7' to perform a clean boot.

Above Topic explains the issue.
Have posted about this before.
My OS is Win 7 Pro Sp1 with all updates.
On each boot the below shows in the Event Viewer.
Absolutely no problem with error or anything showing up on boot or shut down of computer.
EVENT ID : 1530.
SOURCE : User Profile.
LOG : Application.
In relation to AVGSvc.exe.
Windows detected your registry file is still in use by another application or services. The file will now be unloaded.
The application is AVGSvc.exe and possibly the Process such as Svchost.exe it depends on… 
Response by AVG Tech Support was re-install operating system.and then AVG.
Well … let me tell you that was a waste of my day and time.
Issue still presents itself afterwards.
Yet AVG works as it should apart from this warning in the Event Viewer.being Event ID 1530 User Profile Service, Application AVGSvc.exe has a opened registry key…
It seems this is a wide spread problem across many different flavours of MS Window as well as many different flavours of Anti Virus products yet nobody can give a definitive answer to the question or solve it.
Even the AVG Tech Staff cannot get to the bottom of this.
All they state is re-install Operating System and AVG and see if it goes away.
What a joke.
With XP of OLD one had the option to install a hot fix called UPHC Hotfix ( User Profile Hive Cleanup ) to unload the User Profile.Hive on shut down.
this is apparently automatic in Win 7 or supposedly so.
Yes, … go figure ???

I am starting to believe this issue presents itself due to AVG being live and continually running in the back ground monitoring which keeps this Registry File and Key open until shut down.
While AVG is monitoring it would be checking in going out going e-mail and monitoring sites one is on and so forth.
( Therefore in my mind there must be a registry key open for it to do this, but nobody can state a definitive YES or NO that this is the case ).
On the next boot it will then inform the user of this in the Event Viewer. and log itself once again.

+System
  
-Provider
		<table border="0" cellspacing="0"><tbody><tr><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1">[ <b>Name</b>]</td><td colspan="1" rowspan="1">Microsoft-Windows-User Profiles Service</td></tr></tbody></table>

		<table border="0" cellspacing="0"><tbody><tr><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1">[ <b>Guid</b>]</td><td colspan="1" rowspan="1">{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}</td></tr></tbody></table>
		</td></tr></tbody></table>
  
 EventID1530
  
 Version0
  
 Level3
  
 Task0
  
 Opcode0
  
 Keywords0x8000000000000000
  
-TimeCreated
		<table border="0" cellspacing="0"><tbody><tr><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1">[ <b>SystemTime</b>]</td><td colspan="1" rowspan="1">2018-10-24T19:38:36.030166800Z</td></tr></tbody></table>
		</td></tr></tbody></table>
  
 EventRecordID58361
  
 Correlation
  
-Execution
		<table border="0" cellspacing="0"><tbody><tr><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1">[ <b>ProcessID</b>]</td><td colspan="1" rowspan="1">1032</td></tr></tbody></table>

		<table border="0" cellspacing="0"><tbody><tr><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1">[ <b>ThreadID</b>]</td><td colspan="1" rowspan="1">5808</td></tr></tbody></table>
		</td></tr></tbody></table>
  
 ChannelApplication
  
 Computer 
  
-Security
		<table border="0" cellspacing="0"><tbody><tr><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1"> </td><td colspan="1" rowspan="1">[ <b>UserID</b>]</td><td colspan="1" rowspan="1">S-1-5-18</td></tr></tbody></table>
		</td></tr></tbody></table>
-EventData
  Detail3 user registry handles leaked from \Registry\User\S-1-5-21-4045958357-1554478307-1982566148-1000: Process 1376 (\Device\HarddiskVolume2\Program Files\AVG\Antivirus\AVGSvc.exe) has opened key \REGISTRY\USER\S-1-5-21-4045958357-1554478307-1982566148-1000 Process 1376 (\Device\HarddiskVolume2\Program Files\AVG\Antivirus\AVGSvc.exe) has opened key \REGISTRY\USER\S-1-5-21-4045958357-1554478307-1982566148-1000 Process 1376 (\Device\HarddiskVolume2\Program Files\AVG\Antivirus\AVGSvc.exe) has opened key \REGISTRY\USER\S-1-5-21-4045958357-1554478307-1982566148-1000

Hello, Frank.
This behavior occurs because Windows automatically closes any registry handle to a user profile that is left open by an application. We'd request to try a clean boot if any security software is not letting windows to close the registry key. A clean boot helps eliminate software conflicts.

Please visit https://support.microsoft.com/en-us/help/929135/how-to-perform-a-clean-boot-in-windows and follow the steps furnished under 'Windows 7' to perform a clean boot.