You must ensure that your scanner is powered in the first location to use your scanner.
You should then check the link problem. Check USB ports and USB wires when using a USB scanner to guarantee that it operates correctly. When using a network scanner, make sure your computer has a healthy internet connection and that your scanner connects under the internet to your laptop. Furthermore, if you are using a VPN on your laptop, attempt to disconnect VPN from your laptop and scan it again.
Do not worry if you have checked the steps above and your HP scannerstill doesn’t operate. Something else can be tried.