Yes, you can use a hair dryer to dry a laptop. However, using it in the coolest setting is advisable to avoid damaging exterior or interior laptop parts. A can of compressed air can also be useful for removing moisture without heat. Place your laptop upside down and hold the can or hair dryer nozzle around 20 cm or more away. Focus the airflow on the worst-affected areas while keeping it moving to avoid excess heat or air pressure damaging your laptop.