Before going further, I want to confirm if the issue persisted after disconnecting the scanner.
At this stage, we can refer to the following thread to troubleshoot the issue.
Event Viewer Will Not Close
Hope it helps.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?