Hello,

I installed the Freesurfer tool several months ago. Today when I run the "recon-all" command, it showed the error

"ERROR: Invalid FreeSurfer license key found in license file /usr/local/freesurfer/.license
  If you are outside the NMR-Martinos Center,
  go to http://surfer.nmr.mgh.harvard.edu to
  get a valid license file (it's free).
  If you are inside the NMR-Martinos Center,
  make sure to source the standard environment."

I have created a .license file and copied the following information from the email.
Y***@hotmail.com
26162
 *C0m0U2INd.0M
 FS1DlaVbYasqE
But the error still exits. I don't how to solve it. Can anyone help me? Thank you so much.

Best

Lin Yuan