For Windows, Microsoft recommends running a disk defragmenter and virus scanner at least once a month. For Macs running OS X Lion or later, you can use the built-in Disk Utility app to check and repair disk permissions, among other maintenance tasks.