My mac is rebooting everytime I login I have downloaded these apps to conveniently shutdown or restart my MAC from spotlight. Usually I used the shutdown app which worked great. Today I used the restart app. Since then my MAC is restarting gives me the login screen, I type the password, the desktop starts to show, and before it finishes loading, boom, another restart.

I noticed that when logging in, the preview app is opened again (it was open when I ran the restart command), so one idea I have, is that somehow the OS is relaunching the restart app, causing a new restart. Yet I'm not sure, could be totally bug from Apple, or anything else.


I did use the restart app in the past a few times without a problem.
The same problem was about two weeks ago, but only one restart happened, then the computer worked fine. I'm not sure, but I think that then I did not use the restart app. But I'm very vague with my memory on this one, because it was only one restart, so I didn't think there is a problem.


I tried, while being on the login screen, to not type the password but press the restart and shutdown buttons at the bottom. Also tried leaving the computer not connected to the electricity for about 3 hours. Nothing changed.

What can I do to get it working again?

In case it makes any difference:


Mac Mini (mid 2011)
Yosemite (updated about a 5-7 weeks ago)
After reading a bit through the internet I found the 'safe mode', there I deleted some random files from the desktop, and changed the dock settings so it is always visible (I don't think these had any effect). Then I restarted and made sure the little checkbox next to '' is empty (probably this made the effect). When the computer started I could log in, but it is still weird, the desktop background image disappears and comes back, no dock, ... see my followup question.

The next time I logged in I moved all the apps to the trash, just in case.