Back in 2016, Apple added Touch Bar to its MacBook lineup of laptops. Touch Bar is a small display that sits at the top of the physical keyboard and replaces the function keys. What Touch Bar actually does is give users shortcuts and apps controls based on what you are doing on your computer.
If you are a big fan of Touch Bar, keep in mind that the MacBook Pro with Touch Bar automatically stores your Touch Bar data and Touch ID sensors. This practice allows you to get shortcuts and controls quickly the next time you open an app.
While this comes in handy, one major drawback is that you cannot erase Touch Bar data if even you format your Mac. Fortunately, there is a simple workaround for clearing out all Touch Bar and Touch ID data. All it take is a command line.
This article walks you through the steps to clear out Touch Bar data from your MacBook Pro with Touch Bar. Before we begin, make sure you now have a modern version of macOS (macOS High Sierra or newer).
How to clear out Touch Bar data from your MacBook Pro with Touch Bar
Step one: First off, you need to put your Mac into recovery mode. To do this, restart your Mac and quickly hold down Command + R keys
Step two: From the Utilities screen, click on Utilities menu and select Terminal from the pull-down menu
Step three: Once you are in, enter the following command: xartutil –erase-all. After that, hit the Return button (make sure you enter the command correctly)
Step four: Now type “Yes”, then head to the Apple Menu and hit Restart from the drop-down menu. Once your Mac finishes rebooting, all the Touch Bar data should be removed. You now can easily re-install macOS or format your device.
Note that the above-mentioned command only works on the MacBook Pro with Touch Bar. If you attempt to enter run it on the standard MacBook, you will get an error message.
Also read: How to restore a bricked iMac Pro
Got any issues during the process? Let us know in the comments below.