My SSD Hard Disk freezes intermittently.

Quick question about setting AHCI. Is there a way to do this other that the registry like on a GUI perhaps?