Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iMac (27"-2011) won't restart/shut down. Everything shuts down but the dock.

I'm having an issue whenever i try to shut down my iMac. All the desktop items and the menu bar disappear, but the dock still remains there thus preventing the computer from shutting down/restarting. This doesn't happen all the time but when it does happen i'm forced to manually shut down the computer. What could the issue be?

~I'm running the latest version of Yosemite (This issue has been happening even before this operating system)

~I also check to make sure all running apps in the background are closed using Command+Option+ESC.

~And i did a pram reset.


Forever yours,

John P.

iMac

Posted on Jul 16, 2015 5:25 PM

Reply
17 replies

Jul 16, 2015 5:32 PM in response to jparento

The Dock may have a corrupt preference file. Try removing the /Home/Library/Preferences/com.apple.dock.plist and the com.apple.dock.extra.plist files to the Trash, but don't Empty the Trash. Open the Terminal in the Utilities folder and at the prompt paste the following: killall Dock. Press RETURN. See if that helps.

Jul 16, 2015 9:11 PM in response to jparento

Exposing the /Home/Library/ Folder


Pick one of the following methods:


A. This method will make the folder visible permanently. Open the Terminal application in your Utilities folder and paste the following at the command prompt:


chflags nohidden ~/Library


Press RETURN.


B. Click on the Desktop, press the OPTION (⌥) button, select Library from the Finder's Go menu.


C. Select Go To Folder from the Finder's Go menu. Paste the following in the path field:


~/Library


Press the Go button.

Jul 16, 2015 9:46 PM in response to jparento

Then it's possible something else is stopping the shutdown. Note the exact time of the hang. Reboot and open the Console in the Utilities folder. Look for the timestamp you noted and see what is listed in Console log for possible clues to what is holding up the shutdown.


Try booting into Safe Mode, then try a shutdown and see if it works. If that doesn't help, then create a new user account. Log into the new user account, set it as the default startup account. Reboot the computer and try another shutdown. See if it works.

Jul 17, 2015 5:02 PM in response to jparento

That's not readable. Please make a screen snap of the log or, better yet, copy the text and post it here.


To post screen shot do this:


  1. Press COMMAND-SHIFT-4 which will change the cursor to crosshairs.
  2. Hold down the mouse button and use the crosshairs to select the part of the screen you wish to capture.
  3. Release the button and the image will be saved to your Desktop.
  4. Click on the Camera icon in the toolbar of the forum message editor.
  5. Drag the image onto the Choose File button and click on the Insert button.

Jul 17, 2015 9:38 PM in response to jparento

Not knowing if these entries are related to your problem, but the item to which it refers is the Malware Removal Tool (mrt.) The entries suggest the tool will not shutdown, but I have no idea why. Most all of the log entries might as well be Greek. I surely don't know the cause of this. Were I to see this on my machine I would probably just backup, erase the drive, then reinstall OS X from scratch. But I would be inclined to try what I suggested earlier:


Try booting into Safe Mode, then try a shutdown and see if it works. If that doesn't help, then create a new user account. Log into the new user account, set it as the default startup account. Reboot the computer and try another shutdown. See if it works.

Jul 19, 2015 5:25 PM in response to jparento

Backup your files and do this:


Install or Reinstall OS X from Scratch


Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.


Boot to the Recovery HD:


Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears.


Erase the hard drive:


1. Select Disk Utility from the main menu and click on the Continue button.


2. After DU loads select your startup volume (usually Macintosh HD) from the

left side list. Click on the Erase tab in the DU main window.


3. Set the format type to Mac OS Extended (Journaled.) Click on

the Erase button and wait until the process has completed.


4. Quit DU and return to the main menu.


Reinstall OS X: Select Reinstall OS X and click on the Install button.


Note: You will need an active Internet connection. I suggest using Ethernet if possible

because it is three times faster than wireless.


This should install the version of OS X that you had installed.

Jul 28, 2015 7:21 PM in response to Kappy

OK, I found a fix for my situation. So I noticed that there was an OS Update that was due, but my computer couldn't restart if I let it do its thing. So I manually shut it off. When I got to the login screen I restarted from there. That allowed the update to install and let my computer restart. After the computer finished the install and I logged back into my account, I restarted my computer with no problems.


TL;DR - manually turn off computer. ---> Restart from login screen. ---> Log back into account and test it out again.

Sep 14, 2016 8:15 PM in response to jparento

Ok............. (here we go - sorry, but despite all of the data I would like to present I still have not solved this problem)


I have been having this problem for years with MacBook Pro. Right now I'm using a late-2015 i7 MBP with the new SSD (500GB), 16GB RAM (factory max), & no video card, all stock. However, this issue actually started on my last MBP - a mid-2010 i7, otherwise base model / 512GB (I think actually 500GB) HDD / 4GB RAM stock that I upgraded to 8GB pretty quick - amidst a slew of insanity that ultimately lead to that computer becoming all but inoperable. It should be shamelessly noted that I have always kept my hard drives pretty full, as well as the fact that I am a music producer and this is my main production computer, so I have lots of technical software installed like plugin license management software, DAWs with license software that's always running, lots of big audio files / project files (though I try to keep those on an external or cloud drive), Adobe Creative Cloud (but not near everything installed on this machine - I have an iMac with a graphics card for graphics), etc. I can't remember the timeline exactly, but all of this occurred between mid-2013 and late-2015:


• things got UNBEARABLY slow, and I had already maxed the recommended RAM at 8GB with chips from Newegg;

• I got a 512GB Samsung 850 Pro SSD, which SUBSTANTIALLY sped things up - I used the OSX transfer software with the new SSD plugged in via USB in an enclosure;

• Mavericks was going pretty well, and that's when I got the SSD, but then Yosemite happened and I started having issues with the software for my audio hardware and other core functions / software (including, ironically, Logic Pro X, and I realize now that I should have read the forums before upgrading), until eventually the shut down problem started - I definitely can't remember at what point the computer stopped shutting down, but it started on the old machine and this post perfectly describes what happens, and I believe it started on a restart-required software update gone wrong;

• I also remember a full download of the El Capitan installer being stuck hidden somewhere on my hard drive, and I don't remember how I managed to get rid of it but I read the instructions here for certain;

• the display started glitching in the craziest ways - flickering green streaks would show up on black spaces at first, sometimes going away when I pressed down on specific places on the RAM bus and occasionally on the display connector, but eventually red and yellow colors started showing up until finally the whole screen became mostly flickering green pixels and I couldn't do much with it;

• I got the new 2015 MBP with all the bells and whistles minus the video card, still 500GB, still mostly full until literally the other day when I discovered my iTunes library could sync with a Google Drive folder and freed up 120GB - I put my Samsung drive in the enclosure again and this time I installed my profile & files from Time Machine running on an external Western Digital HDD;

• while things were still fresh on the new machine and my backups were current, I wiped and reinstalled the OS several times, both from Time Machine and from scratch (I can't say how grateful I am for this computer's immense speed in troubleshooting this mess);

• oh, and I've taken this to the Apple Store... I took it with two other malfunctioning machines and the kids there were completely bewildered by all of my non-iPhone-related issues;

• the new machine still does not shut down, and on rare occasion the display has shown me tiny little green dots on black, or one or two flashing streaks of white light...


I have Apple Care, but considering the Apple Store couldn't help and I have already gotten a new machine, I'm hesitant to go weeks without a laptop I have read several discussions here and on other forums over the years. I will probably do it in the third year to make sure I'm moving into the future on the best foot I can manage. The only two things in this thread I hadn't tried yet were creating a new admin user to test its situation, and deleting the dock preferences. I first created the new admin user, but decided to run the preferences test before shutting down. I moved the dock plist file to the trash but did not empty it - that file is still sitting there alone (the com.apple.dock.extra.plist was not present, and I do not know if this is weird or not) and there is not a com.apple.dock.plist file in my preferences folder currently after the many boot sequences I am about to describe - and ran the killall Dock command. Still had to manually shut down. When I booted, instead of logging into either user I decided to go ahead and try the login-screen-reboot-fix again, which I've both read about and tried several times. This is where my world changed:


• The screen went black and a software update window appeared, following through with the update sequence I suspected never happened before I started seeing so many people saying their computers worked again after achieving the update in various ways, each of which I tried when I saw them to no avail. I suspect this matter is extremely complicated by now, because I've updated many times over the last two years via safe mode, which always shuts down properly. I might have just reinstalled ancient software on top of my current OS, which I just updated in safe mode yesterday. Needless to say, I was immediately filled with a naive yet detached sense of hope, that was only met with disappointment, but not at first. To my glee, after the update installed my computer shut down for the first time I have seen an MBP I own perform a simple shut down in two years.

• Of course I turned it right back on so I could log into my profile and shut it down, but alas, it would not. Same story as this post. Again. Wah wah.

• Try again... It shuts down!

• One more time... It does not shut down...

• So over the next several shut down attempts I tested different things that I would do. I tried quitting f.lux before shutting down and it shut down, not quitting f.lux and it did not shut down, repeating those two tests a few times, but then I reversed it and tried not quitting f.lux first and it did shut down. I did quit f.lux the next run and it did not shut down.

• This meant one of two things to me. The less likely unlikely scenario was that I incidentally initiated the dock before every other shut down attempt, so I essentially ran the f.lux test again but with engaging or not engaging the dock before shut down. That test was inconsistent in the exact same pattern, but it occurred to me that since I repeated the same test exactly both times the computer may very well be successfully shutting down every second attempt. The more likely unlikely scenario, then, was that the computer followed through with shut down every other boot, or perhaps only after logging in after logging in after an unsafe shutdown. Fortunately, for time's sake, that test started with the computer not shutting itself down twice in a row. Everything so far is inconclusive.

• Over these tests, I noticed that the dock would not show up the first time I put the mouse at the bottom of the screen, but the second - every time. I also believe that since the restart-required update processed I have had to enter my password twice every time I've logged in, but I keep habitually rushing through the login process so that's a hard variable to confirm.

• I finally logged into the new user I created. I only did this once because it was kind of intense. It told me the library was corrupted and I needed to type in admin credentials to reset it in order to use applications. I tried the new user's credentials several times but it kept saying I got the password wrong every try, though I am certain I did not. I tried my account's credentials and it just reset the fields (which doesn't happen in the incorrect password dialogue) and relocated the window if I had moved it. The cancel button wouldn't work in intermittent attempts, but I finally clicked it five times in a row quickly and it cancelled. I tried to shut down from that user, but same old problem. I haven't logged back into that user since, because I have run out of time to deal with this tonight.

I deeply regret putting you through a book of observations and still not coming to a viable solution. I am glad that my computer seems to be shutting down properly about 50% of the time; that's 50% more than I've had for quite a while. At the end of the day, pushing the power button isn't any real strain, this computer still operates like a champ, and it boots in less than 10 seconds every time except safe boot. How unsafe is the manual shut down?

iMac (27"-2011) won't restart/shut down. Everything shuts down but the dock.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.