While messing around with system files or folders, some users may end up accidentally deleting a system file or system folder. But what happens if this occurs? The answer is pretty simple: the system you once loved for its stability will start acting up and in a worst-case scenario might even stop working altogether.
What can users do in such a situation? Well, restoring that deleted system file or folder is naturally of utmost importance, and to achieve this goal there are only three options:
- Restore the file from Trash.
- Restore the Mac from a backup.
- Reinstall macOS.
Is It so Easy to Delete System Files?
Actually, it's pretty easy to end up with system files in the trash; just remember your early days as a newbie with macOS. Since multiple system folders are easily accessible through Finder, novice Mac users attempting to map their new operating system will likely end up in folders where they shouldn't be.
Just a quick example: it's easy to confuse the user’s Library folder with the System Library folder and start deleting various files in the belief that user files are being cleared away. Or a novice user with admin privileges might manually delete cache or temporary files from macOS after reading a vague instructional article on some blog and could inadvertently remove important system files.
Additionally, sometimes the unfounded opinion of being an advanced user can lead someone without the proper knowledge to use the powerful “sudo remove” command in Terminal. Such commands are unforgiving in their functions and may pose as a risk to system stability if used by inexperienced users.
The list of examples could go on but to cut a long story short, imagine a high-powered vacuum cleaner in a children's room where they’ve been playing with LEGO bricks. If used in the wrong area, all those LEGO pieces will be sucked into the machine, but if used with care and knowledge of where is safe to vacuum, then the children's playtime will remain intact.
Restoring Deleted System Files
Check the Trash Can
This is the first place that every user should check for deleted system files or folders. As with every item removed from the Mac they will first land here, and if the Trash hasn’t been emptied in the meantime, then chances are the file(s) can be recovered before anything goes wrong. If these files are here, simply select the file or folder, right-click, and choose “Put Back” from the available options or drag it into the desired area.
Use Time Machine Backup
Users can exclude macOS system files and apps from Time Machine backups, but Apple itself warns against this habit. While doing so does save space, having these files included in the backup will help users in the aforementioned scenarios. If the Time Machine backup doesn't have any system files stored, then you can skip this section.
While restoring a Mac’s system files with a backup will help return balance to your macOS universe, it’s important to note that Time Machine will only restore the system to the state when it was last backed up. So this means if the last backup was a month ago, then you'll lose all the data that was saved on your Mac since then. This is where iCloud Drive comes in handy, since all documents and the desktop’s files are automatically uploaded to the cloud and downloaded to the machine after restoration. To process as backup restoration, do the following:
- Reboot the machine and immediately press and hold the Command + R keys until you see the “macOS Utilities” screen.
- Select “Restore from Time Machine Backup” from the available options.
- Follow the on-screen instructions to complete the backup.
Reinstall macOS
If none of the above options are available, the last solution is to reinstall macOS with the following process:
- Reboot the machine and immediately press and hold the Command + R keys until you see the “macOS Utilities” screen.
- Select “Reinstall macOS” from the available options. You won't need to erase your startup disk.
- Follow the on-screen instructions to complete the reinstall process.
Depending on your Mac, the process can take anywhere from half an hour to a couple of hours. If you’ve followed this article, let us know how it went in the comments section below. Did you encounter any issues during the reinstall? Was the problem solved?
Best Mac Optimization Software of 2024
Rank | Company | Info | Visit |
1
|
|
||
2
|
|
||
3
|
|
Get the Best Deals on Mac Optimization Software
Stay up to date on the latest tech news and discounts on Mac optimization software with our monthly newsletter.
Share Your Comment