Solved (but I am not sure how)!

It was the “do not run if on battery” or what it´s called in the english version.
I unchecked this, even if it shouldn´t have been necessary as I had the power cable connected before and during scan, and it worked. I hope it keeps working now and was not a one time only thing.

Thanks everyone.