Do you have a Mac which won’t shutdown or restart? Perhaps you’re trying to update it?
If it hangs on a black screen with the mouse cursor top left of the screen then this fix might help.
First – close all other programs that might be open.
Then – you’ll need to launch a terminal window and then enter the following commands:
- rm -rf ~/Library/Caches/*
- rm -rf ~/Library/Saved\ Application\ State/*
- sudo rm -rf /Library/Caches/*
- sudo rm -rf /System/Library/Caches/*
- atsutil databases -removeUser
- sudo atsutil databases -remove
- sudo atsutil server -shutdown
- sudo atsutil server -ping
- sudo rm -rf /var/folders/*
Be careful to enter these commands accurately!
Once you’re done – restart the machine and you should be back to normal.
Another sign that this may help you is if spotlight isn’t working properly (for example – it doesn’t find “Disk Utility”).