August 2015 - Hawkdive

Saturday, August 29, 2015

All contacts gone after Yosemite upgrade!-How to restore original contacts from Time Machine Backup

Saturday, August 29, 2015 1
If you have upgraded your OS X from Mavericks to Yosemite or from any other version of OS X to OS X 10.10 Yosemite and you check your Contacts/Address Book after upgrade and shockingly you find out that all your contacts are gone and the Address Book is blank and you had also not taken backup on iCloud.
Don't worry if you have the time machine backup in your external hard drive you don't need to restore the whole OS X, you can simply restore the original contacts from previous OS X install.

Restore Address Book content from a Time Machine backup
Restore Address Book content from a Time Machine backup

How to restore original contacts from Time Machine Backup

You can restore contacts with a Time Machine Backup
You may be able to restore from iCloud, using your iCloud account, if it had not been deleted there.

Yes, there is a way to restore Address Book content from a Time Machine backup. However, it’s important to note that Address Book data is used by many applications throughout OS X, so before we begin, make sure to quit all open applications to minimize the possibility of introducing problems.

Steps to restore Address Book content from a Time Machine backup

1.  To begin, Disable iCloud sync in System Configuration -> iCloud -> Uncheck Contacts.

2.  Now we’ll need to show hidden files in the Finder because the Library folder on the Time Machine drive (as on your Mac) is hidden by default. To do this, open Terminal (located in Applications/Utilities) and type in the following command followed by the enter key (Note: you can re-hide hidden Finder files by replacing “TRUE” with “FALSE” and re-running the command below):

defaults write AppleShowAllFiles TRUE

Next, restart the Finder by typing the following command: 

killall Finder

Restore Address Book content from a Time Machine backup
Restore Address Book content from a Time Machine backup

3. Now open the Address Book contents of your current OS X 10.10 Yosemite by navigating to the following location

~/Library/Application Support/AddressBook

4. Enter the time Machine Backup then Go to ~/Library/Application Support/AddressBook and replace the contents of this folder with the same folder in on your Mac and you are Done.

Restore Address Book content from a Time Machine backup
Restore Address Book content from a Time Machine backup

Restore Address Book content from a Time Machine backup
Restore Address Book content from a Time Machine backup

5. Copy the entire contents of the Address Book folder from the backup and overwrite the contents of this folder on your system drive.
Once the copy is complete, relaunch Address Book and you should see your contacts listed, current as of the date of your last backup.

6. If Time Machine is not on your side today and you just upgraded MacOS like me look for a file like “Migration 20150631213806-3786.abbu.tbz”. Every time Contacts migrates to a new version of the App there is a file like this containing a complete backup of all your contacts. Uncompress this file by double-clicking it and double-click the .abbu file to replace everything in your Address Book with the backed up contacts in this file.

7. Enable iCloud Contacts syncing again to sync the contact to all of your devices.

Note:-  If you find that all the contacts are gone after closing and reopening the Contacts application then just delete the AddressBook-v22.abcddb and its helper files?
Those are the index files that drive the display. If the one you are copying is corrupt, it may be causing the problems you see.
Deleting those database files solves a majority of the problems with Contacts App.


Read More

Friday, August 21, 2015

Can not update Apps from App Store as it shows an old Apple ID which is grayed out and can not be changed

Friday, August 21, 2015 2

Issue:- When trying to update all Apps from Mac app Store, it asks password for an old or someone's Apple Id which is grayed out and can not be changed.

"Apps can not be updated as the App Store asks Password for old or someonelse's Apple ID which is grayed out and can not be changed."

Can not update Apps from App Store as the Apple Id is grayed out
Can not update Apps from App Store as the Apple Id is grayed out

Your Apple ID is like your ID card that proves who you are when using the Apple App Store and other Apple services.
This means that when you purchase and download apps on your Mac, they get tied to that Apple ID to prove they’re yours.So next time there’s an update for that app, it can only be done if you sign in with this specific Apple ID.

We’ve all seen it. You try to update some software on a Mac and you have a pre-populated Apple ID in the login prompt. Because it is grayed out you cannot remove it.

But why?

It’s because you are trying to update software that was downloaded using another Apple ID. Which Apple ID? The grayed out Apple ID. That app is tied to that account.

Operating System updates do not require an Apple ID. (Operating System upgrades do require one.) It may seem like this is not the case but really what you are doing is hitting the “Update All” button in the App Store. What does that “Update All” button do? Well your machine then attempts to update everything including any and all purchased apps. If there is anything attained from the App Store (aside from system updates) then that app is tied to that Apple ID, hence the requirement to sign in as that account to perform a measly update.

Let’s look at a scenario:

You bought a 21′ iMac for your assistant and worked for a year with her before realizing that your collaboration didn’t work as expected and you needed to part ways.Your assistant had used her Apple ID to download certain apps on your iMac 21′ such as Pages, Numbers and Keynote.These apps are now tied to her Apple ID, not yours.

So you’re ready to hire another assistant and would like to setup this computer for her.

When time comes to updates these apps, you won’t be able to as you don’t have your ex-assistant’s Apple ID password!

Well, the easiest way to fix that issue is to delete those apps by going to Finder>Applications then delete them. You should also empty your trash at that point (it doesn’t hurt, it’s probably been ages since you’ve done so…!)

Now go back to the Apple App Store and check if there are any updates. Go to the main page called “Featured” then click on “Welcome” under “Quick Links” on the sidebar on the right.It should now prompt you to login with your Apple ID and the greyed out one should have disappeared. Once logged in, you’ll have access to all other apps you’ve downloaded on other computers with that Apple ID.

So if you had purchased Pages, Numbers and Keynote in the past, they will be available as a free download in the “Purchases” section otherwise you will have to purchase those Apps again with your current Apple ID.

Here are the methods to fix this issue and update all Apps from App Store after getting rid of grayed out Apple Id.

First Method

1. Uninstall the Application which is asking the password of old or incorrect Apple Id when trying to update it.
2. Sign out of Old / Incorrect Apple ID and Sign in with your own current Apple ID.
3. Download that software again and install the update.

Can not update Apps from App Store as the Apple Id is grayed out
Can not update Apps from App Store as the Apple Id is grayed out

Second Method

We can get rid of this however you must note that by doing the following you WILL NOT ATTAIN OWNERSHIP of these apps. If you remove the Apple ID and enter your Apple ID then one of two things will happen. Situation A: you do not own that app (it is not listed as a purchase on your Apple account). The App Store yells at you about it that "Update Unavailable with This Apple ID: This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled.". Situation B: you do own it and the App store allows you to download the latest version in full. Simple as that. You can always download/update apps that are listed under the account you are signed into the App Store with, because, well you know. They’re yours. They are in your account.

Removing the grayed out Apple ID email is as simple as following these quick few steps. Please note that it is impossible to test this with every app in the App Store but I haven’t seen anything to say that this isn’t the way it works for all apps.

  1. Go to the app listed in the App Store as needing an update (usually in the /Applications folder).
    Can not update Apps from App Store as the Apple Id is grayed out
    Can not update Apps from App Store as the Apple Id is grayed out
  2. Right click the app then click “Show Package Contents”.
    Can not update Apps from App Store as the Apple Id is grayed out
    Can not update Apps from App Store as the Apple Id is grayed out
  3. Go into the “Contents” folder, then into the “_MASReceipt” folder.
    Can not update Apps from App Store as the Apple Id is grayed out
    Can not update Apps from App Store as the Apple Id is grayed out
  4. Delete the “receipt” file (you may need to enter a local administrator username and password).
    Can not update Apps from App Store as the Apple Id is grayed out
    Can not update Apps from App Store as the Apple Id is grayed out
  5. Please note that the app will still work as intended.
  6. That’s it. This is really only useful in if the app you need updated is already in your Apple ID account. But even then deleting the app, logging into your Apple account, finding it in the App Store, and downloading it accomplishes the same thing.
  7. Now, close the Mac App Store and then launch it again. Hopefully, at this point, when you try to update the app, its Apple ID field will be empty.If this doesn't work, you will probably want to put the _MASReceipt folder back, by opening the Trash.
    Can not update Apps from App Store as the Apple Id is grayed out
    Can not update Apps from App Store as the Apple Id is grayed out


Incoming Search Terms

Can not update Apps from App Store as the Apple Id is grayed out
App store shows old or incorrect apple id can not update apps
Can not change apple id in app store while updating certain apps
App store always ask password for someone's Apple id not mine's.
App store reset.
reset App store when apple id is grayed out and can not be changed.
Change Apple ID in app store to update certain apps which were downloaded with other Apple Id.
Apple Id grayed out in login Tab
When clicking update all app in appstore it asks password for an unknown grayed Apple id.

Read More

Tuesday, August 11, 2015

CD / DVD Drive on my Mac keeps ejecting my CD / DVD

Tuesday, August 11, 2015 3

CD / DVD Drive on my Mac keeps ejecting every CD / DVD

My CD/ DVD drive on my iMac is going crazy. Soon after I put a CD or DVD in the drive, it spits it back out. it sounds as though it is trying to read the disc, but fails. My drive was working normal earlier today, then it went crazy.I thought its my CD / DVD drive which is faulty and needs to be replaced so I plugged in a USB CD / DVD drive to my Mac that I had purchased long time ago.When I inserted any DVD in the external CD / DVD drive it did the same thing- ejected it.It keeps ejecting the CD / DVD automatically.Then I thought it must be a software problem so I did a research and found various troubleshooting steps to fix it.I am going to share the complete troubleshooting for this "CD / DVD keeps ejecting on Mac" issue which could be result of various reason like dust on lens,OS X issue, hardware fault.

1. Run Disk Utility and Repair Disk Permission

Before starting any troubleshooting, I would recommend you to repair disk permissions as it solves hundreds of problems. A permission allows one application to “talk” with another application and so OS X wants permissions and ownership to be accurate and enabled to function properly. Sometimes these permissions on system files differ from what it should be and this is what we repair using Disk Utility. Disk Utility lets you verify and repair Mac OS X disks and permissions issues.To repair Disk permissions follow the below mentioned steps.
  1. Choose Go > Utilities.
  2. Double-click Disk Utility.
  3. Select the volume in the left pane for which you want to repair permissions.
  4. Click the First Aid tab.
  5. Select the volume to which you want to install the Adobe application, and then click Repair Disk Permissions.

CD / DVD Drive on my Mac keeps ejecting
CD / DVD Drive on my Mac keeps ejecting
If you are using new macOS Sierra then read the post on how to repair disk permission on macOS Sierra and how to fix error found by disk utility in recovery mode.
2.  Delete the following configuration file to create a fresh copy

Your Mac store the information of the every CD you put into the CD / DVD drive in a file called CD Info.cidb. Similarly some other files contains info about the settings and configuration of the drive and disk. Deleting them will allow OS X to create a fresh copy of them.Delete the following files from your Mac.
  1. ~/Library/Caches (your local Library directory). 
  2. /System/Library/Extensions.mkext.
  3. /System/Library/Caches/ (a directory).
  4. /System/Library/Caches/ (a directory).
  5. CD Info.cidb (from ~Home/Library/Preferences).
Some of the files or directory might not exist on your Mac so don't worry about it if it isn't there. Restart your Mac after you do this so OS X will rebuild some of the files.

3. Reset the NVRAM/PRAM and SMC

A small amount of your computer’s memory, called “non-volatile random-access memory” or NVRAM, stores certain settings in a location that OS X can access quickly. The settings that are stored in NVRAM depend on the type of Mac you're using, and the types of devices connected to it.
Power related settings can be controlled by the System Management Controller (SMC) on your Mac. If you are experiencing issues with powering on your computer, sleep, wake, charging your Mac notebook battery, or other power-related symptoms, you might need to reset the SMC instead.

you can find reset instructions for both here: 

Reset NVRAM and PRAM. - Shut down the computer.Press the power button to turn it back on and immediately after pressing the power button, hold down the Command(Apple), Option, P, and R - all the four keys together on the left hand side of the keyboard and keep them hold until you hear 3 loud buzzing (or Chimes).Let go off the keys after 3rd buzzing sound and let the computer be restarted normally.

Resetting the System Management Controller (SMC).
4. Delete the Finder’s preference files

Some people have reported successfully fixing Optical CD/DVD Drive on Mac or SuperDrive issues by deleting the Finder’s preference files (don’t worry, the Finder will automatically make new ones). You’ll want to delete two files: “” and “”. Both of these files are located in Users > [Your User] > Library > Preferences. You can choose whether you want to move the files to a new location (or simply append “.old” or something similar to the file names) or delete them, either way should work. Once you’ve deleted both preference files ("“.sidebarlists” one might not exist, that isn’t necessarily a problem), you’ll need to relaunch Finder. You can accomplish this by restarting your Mac or by bringing up the force quit menu with Command + Option + Esc (if you go this route, simply select Finder and click Relaunch.
Didn’t fix your issue? Try 4.

5. Clean the SuperDrive’s slot with compressed gas/ Vaccum Cleaner
Your CD / DVD drive on your Mac might have got dust in its lens so clean the dust out. I bought this air duster Ecola Vacuum Cleaner ( for Keyboard,Notebook,Computer,Car etc. Compressed Air Duster ) just for $15 from Amazon, It can vacuum out dust and dirt from the chink of the keypad of calculator,telephone,computer,car and so on so give it a good spray into the CD / DVD drive slot on your Mac and this will resolve the problem.To do this first Shutdown your computer and get a can of compressed air. Place the tip of the nozzle attachement where it is aiming inside the drive and give it a couple of quick blasts to blow out any dust particles that may be causing you issue. Power up the system and give it another try.
I found this working for one of my customers once.

CD / DVD Drive on my Mac keeps ejecting
CD / DVD Drive on my Mac keeps ejecting

CD / DVD Drive on my Mac keeps ejecting
CD / DVD Drive on my Mac keeps ejecting

Note: - If the CD/DVD in your optical disk drive or SuperDrive has stuck in the tray then follow the steps mentioned here to eject it.

If your Mac's CD\DVD drive is not working, its malfunctioning, creating screechy noise or if the drive is broken and makes angry noises when it spins up, the noise is becoming a problem when using your computer in class or if you want to disable the CD\DVD drive on your Mac completely for security reasons then here is the solution for disabling the CD\DVD drive on your Mac completely.
Read this post- How to disable Faulty CD\DVD Drive on Mac?

Important Update ( Date updated : Sep 17th, 2017) :
Starting from Mac OS X El Capitan Ver 10.11, Apple has introduced a new featured called " System Integrity Protection" ( SIP, also known as Rootless) which prevents anyone from editing, deleting or moving any system protected files including kernel extensions( kexts) or hardware drivers. If you need to edit or delete them you must disable or turn the SIP feature off.

So above mentioned steps may not work on your Mac until you disable it.

To Disable System Integrity Protection:

csrutil disable


Incoming Search terms
CD / DVD Drive on my Mac keeps ejecting my CD / DVD on mac, CD / DVD not reading on my Mac, CD / DVD ejecting automatically on my mac, CD / DVD, Drive on my Mac keeps ejecting , Optical drive on my mac ejects all the cd / dvd , superdrive in my Mac ejects any Cd / DVD, optical drive does not hold any CD / DVD, ejecting automatically, dvd disk ejects automatically as soon as it goes inside
Read More

My Mac does not eject discs or discs eject slowly

Tuesday, August 11, 2015 0

Doesn't eject discs or discs eject slowly

15 Ways to Eject CD / DVD from your Mac Optical Disk Drive or SuperDrive.

  1. If the drive ejects discs slowly or appears to be struggling or not ejecting First try the normal methods to remove the disc. 
  2. Drag its icon to the Trash can in the Dock or select 'Eject' from the File menu. 
  3. If you are running a virtual machine, e.g. VMFusion, ensure that the CD is disconnected from the virtual machine. This will sometimes allow the CD to now show up in Mac OS X.
  4. "Control-click or right-click the disc icon and choose Eject from the menu that appears". Insert and eject a single disc several times. Check the disc to see if it has a label or other material stuck to the disc that increases the thickness. Remove the label if possible.
  5. Sometimes you can successfully use the eject disc button in iTunes even if the disc is not visible to the Finder.
  6. If the disc will not eject, try pressing the eject key on the keyboard. Some older keyboards may use the F12 key to eject discs.If it doesn't eject, tilt the computer with the disc drive facing down and shake it gently as you press eject.
  7. Press and hold "Command" while simultaneously pressing "E".
  8. Open Disk Utility and choose the disc you wish to eject in the left-hand pane, then click on the Eject button.
  9. If the disc will still not eject, try holding down the trackpad or Left mouse button after restarting the computer.Keep holding that button down until the desktop appears. The Superdrive should attempt to eject the disc.
  10. If the disc continues not to eject, reset the System Management Controller (SMC) and try above mentioned steps again.
  11. If the Disk still does not eject, Some Macintoshes have a paperclip hole that you can insert a straightened paperclip into, manually triggering the eject mechanism.
  12. If the Disk isn't even recognized by the Disk Utility can be dealt with by using Terminal.Open Terminal and type "drutil tray eject" to eject the disc/tray, and "drutil tray close" to close the tray.If you have an external drive, e.g. the MacBook Air Superdrive, use "drutil eject external".
  13. Restart the computer while holding down Command-Option-O-F, to enter the Open Firmware prompt. Type "eject cd" without the quotes, and press return. The disk ought to eject. To start into OS X, type "mac-boot" without the quotes. Press return, and the computer will continue with the startup. (This will not work on an Intel Mac. There is no Open Firmware on Intel Macs. )
  14. If this doesn't work, try restarting your Mac while holding the Option key located two buttons to the left of the space bar. This will open up the Startup Manager.When the pop up of "bootable volumes" appears, release the Option key and press the Eject button in the top right-hand corner of your keyboard. The disc should then eject.
  15. If the disc still does not eject, contact Apple or an Apple Authorized Service Provider, or make an appointment with an Apple Retail Store for additional assistance.

Read More

Tuesday, August 4, 2015

Install firefox without any browser using FTP command in terminal on a Mac

Tuesday, August 04, 2015 0
One of my friends recently installed latest software update for his Mac OS X 10.8. This update package also had updates related to safari browser included. After finishing the update when he restarted the computer, he was unable to open Safari as it started showing error message "This version of safari is not supported on the current version of OS X.Please upgrade to OS X 10.10 or above." Also the safari icon shows a restricted access sign.

Unfortunately he did not have any alternate browser installed on his Mac and he could not install any other browser now as it requires you to have a browser to go to the download link.So the only option left was download the installation file on another computer and save it to a flash drive and install the Firefox or Chrome as an alternate browser on the other one where Safari does not work. What if yo do not have any other computer and browser both? Don't worry, here is a way to download Mozilla Firefox from internet using terminal commands.

Install Firefox without any browser using FTP command in terminal on a Mac.

  1. Go to Spotlight and type Terminal. Click on Terminal app to open it.
  2. In Terminal type “ftp” and hit enter.( Without Quotes )
  3. type “open” and hit enter.( Without Quotes )
  4. It will ask for a username, type “anonymous” and hit enter.( Without Quotes )
  5. It will then ask for a password, type “anonymous” and hit enter.( Without Quotes )
  6. Open the folder with the latest Mac release of Firefox by typing in:
  7. “cd pub/” and then enter.( Without Quotes )
  8. View the contents of the current directory by typing in “ls” and then enter.( Without Quotes )
  9. Switch to binary file mode by typing in “type image” and then hit enter.( Without Quotes )
  10. When you typed in “ls” from step 7, it should have listed a .dmg file for you.  As of writing the latest version is Firefox 39.0.dmg.  In this case, we will type in: get “Firefox 39.0.dmg” (type in the quotes)
  11. Now go type Firefox in the spotlight you should see the Firefox 39.0.dmg file downloaded.Click on the file and install it.
  12. Type “bye” to exit the FTP mode, and then quit terminal.
Install firefox without any browser using FTP on Mac
Install firefox without any browser using FTP on Mac
Install firefox without any browser using FTP on Mac
Install firefox without any browser using FTP on Mac
Install firefox without any browser using FTP on Mac
Install firefox without any browser using FTP on Mac
Note: - If you are running OS X 10.6 Snow Leopard then you could download Safari Version 5.0.5 to your home folder from ( no browser)  required, just copy and paste:

curl -o Safari.dmg -R  

*******End of Article ******

Incoming Search terms
install Firefox without any browser, Mac terminal command to install firefox without any browser, install firefox using terminal command on a mac without any browser, firefox download -ftp command without any browser, ftp command to download firefox on a mac without any browser. Mozilla firefox installation without safari, download firefox without safari, get a browser without any browser, download and install firefox free without any other browser , install firefox on mac with terminal ftp command
Read More