Which procedure is recommended when cleaning inside a computer? Clean the hard drive heads with a cotton swab. Hold the CPU fan to prevent it from spinning and blow it with compressed air. Remove the CPU before cleaning. Invert the can of compressed air while spraying.