Mac Repair Library

Mac Repair Library 3,8/5 6637 votes

Your home folder contains many files and folders that apps on your Mac have permission to read or modify. If you use Get Info or other methods to change those permissions, you could experience issues such as these:

  • Changes that you make in System Preferences aren't saved after you quit System Preferences.
  • Changes that you make to the Dock aren't saved after you log out of your user account.
  • Windows that were open the last time you logged out or quit an app (before you changed permissions) open again after you log in or open the app.
  • You're asked for an administrator name and password when moving certain items in the home folder.
  • You repeatedly get a message that macOS needs to repair your Library to run applications.
  • When saving changes to an item, you get a message that the file is locked or you don't have permission to save.
  • Preview, TextEdit, or other sandboxed apps unexpectedly quit when opened.
  • You get an alert that the startup disk has no more space available for application memory.
  • Activity Monitor shows that Safari or SafariDAVClient is using a large amount of system resources.
  • Your Mac performs slowly.
  • iTunes says that your device cannot be synced.
  • Photos and videos that you import into Photos or iPhoto don't appear within the app, but do appear in Finder. Or your library needs to be updated or reselected each time you open Photos or iPhoto.

Reset permissions

Nov 10, 2019  Having your Mac's Photos library corrupted can be devastating. What do you do if the repair tool fails? Follow these steps to recover your original photos — and to have a good shot at fixing. Mar 18, 2020  Hold down the Option and Command keys while you open Photos on your Mac. In the dialog that appears, click Repair to start the repair process. You might be asked to type in your user account password to authorize the library repair. The repair tool analyzes the the library's database and repairs any inconsistencies it detects. Pro Mac Repair offers professional services inclusive of MacBook, iPhone and iPad repairs. With over 25 years of experience, we've got you covered! Pro Mac Repair offers professional services inclusive of MacBook, iPhone and iPad repairs. With over 25 years of experience, we've got you covered! Pro Mac Repair. Literature Review: Biological activities of different Banana species. Feb 26, 2018  Video showing how to fix 'macOS High Sierra needs to repair your library' error. Detailed instructions - https://www.pcrisk.com/computer-technician-blog/mac/.

If the issue started after changing the permissions of items in your home folder , use these steps to reset permissions.

  1. Turn on or restart your Mac, then immediately press and hold Command (⌘)-R to start up from macOS Recovery.
  2. You might be prompted to enter a password, such as a firmware password or the password of a user who is an administrator of this Mac. Enter the requested password to continue.
  3. When you see the macOS Utilities window, choose Utilities > Terminal from the menu bar.
  4. Type repairHomePermissions in the Terminal window, then press Return. The Repair Home app opens.
  5. Select your user account, click Next, then enter your administrator password. Click Next unlock the volume and begin resetting permissions on your home directory.
  6. When done, click Exit to return to the macOS Utilities window.
  7. Select Reinstall macOS, then click Continue and follow the onscreen instructions to reinstall macOS.

If the issue persists

If resetting permissions doesn't resolve the issue:

  1. Make sure that you have a backup of your Mac, then erase your startup disk.
  2. When done, reinstall macOS.
  3. After installation completes and your Mac restarts to the setup assistant, create a new user account using a different name than the one you were using before. Any difference in spelling is enough.
  4. If you made a Time Machine backup, use Migration Assistant to restore all your files from the backup.
Library

Though it's not easy to hack into or break through a Mac's security, it is possible, especially if someone accidentally installs malware without realizing it. If your Mac is running slow or you're seeing unusual advertisements within your web browser you might have accidentally installed malware at some point. Don't worry. It happens to the best of us (not me, of course). There are things you can do without having to burn it all down.

The problem: Mac malware in the Library folder

Apple authorized service locations

Serenity Caldwell writing for iMore in 2017:

My father-in-law's MacBook Pro had been running into curious slowdowns for a two-year-old laptop and he kept on seeing weird sites taking over his Safari and Firefox search bars. It was clear to me that his browser had been hijacked.

We got rid of the browser hijack pretty quickly — I suggest using Cella's excellent how-to if you ever run into a browser hijack yourself — but the slowdowns were more curious. Upon further investigation, I found a couple of self-professed 'Mac security programs' that popped up, demanding money to 'clean your Mac from junk'.

Spoiler: These programs were the junk. And worst of all, they'd seemingly added a bunch of nonsense files into this computer's Library folder, with random folder names like 'prestidigitation' and 'beeswax'.

Now, I want to preface: I'd never seen an attack like this on a Mac before in my life, and finding this kind of full-Mac hijack is very rare. It's likely that he accidentally installed one of these 'security' programs (or had it installed), which spiraled out of control from there.

These hijacks didn't appear to be able to do much beyond slow down his machine with endless failed attempts to run a program — the process didn't have admin permissions, so it couldn't execute a thing from the library. But because they were there, they were constantly crashing aspects of his Mac. I knew I had a malfunctioning laptop on my hands, so I turned to my age-old troubleshooting checklist.

How to fix a corrupted Mac

Apple Macbook Repair Near Me

If you're working on a computer that has slowed down beyond reasonable aging or is otherwise acting beyond the pale, here are my favorite tactics you can take to try and restore it to its former glory.

Mac Repair Photos Library

Update the system software

This is almost always the first thing I do when troubleshooting Macs: Chances are, the user hasn't installed a security update or other software updates that may be slowing their computer to a crawl.

  1. Click on the Apple menu icon in the upper left corner of the screen.
  2. Select App Store to open the Mac App Store.

  3. Click on the Updates tab at the top of the Mac App Store window.
  4. Install all relevant updates. (You may need the Apple ID and password for the machine.)

If the computer is running macOS Sierra, you can avoid having to do this troubleshooting step in the future by turning on Automatic Install in System Preferences, which can automatically download newly available updates in the background, and install them overnight.

  1. With the Mac App Store open, click on App Store in the upper left corner of the Menu bar.
  2. Click on Preferences.

  3. Under Automatically check for updates, check the following boxes:

    • Download newly available updates in the background
    • Install app updates
    • Install macOS updates
    • Install system data files and security updates

Check the disk for errors

If software updates aren't doing the trick, the next thing to check is the hard drive itself. With Apple's Internet Recovery partition, fixing a cranky drive is an easy process.

  1. Restart your Mac.
  2. During reboot, hold down Command-R until it starts up.
  3. Once rebooted, you should be in the Internet Recovery Partition. Select Disk Utility.
  4. Click Continue.

  5. In Disk Utility, click on the First Aid button,
  6. Click on Run to execute.

Your Mac will then run a cursory check on its hard drive to determine if there's anything wrong — and if so — if it can fix it.

Reset the NVRAM/PRAM and SMC

If neither app updates nor disk repair are helping, sometimes a good cache flush can get your Mac running just a bit more smoothly.

Click on Choose Library. In the browser window that appears, navigate to your external hard drive, click the iTunes folder there and choose the iTunes Library file. ITunes will then open and as. From the two options, you want to click on Choose Library. Now navigate to the external hard drive and open the iTunes folder. There you will find an iTunes.itl file, which you want to select and then click Open. Jul 12, 2019  Drag the iTunes folder (the whole folder, not just iTunes Media) and drop it onto the external hard drive window; For those with large libraries, this backup process could take a while. Don’t disconnect or shut down your computer while the files are being copied to the external hard drive. A loading bar will appear under the folder icon as it moves from your Mac to the external hard drive. How to save itunes library to external hard drive machine. Launch iTunes→ Connect external hard drive→ Open Mac’s hard drive→ Click music folder→ Select iTunes, drag it to your external hard drive→ click authenticate if.

To reset the NVRAM (or, on older Macs, PRAM), reboot the Mac and hold down the following keyboard command during startup for at least twenty seconds: Command-Option-P-R.

After you reset your NVRAM, you may be required to reconfigure some system settings (like sound and time zones), which are stored in that cache.

An SMC reset is a bit more complicated, and Apple recommends it only after all other troubleshooting avenues have been exhausted.

If you're using a laptop:

  1. Shut down your Mac and plug it in.
  2. Restart the computer by pressing the Power button along with the keyboard command Shift-Control-Option.
  3. Release these keys, then just press the Power button to properly start your computer.

If you're using a desktop:

  1. Shut down your Mac.
  2. Unplug it and wait for at least 20 seconds.
  3. Plug the Mac back in and wait 5-10 seconds.
  4. Restart your Mac with the Power button.

Partition your disk (or erase it)

After exhausting all other avenues, this was the solution we came across to properly fix the broken laptop. The hard drive had been so corrupted by these 'security' programs that there was nothing I could do to fix it. When Safari launched over the login screen after a reboot, I knew my usual fixes wouldn't work: It was time to bring out the big guns.

In most cases, I'd grab an external drive, back up the corrupted disk, then wipe the drive clean with the Internet Recovery partition and start over. But there were a couple of reasons that wouldn't work here:

  • We were on vacation, and lacking any sort of external media.
  • With a semi-corrupted disk, we couldn't just clone the user folder and restore the new disk from a backup — we'd have to do a clean install, which meant moving files over one by one. If we'd missed something and moved all the old files to an external drive, my father-in-law would have had to carry it everywhere just in case.

Given that this laptop had a 500GB hard drive — only 40GB of which was being used — I had an alternate idea: I'd partition the drive, again using Internet Recovery, and install macOS Sierra on the new partition. Essentially, it would be a 'clean' new computer for my father-in-law to work on, but all the original data would still exist on the old partition in case he needed to grab a file.

Note: In order to partition your drive, you'll need enough free space on your drive to do so — at least 30GB. If you're light on space, you may want to back up your corrupted disk to a USB drive, instead.

Fix My Mac

How to create a partition on your Mac

  1. Open Finder from your dock.
  2. Select Applications.

  3. Scroll down and open the Utilities folder.
  4. Double-click to open Disk Utility.

  5. Select your hard drive in the Disk Utility window. It will be the first drive on the list. It might be named 'Fusion,' or 'Macintosh HD.'
  6. Click on the Partition tab.
  7. Click the plus (+) button.

  8. Change the size of the partition you wish to use by dragging the resize controls. The used space is represented in blue.
  9. Name the new partition.
  10. Click apply.

Disk Utility will check the disk and make changes. This will take several minutes.Disk Utility will then make the changes. After that's completed, quit Disk Utility to return to the main Internet Recovery menu.

  1. Click on Reinstall macOS.
  2. Click Continue.

  3. Click Agree to agree to Apple's licensing agreements.
  4. Choose the New Mac hard drive as the disk you'd like to install macOS onto.
  5. Press Install.

  6. The Mac will download a fresh copy of your operating system from the App Store and will install it. The speed of this process entirely depends on your Mac's connection speed to the Internet. You can wait an hour or longer on a slower connection.
  7. Your Mac will restart automatically into the new partition once the software has downloaded, then the installation of the operating system will continue.

Mac Repair Itunes Library

After you finish setting up the new hard drive, it's time to move your files over. Because of the way partitioning works, your old hard drive partition will show up next to your currently-active partition, just like an external drive; you can then grab any files you need from it.

  1. Launch a Finder window.
  2. Under Devices in the sidebar, locate your original Macintosh HD.
  3. Copy any files you'd like to keep from your old hard drive to the new machine.

Note: If you want to copy over applications, I'd strongly suggest redownloading them from the source — the Mac App Store or the company's website — rather than trying to copy them over from the old partition.

From here, you can follow instructions for setting a Mac up from scratch when it comes to installing and customizing anything else.

I generally recommend keeping the old drive partition around for at least a few months in case you or your family member forgets to move something over; after that period, however, you can easily delete the old partition and move to the new partition full time.

Consider additional anti-malware protection

While malware on the Mac is rare, it does crop up, as we've demonstrated. Having the right tools to get rid of malware can be an important part of keeping your Mac safe and secure. There are a number of tools that you can choose from, including popular programs like BitDefender and Kaspersky, that will help you keep malware from infecting your Mac.

Questions?

Do you have any must-follow troubleshooting steps? Let us know in the comments.

Mac Library Repair Error

Updated July 2019: Added a sub-section regarding anti-malware protection.

Serenity Caldwell contributed to an earlier version of this guide.

Keep yourself secure on the web

Main

We may earn a commission for purchases using our links. Learn more.

For all your USB-C needs

The HybridDrive is a USB-C dock with an SSD built in

You need more ports, right? And you probably need more storage, right? What you really need is the HybridDrive.