Go to Preferences and then open Scratch Disk. Click the checkbox to choose or remove a drive as the scratch disk. Tick OK.