Macworld (USA)

How to prepare a Mac for sale or a return to an employer

When you need to give up or sell a Mac, how can you make sure you keep what you need and leave a wiped machine?

- BY GLENN FLEISHMAN

When it’s time to give up a Mac, you typically don’t want to give up its secrets—your private and personal data—when it goes. This can be at the time you sell it, or, in the case of Macworld reader Dane, when you leave a job and you need to return the Mac to your employer. (You might be asked to return a computer even while you keep a job, too, of course.)

Not preparing a computer before you return it can sometimes have consequenc­es. A friend returned a work machine and was eventually paid a visit by police. His previous employer had

examined the web history of the computer returned, and found a set of searches about news and travel they decided were suspicious but that had been conducted innocently and separately by different members of the household.

PREPARE A MAC FOR SALE

If it’s your own computer, here are the easiest set of steps you can take to prep the machine.

> Make a clone via Superduper! ( go. macworld.com/spdp), Carbon Copy Cloner ( go.macworld.com/cbcl), or Disk Utility (while booted into macos Recovery [ go. macworld.com/mrec]), or choose to start a Time Machine backup to make sure you have all the latest data. You can then migrate it to a new Mac, or keep it on hand for later retrieval.

> If you have a firmware password set ( go.macworld.com/fmps), remove it.

> Boot into macos Recovery and erase the drive via Disk Utility, then reinstall the latest version of macos the computer can handle. (See “More on Erasure,” below.)

> Set up a basic account you can hand over to the next owner.

> Restart to make sure that everything works as expected.

PREPARING A MAC FOR RETURN

If it’s a work computer, you may be in a tricky position if you back up all the data, as you may be retaining informatio­n that your employer considers proprietar­y or a trade secret. In some states and circumstan­ces, even if you never intended to do anything with the data, just the possession of it could wind up being a problem. (This is not legal advice, but you can find many news stories in which retention of data without intent still causes people legal costs and lots of trouble.)

This means you should first get rid of any data related to the business that you’re sure you or your employer has copies of. For total clarity, you might consult with your employer or the IT department about what data they want to retain and make sure that’s copied off the Mac.

It’s most likely you have documents scattered in a few places, depending on how you’ve used the Mac.

Mail is the most difficult to manage. Any messages stored in Apple Mail in the On My Mac section of the Mailbox leftnaviga­tion bar will be deleted when you erase the Mac, as they’re no longer stored on the mail server. I recommend, after confirming all work messages are appropriat­ely copied elsewhere, removing the work email accounts from Mail, and then deleting any work email folders from On My Mac.

Once that’s done and you’ve emptied the Mail trash, you can copy your mail to a

backup drive or over a network. You don’t need to do this for any messages stored on your various account servers. Apple offers instructio­ns for exporting mailboxes ( go.macworld.com/mpxp), but you can also dive into ~/Library/mail/ (in the Finder, choose Go → Go To Folder, and paste that path in). You can copy the folder starting with V (V5 for the latest version of Mail) and then import those mailboxes on a different Mac. You can find more advice on this in a recent column I wrote about recovering mail ( go. macworld.com/rcml).

Now look at other locations in your Home account and Shared folders, like Documents, Downloads, Movies, Music, and Pictures.

Once you’re sure you’ve copied everything for work and yourself, you can carry out steps 2 to 5 above, and then return the computer.

MORE ON ERASURE

Formatting a computer drive isn’t the same as erasing all the data from it. Rather, Disk Utility (and similar apps for other operating systems) just change all the catalogs and other details that track where the data was. It remains in place, and can be found in fragments or as whole files via data-recovery tools or specialize­d forensics ones.

> If you have Filevault enabled, you don’t need to worry. Erasing the drive via Disk Utility discards the encryption key used to encode data, and it effectivel­y makes all your files unrecovera­ble. Good job!

> SSDS store data in a manner that’s designed to keep wear even on the memory cells that made up solid-state storage. As a result, once a drive is reformatte­d and a substantia­l amount of new data written to it, the old informatio­n is difficult to impossible to retrieve. (This is why it’s critical to use Filevault from the start with SSDS and hybrid Ssd/hard drives like Fusion Drives, to make it virtually impossible.)

> Disk Utility offers a secure erase option when formatting a drive (click the Security Options button), but this is only recommende­d for hard-disk drives. ■

 ??  ??
 ??  ?? For hard-disk drives, you can use secure erase to overwrite data repeatedly and render it effectivel­y impossible to recover.
For hard-disk drives, you can use secure erase to overwrite data repeatedly and render it effectivel­y impossible to recover.

Newspapers in English

Newspapers from Australia