Questions tagged [shutdown]

Refers to shutting down a computer, smartphone, tablet etc. The process of powering down a device such as a computer, smartphone or tablet.

Filter by
Sorted by
Tagged with
22
votes
6answers
43k views

Are OS X shutdown cause and sleep cause numbers listed/explained anywhere?

The numbers in which I'm most interested -2 0 3 5 … I might add to that shortlist. What do those numbers mean; where might we find authoritative explanations? Somewhere in Apple open source, ...
118
votes
4answers
421k views

Using The Terminal Command to Shutdown, Restart and Sleep My Mac?

I'm getting more interested in using Terminal as an alternative way to address solutions on my Mac. I have seen this question entitled "Is there a better way to shutdown/restart OSX?". I would ...
6
votes
2answers
33k views

iMac randomly shuts down

We have a late 2012 27 inch iMac. It has a 2.9 GHz i5 processor and a 1 TB fusion drive along with 8 GB of RAM. I recently upgraded it to El Capitan. A couple of months ago it randomly started to not ...
22
votes
7answers
199k views

How often should one shutdown a MacBook instead of just closing the lid?

I have found contradictory opinions on this. Some say Windows users tend to shut down but that it is not necessary, and I tend to do that too. Others say it is preferable to shut down, as it does not ...
16
votes
7answers
15k views

Uncheck “Reopen windows when logging back in” by default

The shutdown/restart dialog has a check-box Reopen windows when logging back in which is checked by default. I need to change its behavior to be unchecked by default. Is this possible? If yes, how can ...
13
votes
3answers
25k views

Is it necessary to eject external drives before logging out, restarting, or shutting down?

Is it necessary or recommended practice to eject external drives before logging out, restarting, or shutting down? (The drives are not being unplugged.) BTW, I am aware that I need to eject my ...
3
votes
2answers
5k views

How would I identify what's causing my Mac to permanently hang on shutdown?

Whenever I try to shutdown or reboot my Mac (Macbook Pro 15" Retina late 2013, OS X 10.11.3) it closes all programs like normal and then it goes into that black screen with the progress bar. When it ...
4
votes
2answers
2k views

What is shutdown cause -60?

Since installing Mavericks on my 2010 MBP, it seems to be giving me the spinning beach ball often. I think I may need a new HDD, as Disk Utility cannot repair it, but I also get this error: Nov 21 20:...
4
votes
3answers
1k views

Kernel: “Previous shutdown cause: -62”

I have a late 2013 27" iMac running Yosemite, and it randomly shuts off every now and then. I tried everything Reset SMC. Diagnostics, reformat Macintosh HD but still occurs and running out of ...
8
votes
12answers
21k views

MacBook Air attempting to shutdown after a couple of seconds of inactivity

I have a a MacBook Air that works fine except popping up a shutdown dialog if left untouched for a couple of seconds (seems to be a consistent duration around 3 seconds or so). Hitting Cancel or Esc ...
4
votes
2answers
3k views

Run script before restart/shutdown

Is it possible to execute a script/command right before OS X is shutting down or restarting? I'd like to run sudo apachectl stop to stop apache from auto-starting.
4
votes
1answer
735 views

Tracking down hard shutdown cause—software? hardware? overheat?

I'm running Mac OS X 10.7.4 on a 15-inch, early 2011 MacBook Pro. I've had the Mac crash a few times in the last couple months, all attributable to letting it discharge (careless me!) except for the ...
2
votes
2answers
874 views

The reason for Previous shutdown cause: -128 [duplicate]

My MacBook Pro 11,2 (Retina 2014) shuts down suddenly from time to time. When I run macbook again, I inspect the log file I see the following message: Previous shutdown cause: -128 Sometime, when ...
7
votes
4answers
5k views

MacBook Pro black screens and shuts off after a few minutes' use

I have a MacBook Pro 15" (mid 2014, running Sierra). Recently, it has started black screening and shutting off shortly after, after a few minutes' use—let's say 3 to 10 minutes. The screen will go ...
9
votes
4answers
6k views

Is there a better way to shutdown/restart OSX?

Whenever I want to shutdown/restart OSX I click on the menu, select shutdown, and then click the box for not saving the session, and then click OK. Then there's always at least one program that ...
4
votes
6answers
4k views

Disable OS X Server's shutdown prompt?

I've just installed OS X Server. Whenever I try to shut it down (as a local interactive user), I keep seeing a prompt that requires me to enter an admin's name and password before proceeding with the ...
8
votes
5answers
9k views

Why does my laptop shut down overnight?

Whenever I leave my MacBook Pro (Retina, 13-inch, Early 2015) unattended (plugged in, or not) overnight (or for long periods of time) it shuts down by itself. When I open the lid it boots up to the ...
17
votes
2answers
53k views

How do I find the log for the shutdown process?

I've done some Googling and nowhere do I find where you can log the shutdown process. The best I've found is a log where it states when the shutdown process begins but that's all. My computer is ...
3
votes
1answer
4k views

Where to find shutdown causes errors list?

Are there any longer shutdown causes error codes lists than this? https://georgegarside.com/blog/osx/shutdown-causes/
2
votes
1answer
158 views

Problem on shutdown MacBookPro 11.3

My problem is about my MacBookPro 11.3 (2,6 GHz Intel Core i7, 16 GB DDR3 a 1600 MHz, NVIDIA GeForce GT 750M 2048 MB). Since I updated to ElCapitan (actually 10.11.1 (15B42)), when I shutdown the Mac,...
2
votes
2answers
2k views

How can I automatically run an AppleScript on shutdown or logout?

I am more used to the Javascript style event handlers, but is there a similar thing in applescript that listens to system events like logout or shutdown to execute code or is there a way to have an ...
1
vote
3answers
3k views

Binding a keyboard shortcut to shut down

I want to bind a gesture in BetterTouchTool to the shut down menu that is invoked by pressing the power button on my MacBook Air. It's fairly simple to bind gestures to keyboard shortcuts, so what I'...
3
votes
1answer
519 views

Shutdown cause: -104

I have Macbook Pro retina, model 2013. It started to randomly shut down for no apparent reason. The system log always contains this message: Previous shutdown cause: -104 I have tried to reset SMC ...
3
votes
2answers
536 views

Why won't my new MBP actually shutdown when I click “Shutdown…” in the “apple” menu

This is related to this other question Prevent MacBook Pro from turning on by touching trackpad. My new MacBook Pro (MBP) seems to fails to actually shutdown when clicking "Shutdown..." in the "apple"...
2
votes
3answers
3k views

Previous Shutdown Cause: -2

We have a new Mac Pro (3.6 GHz) running MacOSX 10.9.3 that unexpectedly powers off. We've taken it in for service twice and the Geniuses were not able to reproduce the issue and the hardware ...
12
votes
8answers
17k views

How to check what is preventing MBP from graceful shutdown/restart and fix it? [Now with log entries]

And hopefully really final edit: After upgrading to Mountain Lion, the issue seems fixed, hopefully permanently. Final Edit: The problem doesn't happen all the time, sometimes I have to wait several ...
13
votes
3answers
7k views

MacBook Pro 15" Retina mid 2014 random shutdowns [duplicate]

My MacBook Pro (15-inch, Retina, Mid 2014, macOS 10.13.1) shuts down randomly. It shuts down suddenly when on battery It shuts down a little more rare when connected to AC It works almost fine when ...
19
votes
7answers
39k views

How can I forcibly shut down my Mac at an appointed time?

I'm looking for an auto shutdown app that will forcefully shut down the computer at an appointed time. The most important part of this is that the shutdown should not be cancelable (unless the ...
7
votes
4answers
1k views

Sierra sudden shutdown and WiFi crashlogs

I have a very similar problem as outlined here. Several fresh installations of 10.12.3 as well as the beta did not fix the sudden restarts. I'm using a Mid 2014 MacBook Pro Retina with dedicated GPU. ...
12
votes
2answers
232k views

Turning off or restarting iPhone if lock button is broken?

Now that I know how to lock the iPhone if the lock button is broken, I was wondering how I can restart the phone or turn it off. The lock button is completely unresponsive and holding it down does ...
4
votes
2answers
4k views

What is Shutdown Cause -108?

My rMBP 15" just shut down by itself when idling, screen turned off. When I rebooted it, I checked the Console to see why it shut down, and found this message: 10/27/12 1:21:36.000 AM kernel[0]: ...
2
votes
2answers
1k views

Install 1.69f4 (SMC 1.7) on MacbookPro8,1 running Yosemite

Dec 2018 Update: I bought a new battery (A1322) in Sep 2016 for S$42 because my battery deteriorated further. My MacBook recognised the battery and it had no random shutdowns for a while. However, it ...
3
votes
4answers
4k views

MBP Retina 15 inch, late 2013 shuts down randomly

I have a MacBook Pro (Retina, 15-inch, Late 2013) with: 2 GHz Intel Core i7, Intel Iris Pro 1536 MB. I use it mainly with my Henge Docks vertical docking station and Dell 25-inch UHD monitor with ...
2
votes
2answers
517 views

Can anyone interpret verbose shutdown messages?

I almost always boot up in Verbose mode so I can see what's happening during boot up/shut down. Usually critical errors make themselves obvious, some lesser errors aren't so obvious but can be cleared ...
1
vote
2answers
494 views

My OS closes down after 5 seconds of inactivity (with the alert pop-up)

Since yesterday, when i'm running my computer, it shutDowns after 5 seconds of running. In order to make it work, i need to press continuously the escape key so the popUp alert who close the computer ...
1
vote
3answers
367 views

How to get previous shutdown cause?

I try to get previous shutdown cause and when it happened but i don't know correct syntax. syslog -k Sender kernel ??? I need to get date and time in start of the row and shutdown cause number in ...
1
vote
0answers
5k views

MBP 15 2014 unexpectedly shuts down after startup/login

MacBook Pro 15, Mid 2014, Yosemite + Windows 7 (Bootcamp) This problem started today after waking up. Yesterday night I had no problem whatsoever with my computer. After turning it on and logging in ...
10
votes
3answers
2k views

I want to power off multiple Macs everyday at 23:30 (11:30 pm)?

I have this problem in my office that multiple Macs always run 24/7 and my boss said that I need to make it stop. Now I don't have much experience with Macs, I'm more the Windows type. I have one ...
9
votes
2answers
2k views

2016 MacBook Pro shutdowns when the lid is close with cause 0

My 15-inch 2016 MacBook Pro is now experiencing shutdowns when the lid is closed. Though it is not a crash because I don't get a crash report when I turn the computer back on (unlike the problem I had ...
5
votes
1answer
2k views

My Mac prompts to shut down randomly

Somewhere between every one and ten minutes, my MacBook Pro prompts the shut down dialog box or even starts to sleep. This is what I get in the console. It really looks as if I've pressed the ...
5
votes
1answer
2k views

How can I prevent accidentally quitting an application?

I use Adium, but if I set a "Quit Confirmation" in the advanced preferences, it cancels log out. If I don't, it is way too easy to quit it, since it gets focused between apps sometimes. Is there any ...
5
votes
1answer
1k views

Shutdown cause -112

My 2013 rMBP regularly freezes (screen stays on but freezes as well). I have Yosemite 10.10.1. I couldn't see such behavior in 10.9 and I don't think it's a hardware issue (had the machine serviced ...
3
votes
3answers
9k views

iPhone shuts off when battery is at about 20% [duplicate]

I have an iPhone 4S running iOS 8.0.2. For the past few days, my phone has been shutting off when the battery reaches around 20%. It will not turn back on until I plug it into a power source. When I ...
2
votes
3answers
4k views

27" iMac (fall of 2010) won't shut down

Whenever I try to shut down my iMac (3.2 GHz Intel Core i3, running 10.7.3), it closes out all programs, goes to the gray screen with the spinning ball and just hangs there. This occurs in restart or ...
2
votes
2answers
4k views

Mac book pro Sierra does not shutdown - stays idle with a black screen and mouse pointer

I'm having trouble shutting down my MBP early 2015 model(MF839) with retina display. Sierra had been working smooth for almost 2 months and now I'm getting this issue. Once I shut down, the screen ...
2
votes
1answer
1k views

Random Kernel Panics with Shutdown Cause: -64

I'm using Retina Macbook Pro 15inch (OS X El Capitan 10.11.5) and getting random kernel panics frequently since March 2016. (1 or 2 times a day or more) This is a company laptop and bought in October ...
2
votes
2answers
1k views

MacBook Pro Retina 15" (Early 2013) randomly shuts down

I've been having issues with my MacBook Pro randomly shutting down for about 2 weeks now. I tried taking it to a local Apple reseller and here's what they told me: The main cause of my problem was ...
2
votes
0answers
1k views

Why did my Mac restart?

I am running macOS Mojave 10.14 on a 2018 13" MacBook Pro. This morning, to my surprise it was turned off. In /Library⁩/Logs⁩/DiagnosticReports⁩ I see a file called shutdown_stall_2018-10-20-...
1
vote
1answer
1k views

Mac OS X never shuts down

When trying to shutdown or restart my Mac it just keep on showing the spinning wheel with the white background. I have waited for at least 15 minutes but nothing happens. When safe booting I can ...
1
vote
1answer
738 views

Can I remotely force a locked Mac to sleep or shutdown?

Is there any way to remotely make a Mac which is powered on – but locked – to go to sleep and/or shut down? If so, how? E.g. can I use another Mac B to login via screen sharing to Mac A even if it's ...