You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

MacBook Pro won't shut down when trying to perform restart

I'm trying to install the latest software update (Safari 13.0.4 and security update 10.13.6). It's "restart required", but when my MacBook tries to shut down it gets as far as a dark screen (with the cursor still visible) and stops. I then have to hold down the power button to shut it down manually. I've tried doing a restart from the Apple menu my desktop and the same thing happens.

I've also tried reinstalling the MacOS and doing first aid on the startup disk via disc utility, but no luck.


Grateful for any tips,

Stephen

MacBook Pro

Posted on Dec 21, 2019 4:29 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 22, 2019 2:37 PM

mds & mdworker is spotlight.


How to rebuild the Spotlight index on your Mac

If searching your Mac doesn’t return expected results, rebuilding the Spotlight index might help.


1. Choose Apple menu () > System Preferences, then click Spotlight.

2. Click the Privacy tab.

3. Drag the folder or disk that you want to index again to the list of locations that Spotlight is prevented from searching. Or click the Add (+) button and select the folder or disk to add.
To add an item to the Privacy tab, you must have ownership permissions for that item. To learn about permissions, choose Help from the Finder menu bar, then search for “permissions.”

4. From the same list of locations, select the folder or disk that you just added. Then click the Remove (–) button to remove it from the list.

5. Quit System Preferences. Spotlight will reindex the contents of the folder or disk.


Manually Rebuilding Spotlight via Terminal

If the aforementioned Spotlight control panel approach doesn’t spur a reindexation of the drive, you may need to initiate it manually through the command line. Open Terminal and use the following command string to do so:


sudo mdutil -E /

This basically asks for temporary super user status, which is why Terminal may ask you for your password (it may not if you’ve used a sudo command recently or are already logged in as a super user or root. The command asks the unix tool mdutil to reindex the spotlight database for everything on the computer, including external drives, mounted disk images, etc. To re-index only for a specific drive, use the /Volumes path. For example, for an external drive named “MiniMe,” the command would look like this:


sudo mdutil -i on /


Rebuilding a drive index can take a long time, so be prepared to wait whether you do it through the System Preference panel or the command line.


If still need be…


Open Terminal and run each of these one at a time

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user

sudo /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -seed -lint -r -f -v -dump -domain local -domain system -domain user -domain network

killall Dock

sudo mdutil -E /

7 replies
Question marked as Top-ranking reply

Dec 22, 2019 2:37 PM in response to stephen_hiscox

mds & mdworker is spotlight.


How to rebuild the Spotlight index on your Mac

If searching your Mac doesn’t return expected results, rebuilding the Spotlight index might help.


1. Choose Apple menu () > System Preferences, then click Spotlight.

2. Click the Privacy tab.

3. Drag the folder or disk that you want to index again to the list of locations that Spotlight is prevented from searching. Or click the Add (+) button and select the folder or disk to add.
To add an item to the Privacy tab, you must have ownership permissions for that item. To learn about permissions, choose Help from the Finder menu bar, then search for “permissions.”

4. From the same list of locations, select the folder or disk that you just added. Then click the Remove (–) button to remove it from the list.

5. Quit System Preferences. Spotlight will reindex the contents of the folder or disk.


Manually Rebuilding Spotlight via Terminal

If the aforementioned Spotlight control panel approach doesn’t spur a reindexation of the drive, you may need to initiate it manually through the command line. Open Terminal and use the following command string to do so:


sudo mdutil -E /

This basically asks for temporary super user status, which is why Terminal may ask you for your password (it may not if you’ve used a sudo command recently or are already logged in as a super user or root. The command asks the unix tool mdutil to reindex the spotlight database for everything on the computer, including external drives, mounted disk images, etc. To re-index only for a specific drive, use the /Volumes path. For example, for an external drive named “MiniMe,” the command would look like this:


sudo mdutil -i on /


Rebuilding a drive index can take a long time, so be prepared to wait whether you do it through the System Preference panel or the command line.


If still need be…


Open Terminal and run each of these one at a time

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user

sudo /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -seed -lint -r -f -v -dump -domain local -domain system -domain user -domain network

killall Dock

sudo mdutil -E /

Dec 21, 2019 12:31 PM in response to stephen_hiscox

Hi Stephen, normally it's a 36rd party app that causes this by no longer being 100% compatible after an update.


Safe Boot from the HD, (holding Shift key down at startup), does the problem occur in Safe Mode?


Safe mode attempts to repair Disks & clears lots of caches, so if Safe Mode works try again in regular boot.


˜What all 3rd party extensions are you running?

EtreCheck is a simple little app to display the important details of your system configuration and allow you to copy that information to the Clipboard. It is meant to be used with Apple Support Communities to help people help you with your Mac.

http://www.etresoft.com/etrecheck


Pastebin is a good place to paste the whole report...

https://pastebin.com/


Workable but harder for me to work with...the Note tool on the bottom of this editor's toolbar, as shown in the image, to copy and paste the output from EtreCheck.

Dec 22, 2019 10:17 AM in response to stephen_hiscox

Thanks for the tips... (I should clarify – just realised I can't shut down my computer normally at all. It stops shutting down at the dark screen with the cursor, and I have to "kill" it by holding down the power button.)

I've uninstalled F-Secure and deleted the plugin.

My battery is 100% charged, but it runs down fairly quickly – about 10% in 1/2 hour.

I was unable to start in safe mode – it stalled at the grey Apple screen and wouldn't go any further.

Here's a snapshot of the activity monitor:


Cheers

Stephen


Dec 22, 2019 9:04 AM in response to stephen_hiscox

Runaway process - A process is using a large percentage of your CPU...


Open Activity Monitor>CPU% tab, what process is using so much?


How much charge does your Battery show?


Uninstall F-Secure per their directions.


Delete this fake plugin... o1dbrowserplugin


Free RAM: 96 MB is a problem, but after the above try installing again in Safe Mode.

MacBook Pro won't shut down when trying to perform restart

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