Cocktail is a general purpose utility for OS X that lets you clean, repair and optimize your Mac. It is a powerful digital toolset that helps hundreds of thousands of Mac users around the world get the most out of their computers every day.

Get Cocktail here

Reset forgotten Mac password

In the old days you could reset a login password via a Mac's OS X installer disc. But with no such discs, what to do?

To reset a login password in OS X Mountain Lion or later, restart the Mac and hold down Command-R to boot into the Recovery HD partition. From the Utilities menu, choose Terminal to open it. In Terminal type:

resetpassword

and press Return.

In macOS Sierra and macOS High Sierra, an Reset Password assistant will launch. Choose the user account or admin account you want to reset the password for. Enter a new password, confirm the new password, set (if you like) a password hint and then click on "Next" to set the new password for the account in question. Choose to "Restart" the Mac and when the Mac boots up, use the newly reset password to login to the computer.

In OS X Mountain Lion, OS X Mavericks, OS X Yosemite and OS X El Capitan, a Reset Password window will appear that will list all the bootable volumes attached to your Mac. Select the volume that contains the account you want to reset and choose the user name that needs its password reset. Enter and verify a new passwords in the appropriate fields and, if you like, enter a password hint. Click Save and the new password is applied to the account.

 

 

Apple Hardware Test

Posted in Troubleshooting

Apple Hardware Test (AHT) contains a suite of diagnostics that will test the hardware of your computer. It's a great way to rule out a hardware issue when troubleshooting your computer.

To start up your computer in AHT:

• Shut down your computer
• Press and hold the D key
• Press the power button to turn on your computer

Computers that shipped with OS X Mountain Lion (or later versions of OS X/macOS) support the use of AHT over the Internet. These computers will start up to an Internet-based version of AHT if the hard drive does not contain AHT. An Internet-enabled connection via Ethernet or Wi-Fi is required to use this feature. To start up to an Internet-based version of AHT:

• Shut down your computer
• Press and hold Option (Alt) and D
• Press the power button to turn on your computer

If the Apple Hardware Test indicates that the RAM memory is faulty you should be able to find instructions on how to replace it in your computer’s manual without voiding the warranty. However, if the problem is related to any other component the only option is usually to hand over the computer to Apple.

Fix Time Machine when stuck on "Preparing backup..."

Time Machine is the simplest way to keep regular backups of a Mac. On some rare occasions though, Time Machine may get stuck on the "Preparing backup…" stage for an inordinately long amount of time, causing a backup to never start. So lets fix this specific Time Machine issue.

The first thing you need to do is cease the currently failed backup attempt:

• Open System Preferences from the Apple menu and click "Time Machine"
• Click the (x) icon on the right side of the progress bar to stop the backup attempt

When the progress bar disappears and it no longer says "Preparing backup…" you're good to begin the troubleshooting process.

• Open the Time Machine drive in the Finder and navigate to the "Backups.backupd" folder
• Open the folder within Backups.backupd that is the name of the current Mac which is stuck on preparing
• Put this directory into "List View" and sort by ‘Date Modified', or just search the folder for a file with a ".inProgress" file extension
• Delete the "xxxx-xx-xx-xxxxxx.inProgress" file. The .inProgress file is always in the form of xxxx-xx-xx-xxxxxx.inProgress, where the first 8 digits are the year-month-day (date) and the next 6 or so digits are random numbers, followed by the inProgress file extension.
• Restart your Mac
• Once rebooted, let Spotlight run completely (you can either just wait it out or watch the mdworker, mrs, and related processes in Activity Monitor). This should cause macOS to re-index the attached Time Machine drive if it's needed, which may be getting in the way of Time Machine backing up properly thus causing the computer to get stuck on "Preparing backup..." for a very long time.
• Start a back up yourself. Pull down the Time Machine icon and choose "Back Up Now". You will still see a "Preparing backup…" message but it should be gone within a few minutes, depending on the size of the hard drive, the speed of the Mac, and the size of the backup to be made. At this point, your Time Machine backup will proceed as expected, so just let it run and you're good to go again.

 

Check the battery cycle count on a portable Mac

Posted in Troubleshooting

If you have a MacBook, MacBook Air or MacBook Pro, you can check the battery cycle count to get an idea of overall battery health. Here’s how you can do that yourself, right from the macOS built in system management functions.

This works for all batteries in portable Mac models.

• Pull down the () Apple menu and choose "About This Mac".
• Click the "System Report…" button.
• Under Hardware, select "Power" and look for "Cycle Count" under the "Battery Information" portion.

The number shown is the cycle count of the current battery. A battery charge cycle is when the battery has been drained to 0% and then refilled to 100% of it's maximum capacity. Knowing the cycle count is helpful if you suspect your battery is having problems retaining a charge. Apple says new notebook batteries are designed to retain 80% of original capacity after 1000 cycles. If your battery is performing at less than expected and is still under warranty, it may be a good idea to schedule an appointment with an Apple Genius.

 

Check Bluetooth signal strength

Those who use external Bluetooth devices with a Mac, whether it's a keyboard, mouse, headset, or anything else, are probably aware that connection strength between the device and the computer is going to directly impact how usable the device is.

If your Bluetooth device connections seem flakey, or if your wireless keyboard or mouse isn't as responsive as you think it should be with your Mac, there is a easy way to check Bluetooth signal strength in macOS. Simply Option (Alt) click the Bluetooth menu bar item, then move the mouse cursor over the Bluetooth item you want to check the signal strength for and look for "RSSI".

RSSI (Received Signal Strength Indicator) can be a bit weird to read, but essentially a higher number means a better connection, and a lower number means a worse connection. Note however that the numbers are negative, so that may read opposite to what you'd expect. For example, a connection of -45 is significantly stronger and better than a connection of -100, which is weaker and more likely to have issues. The rough guidelines below may help read the connection, though the precise signal you get is going to vary on other factors we’ll discuss below:

-40 to -55 is a very strong connection
-70 and above represents a good connection
-100 and below represents a bad connection
-110 and below is almost unusable

The two most likely reasons for a bad Bluetooth connection are low batteries and heavy interference from something in the environment. Batteries are easy to test, all you need to do is swap in a new set of batteries or charge the device in question and see if the RSSI increases and if the device becomes more stable. Environmental factors can be trickier to track down, but if you see a huge drop in the RSSI when you move a headset behind a fireplace for example, you can surmise that something in the wall is causing the interference and you should rearrange the equipment accordingly. It's also vaguely possible that the device itself has a defective antenna, though that’s fairly rare for most quality devices.