If scanner is not working but printer is working, follow these instructions i.e. update driver, restart Windows service, etc.
Faulty hardware is the most common cause of this problem. Check this. Disconnect all the peripherals connected to your system and scan for hardware changes. If your PC does not freeze this time, you ...