How to stop long hardware scans on boot up