Préparez votre Mac pour la revente ou réparez un système problématique
Si vous êtes prêt à vendre votre Mac , à le transmettre à un ami ou à un membre de votre famille, ou si vous avez renoncé à dépanner un système défectueux, il est temps de réinitialiser votre Mac aux paramètres d'usine. Ce processus nettoie le système et vous permet, à vous ou au nouveau propriétaire du Mac, de le configurer en tant que nouvelle machine. Personne ne peut accéder aux données qu'il abritait autrefois.
Voici un aperçu de ce qui est impliqué lorsque vous effectuez une réinitialisation d'usine sur votre Mac.
Les informations ici concernent tout ordinateur Mac avec OS X ou macOS, avec des instructions supplémentaires si votre machine est équipée de Catalina.
Ce qui est impliqué dans une réinitialisation d'usine
Que vous prépariez votre Mac pour un nouveau propriétaire ou que vous repreniez simplement votre système après l'échec du dépannage, vous devez suivre plusieurs étapes pour effectuer une réinitialisation d'usine : sauvegarder votre ordinateur , désactiver certaines fonctionnalités et certains services, effacer le disque dur , puis réinstallez une nouvelle version de macOS . Par la suite, selon votre situation, vous souhaiterez peut-être migrer vos données personnelles vers un nouveau Mac.
Il est important de rester connecté à Internet pendant ce processus pour vous assurer que vous pouvez désactiver les comptes en ligne et télécharger le dernier macOS compatible avec votre système.
Créer une sauvegarde du système
Votre Mac regorge de fichiers et de données importants, il est donc important de faire une sauvegarde avant de poursuivre le processus de réinitialisation d'usine. Il est facile de faire une sauvegarde avec Time Machine . Si vous utilisez iCloud , il est encore plus facile de vous assurer que toutes vos données sont sauvegardées. Voici un aperçu du processus de sauvegarde avec Time Machine et iCloud.
Il existe également d'autres options de sauvegarde, telles que la création d'un clone de votre lecteur avec un produit tel que SuperDuper . L'important est de vous assurer d'avoir une sauvegarde.
Créer une sauvegarde à l'aide de Time Machine
To create a Time Machine backup, you need an external storage device such as a NAS device or a simple external hard drive connected directly to your Mac, such as a USB, Thunderbolt, or FireWire drive.
If Time Machine doesn't automatically ask to use your drive, add it manually. Once you add your drive, Time Machine can start making backups.
-
Connect your storage device to your Mac.
-
You may receive a message that says, Do you want to use [Backup Disk] to back up with Time Machine? If so, check Encrypt Backup Disk (recommended) and then select Use as Backup Disk.
-
Si Time Machine ne demande pas automatiquement d'utiliser votre lecteur, ajoutez-le manuellement. Sélectionnez l' icône Time Machine (horloge) dans la barre de menus du Mac.
Si vous ne voyez pas l'icône Time Machine dans votre barre de menus, sélectionnez Préférences Système dans le menu Pomme, choisissez Time Machine , puis sélectionnez Afficher Time Machine dans la barre de menus .
-
Sélectionnez Ouvrir les préférences Time Machine dans le menu.
-
Choisissez Sélectionner un disque (il peut indiquer Ajouter ou supprimer un disque de sauvegarde ).
-
Sélectionnez votre lecteur externe dans les options de la liste. Cochez Chiffrer les sauvegardes (recommandé, mais facultatif), puis sélectionnez Utiliser le disque .
-
Place a check mark next to Back Up Automatically so Time Machine automatically makes periodic backups.
iCloud Backup
If you already have iCloud and iCloud Drive set up on your Mac, your important files may already be backed up. iCloud keeps your critical personal data synced across your devices as well as backed up in the cloud. This includes contacts, calendar data, notes, mail files, and other files that you select. iCloud Drive stores everything else, including your Desktop and Documents folders, in macOS Sierra and above.
To check on your iCloud and iCloud Drive settings:
-
From the Apple menu, select System Preferences.
-
Select Apple ID. If you're using macOS Mojave or earlier, select iCloud instead.
-
Select Options to see the apps that store documents and data in iCloud Drive.
-
Scroll through the list. If there are any unchecked boxes next to apps want to back up, check them now and select Done.
Sign Out of iTunes
Signing out of iTunes is important so that your computer is no longer linked to your iTunes account. The process differs depending on your version of macOS, but you can typically deauthorize one computer without deauthorizing your other devices.
SIGNING OUT OF ITUNES IN CATALINA
With Catalina, you access the iTunes Store via the Music app.
-
Open the Music app on your Mac.
-
Select Music > Preferences from the menu bar.
-
From the General tab of the preferences, select iTunes Store next to Show and then click OK.
-
Select Account in the Music menu bar and choose Authorizations in the drop-down menu.
-
Select Deauthorize This Computer from the fly-out options. You are prompted to sign in with your Apple ID.
-
Select Deauthorize to finish the process.
IF YOU'RE USING MACOS MOJAVE OR EARLIER
-
Open iTunes.
-
From the menu bar at the top of your computer screen or at the top of the iTunes window, choose Account > Authorizations > Deauthorize This Computer.
-
When prompted, enter your Apple ID and password.
-
Select Deauthorize.`
For older versions of iTunes, select Store > Deauthorize This Computer.
Turn Off FileVault
FileVault is a disk encryption program available in Mac OS X 10.3 and later. It's not turned on by default, but if you're using it, it's a good idea to turn it off.
-
From the Apple menu, open System Preferences.
-
Select Security & Privacy.
-
Select the FileVault tab.
-
If you see FileVault is turned off for the disc [name of main hard drive], then you don't need to do anything.
-
If FileVault is turned on, select the padlock icon, enter your username and password, and select Unlock.
-
Select Turn off FileVault.
-
Enter your username and password when prompted and wait for the process to complete.
Sign Out of iCloud
Now it's time to sign out of iCloud.
-
From the Apple menu, select System Preferences.
-
In macOS Catalina (10.15) and later, select Apple ID > Overview > Sign Out. In macOS Mojave (10.14) and earlier, select iCloud > Sign Out.
-
You'll see a message asking whether you want to keep a copy of your iCloud data on the Mac. Because you'll reformat the hard drive in a later step, select Keep a Copy to proceed.
If you have a device with Touch ID, such as a MacBook Pro or MacBook Air, you'll need to confirm that your payment information will be removed from the Mac.
-
You're now signed out of iCloud on your Mac. Your iCloud data remains in iCloud and on any other devices you've signed in to with your Apple ID.
Sign Out of iMessage
If you're using OS X Mountain Lion or later, sign out of iMessage.
-
Open the Messages app.
-
From the Messages menu, select Preferences > iMessage. (In early versions, select Messages > Preferences > Accounts.)
-
Select Sign Out.
Unpair Paired Bluetooth Devices
This step is optional, but it's a good idea to unpair Bluetooth devices, such as keyboards, mice, and trackpads, currently paired with your Mac.
-
From the Apple menu, select System Preferences.
-
Select Bluteooth.
-
Hover the pointer over the device you want to unpair and select the remove button (x) button next to the device's name.
-
Select Remove in the dialog box asking if you're sure.
If you're using an iMac, Mac Pro, or Mac mini, you'll need to use a USB or other wired keyboard and mouse to complete the next step.
Restart Your Mac in Recovery Mode
-
From the Apple menu, select Restart.
-
Press and hold Command+R.
-
Release the keys when you see an Apple logo, spinning globe, or another startup screen, depending on your macOS version.
-
Enter any passwords requested.
-
The process is complete when you see the Utilities window.
Erase Your Disk
We'll first look at this process in Catalina, because this macOS adds a second data volume.
If You're Using Catalina
-
Select Disk Utility from the Utilities window in macOS Recovery.
-
Select Continue.
-
Make sure Disk Utility's sidebar shows your hard drive's name. Your startup disk should be called Macintosh HD unless you renamed it.
-
In the sidebar, locate a data volume with the same name as your hard drive, for example, Macintosh HD - Data. If you have this volume, select it.
-
Select Edit > Delete APFS Volume from the menu bar or select the delete volume button (–) in the Disk Utility toolbar.
-
Lorsque vous êtes invité à confirmer, sélectionnez Supprimer . (Ne sélectionnez pas Supprimer le groupe de volumes.)
-
Après avoir supprimé le volume, sélectionnez Macintosh HD (ou le nom que vous avez donné à votre lecteur) dans la barre latérale.
-
Sélectionnez le bouton ou l'onglet Effacer .
-
Entrez un nom que vous souhaitez donner au volume après l'avoir effacé, tel que Macintosh HD.
-
Sous Format , choisissez APFS ou Mac OS étendu (journalisé) pour formater en tant que volume Mac. Utilitaire de disque affiche le format Mac recommandé par défaut.
-
Sélectionnez Effacer pour commencer à effacer le disque. Vous serez peut-être invité à saisir votre identifiant Apple.
-
Une fois terminé, quittez Utilitaire de disque pour revenir à la fenêtre Utilitaires .
-
Sélectionnez Réinstaller macOS dans la fenêtre Utilitaires et suivez les instructions à l'écran pour réinstaller macOS sur le volume.
Si vous utilisez Mojave ou une version antérieure
Dans ces versions de macOS, il n'y a pas de volume supplémentaire à supprimer.
-
Sélectionnez Utilitaire de disque dans la fenêtre Utilitaires de macOS Recovery.
-
Sélectionnez Continuer .
-
Sélectionnez votre disque dur principal, généralement appelé Macintosh HD, dans la barre latérale de gauche.
-
Sélectionnez le bouton Effacer .
-
Sélectionnez un nom et un format pour votre disque de stockage et appuyez sur Effacer .
-
Sélectionnez Réinstaller macOS dans la fenêtre Utilitaires et suivez les instructions à l'écran pour réinstaller macOS sur le volume.
Après avoir nettoyé le lecteur et réinstallé macOS, le Mac redémarre sur un écran de bienvenue et vous demande de choisir un pays ou une région. Si vous vendez ou donnez le système, ne poursuivez pas le processus de configuration . Au lieu de cela, appuyez sur Commande + Q pour éteindre la machine. L'assistant de configuration guidera le nouveau propriétaire dans le processus.