Hi,
Thank you for writing to Microsoft Community Forums.
I understand that you have issue scanning images.
It would be great if you can answer these questions to assist you in a better way.
· What is the make and model of the scanner?
· What happens when you try to scan?
· Are you using Windows Defender firewall or any other security software?
· Are you aware of any changes made to the computer recently?
Meanwhile, you can try the following steps and check.
Fix printer connection and printing problems in Windows 10
Re-Install and use a scanner in Windows 10
Automatically diagnose and fix problems with Windows Firewall
If you are using an HP Printer/Scanner, you may also refer,
HP Printers - Firewall Blocking Driver Install or Printer Function (Windows)
Let us know the results and we will certainly assist you further.