"...to become the leader in providing faster, friendlier, and more affordable subscription-based computer support services."

Ask Dr.Tech solution database


Troubleshoot a Mac with AppleJack

Monday, 4 October 2010 08:40 by Davian

applejack.gif

AppleJack is a really handy troubleshooting utility for Mac that works even if you can’t load the Mac OS X GUI. Running in Single User Mode, it’s a simple menu-based tool to run a series of tests and repairs on the Mac OS. With AppleJack you can easily:

* Repair Disk
* Repair Disk Permissions
* Validate System Preference files
* Clear Caches
* Clear Swap Files

These are common Mac troubleshooting techniques, and really make AppleJack a handy utility in any Mac users toolkit. To use AppleJack, all you need to do is restart your Mac in Single User Mode by holding down Command+S during system start, then type applejack at the prompt. You’ll then be brought to the same menu you see in the screenshot above, where you can perform the necessary actions to get your Mac back in good health.

AppleJack is open source and free to download, highly recommended.

 

Reopen/Restore windows from last session in Safari

Monday, 4 October 2010 08:18 by Davian

safari-reopen-windows-from-last-session.jpg

 

if Safari has crashed in the midst of browsing the web, you can restore your last session and all its windows, tabs, and URL’s just by:

  • Go to the History menu
  • Scroll down to “Reopen All Windows from Last Session”

This has saved me all sorts of stress and headaches when Safari crashes with important tabs open. Try it out the next time you have browser failure.

How To Enable Boot Logging For Fixing Startup Problems in Windows

Thursday, 22 July 2010 04:59 by Davian

When facing a system crash or startup up problems on Windows Computers, troubleshooting the problem can be difficult to resolve. The first step with recovery is to use Windows Safe Mode option during startup. One Safe Mode option that will help troubleshoot boot problems is to enable Boot Logging which will create a log and help identify the device or driver that is causing the problem during startup.

When Boot Logging is enable, Windows boots normally, until the device or driver that is causing the problem either crashes the system or completes starting up but causes an error message in the Event Log. While booting, Windows creates a log file that lists every step processed that is attempted and completed.

You can then reboot in to Safe Mode and review the log file named ntbootlog.txt. The log is stored in the %SYSTEMROOT% directory (normally C:\Windows or C:\WINNT folder). Below is an example of
ntbootlog.txt log file on Windows XP (Vista log is similar):

Service Pack 2 5  4 2007 10:45:44.500
Loaded driver \WINDOWS\system32\ntkrnlpa.exe
Loaded driver \WINDOWS\system32\hal.dll
Loaded driver \WINDOWS\system32\KDCOM.DLL
Loaded driver \WINDOWS\system32\BOOTVID.dll
Loaded driver ACPI.sys
Loaded driver \WINDOWS\System32\DRIVERS\WMILIB.SYS
Loaded driver pci.sys
Loaded driver isapnp.sys
Loaded driver compbatt.sys
Loaded driver \WINDOWS\System32\DRIVERS\BATTC.SYS
Loaded driver intelide.sys
Loaded driver \WINDOWS\System32\DRIVERS\PCIIDEX.SYS
Loaded driver MountMgr.sys
Loaded driver ftdisk.sys
Loaded driver dmload.sys
Loaded driver dmio.sys
Loaded driver PartMgr.sys
Loaded driver VolSnap.sys
Loaded driver atapi.sys
Loaded driver vmscsi.sys
Loaded driver \WINDOWS\System32\DRIVERS\SCSIPORT.SYS
Loaded driver disk.sys
Loaded driver \WINDOWS\System32\DRIVERS\CLASSPNP.SYS
Loaded driver fltmgr.sys
Loaded driver sr.sys

To enable Boot Logging on Windows XP and Vista, boot your Computer, and during startup continually press F8 until the menu screen appears:

NOTE: screen shot is from XP. Vista menu will look slightly different than XP.

1.png

Press F8 to display the Advanced Menu screen and select Enable Boot Logging


2.png

You will be returned to the menu screen and you should see Enable Boot Logging in blue displayed at the bottom of the screen (don't worry if this screen is not displayed and Windows starts to boot):


3.png

If the problem does not cause Windows to crash, and after startup has completed, you can review the ntbootlog.txt file. Look for any signs of problems loading device drivers. If you find problems, go into Device Manager and disable the device or uninstall the program, then reboot again. If the problem does not occur then you know it was that device and you should check the vendor website for new drivers or known issues.

If your problem does cause Windows to crash, reboot into Safe mode by selecting Safe Mode from the Advanced Menu screen. When reviewing ntbootlog.txt file, look for events that were attempted to load but not completed. More than likely the problem will be toward the end of the file (since that was the last item logged before crashing). When you identify the problem, either uninstall the application or go in to Device Manager and disable the device. Reboot your Computer and see if the problem still exist. If it boots without crashing, check the vendor website for new drivers or known issues.

If you are still having problems, enable Boot Logging again to see if new events are logged after you have disabled the device or uninstalled the program. If you are unable to fix the problem, you may need to have a Computer shop troubleshoot the problem for you.

Notes on Boot Logging:

  • Boot Logging can only be enabled from Safe Mode. Once it is enabled, it only logs during the current boot. It will not log during the next reboot unless you enable it again from Safe Mode.
  • If an existing ntbootlog.txt files exist, the next time Boot Logging is enabled, Windows will append to the existing log file.
  • It is a good idea to have Windows create a new log when there are no problems or after you have added new devices. This will allow full logging to occur and will let you compare with a log when problems exists.

Unable to log in after an upgrade install (Mac OS X 10.5)

Thursday, 13 May 2010 10:38 by Davian

Symptoms

If you perform a Mac OS X 10.5 upgrade installation from a version of Mac OS X that was previously migrated from Mac OS X 10.2.8 or earlier, you may not be able to log in to your user account if the password contains eight or more characters.  This article applies to Mac OS X version 10.5 installation discs; this issue should not occur with installation discs that contain Mac OS X version 10.5.1 or later.

Resolution

If you can log in or are logged in

(click on link below) Download and install  the Login & Keychain Update 1.0 for Mac OS X 10.5 Leopard to avoid the issue later.

 

If you are unable to log in

you can use these steps instead:

  • Restart in Single User mode (hold Command-S during startup). Note that single-user mode always uses the US English keyboard layout.
  • At the prompt, type this followed by Return: mount -uw /
  • Type this:
  • launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
  • Press Return
  • Type this, then press Return: ls /Users
  • Look at the listing and note the short name (username) of the affected user account.
  • Type this:

    dscl . -delete /Users/username AuthenticationAuthority

    Note: Replace "username" with the affected user account's short name you noted above.
  • Press Return
  • Type this, followed by Return: passwd username

    Note: Replace "username" with the affected user account's short name you noted above.
  • At the "New password:" prompt, type the user's password, then Return. Note: It is recommended that the original user's password be used to match the keychain password.
  • At the "Retype new password" prompt, type the same password, followed by Return.
  • Type this, followed by Return: reboot

Only installation option may be Erase and Install (Mac OS X 10.5)

Thursday, 13 May 2010 10:00 by Davian

Symptoms

When installing Mac OS X 10.5 Leopard, the only available installation option may be Erase and Install. An alert may appear during installation, such as "You can not install mac os x on this volume with out changing your installation settings...".

 

Resolution

Check the destination volume for issues

The Leopard Installer checks the available destination disks in the background before listing them in the destination window. If the disk check does not succeed, no message is displayed indicating that an issue has occurred.

Use Disk Utility from the Leopard installation DVD to verify and repair the destination drive (choose it from the Utilities menu while started from the Leopard DVD).

Note: If Disk Utility specifically reports "Incorrect number of Extended Attributes (it should be 0 instead of [some numbers])", do this:

  • Quit Disk Utility.
  • Choose Startup Disk from the Utilities menu.
  • Select your Mac OS X volume (hard drive), and click Restart.
  • Log in as an admin user.
  • Open Terminal located in (/Applications/Utilities).
  • Screen shot 2010-05-13 at 11.06.11 AM.png
  • Type the following command, followed by Return:

    sudo /usr/sbin/fsaclctl -p / -e
  • Enter your password when prompted.
  • Restart from the Leopard Install DVD.
  • From the Utilities menu, open Disk Utility and repair the volume.
  • Validate that the volume was repaired.
  • Quit Disk Utility.
  • Proceed with your Leopard installation.

If Disk Utility reports any other issues that cannot be corrected, backup essential data, then perform an Erase and Install.

Resetting the System Management Controller (SMC) (Intel-based Macs)

Thursday, 13 May 2010 08:57 by Davian

Summary

The System Management Controller (SMC) is responsible for many low-level functions on Intel-based Macs. These functions include:

  • Responding to presses of the power button
  • Responding to display lid opening and closing on portable Macs
  • Battery management
  • Thermal management
  • The SMS (Sudden Motion Sensor)
  • Ambient light sensing
  • Keyboard backlighting
  • Status Indicator Light (SIL) management
  • Battery status indicator lights
  • Selecting an external (instead of internal) video source for some iMac displays

It is possible that the SMC could encounter a problem that may cause unusual system behavior typically related to the symptoms described below. In some cases, resetting the SMC may be the only correct method to resolve the issue, however, an SMC reset should only be attempted after all other standard troubleshooting has been performed.

Before Resetting the SMC

Try each of the following steps in this order before you reset the SMC.  Test the issue after completing each troubleshooting step to determine if the issue still occurs.

  1. Press Command + Option + Escape to force quit any application that is not responding.
  2. Put your Mac to sleep by choosing the Apple () menu from the upper-left menu bar and then choosing Sleep. Wake the computer after it has gone to sleep.
  3. Restart your Mac by by choosing the Apple () menu from the upper-left menu bar and then choosing Restart.
  4. Shut down your Mac by by choosing the Apple () menu from the upper-left menu bar and then choosing Shut Down.

If your Mac appears to be running normally but isn't responding, force the computer to shut down by pressing and holding the power button for 10 seconds. Note: You will lose any unsaved work in any open applications.

For Mac portables experiencing issues related to the MagSafe power adapter and/or battery, try:

  1. Unplug the MagSafe power adapter from the Mac and the wall power socket for several seconds.
  2. Shutdown the Mac. Physically remove and re-insert the battery (if it's removable) and startup the Mac.

If the issue is still not resolved after following the troubleshooting items above, an SMC reset may be necessary.

After performing normal troubleshooting, these symptoms may indicate that an SMC reset may be necessary:

Fans
The computer's fans speed up quickly and remain at high speed.
The computer's fans run at high speed although the computer is not experiencing heavy usage and is properly ventilated.

Lights
The keyboard backlight appears to behave incorrectly (on Mac computers that have this feature).
The Status Indicator Light (SIL) appears to behave incorrectly (on Mac computers that have an SIL).
Battery indicator lights, if present, appear to behave incorrectly (on portables that use non-removable batteries).
The display backlight doesn't respond correctly to ambient light changes on Mac computers that have this feature.

Power
The computer doesn't respond to the power button when pressed.
A portable Mac doesn't appear to respond properly when you close or open the lid.
The computer sleeps or shuts down unexpectedly.
The battery does not appear to be charging properly.
The MagSafe power adaptor LED doesn't appear to indicate the correct activity.

System Performance
The computer is running unusually slowly although it is not experiencing abnormally high CPU utilization.

Video
A computer that supports target display mode does not switch into or out of target display mode as expected.
A computer that supports target display mode switches into or out of target display mode at unexpected times.

Resetting the System Management Controller (SMC)

Resetting the SMC on Mac portables with a battery you can remove

Note: Learn about removing the battery on MacBook and MacBook Pro.
  1. Shut down the computer.
  2. Disconnect the MagSafe power adapter from the computer, if it's connected.
  3. Remove the battery.
  4. Press and hold the power button for 5 seconds.
  5. Release the power button.
  6. Reconnect the battery and MagSafe power adapter.
  7. Press the power button to turn on the computer.

Resetting the SMC on portables with a battery you should not remove on your own

Note: Portable computers that have a battery you should not remove on your own include MacBook Pro (Early 2009) and later, all models of MacBook Air, and MacBook (Late 2009).
  1. Shut down the computer.
  2. Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
  3. On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
  4. Release all the keys and the power button at the same time.
  5. Press the power button to turn on the computer.  Note: The LED on the MagSafe power adapter does not change states or temporarily turn-off when you reset the SMC.

Resetting the SMC for Mac Pro, Intel-based iMac, Intel-based Mac mini, or Intel-based Xserve

  1. Shut down the computer.
  2. Unplug the computer's power cord.
  3. Press and hold the power button for 5 seconds.
  4. Release the power button.
  5. Attach the computers power cable.
  6. Press the power button to turn on the computer.

How to use Migration Assistant to transfer files from another Mac (Mac OS X 10.5, Mac OS X 10.6)

Friday, 7 May 2010 06:09 by Davian

Summary

You can use Migration Assistant to transfer your files and important settings from an older Mac to a new one.

To use Migration Assistant, both Macs must be FireWire-equipped or be connected to the same Ethernet or wireless network.

Tip: If you have a MacBook Air or MacBook (13-inch, Aluminum, Late 2008), make sure both computers are connected to the same Ethernet or wireless network.

Note: If you experienced issues while using some files or applications on your previous computer, you may not want to transfer those files and applications to your new computer. If you do, you may transfer issues or incompatible files.

To transfer files via Migration Assistant

1) Before performing migration, use Software Update on your older Mac to ensure you get the latest updates for Mac OS X.

2) If you're using a portable Mac, make sure the power cable is connected.

3) On your new Mac, open Migration Assistant, located in the Utilities folder in your Applications folder.

Screen shot 2010-05-07 at 7.12.05 AM.png

4) Read the Introduction screen, then click Continue.

5) If a dialog appears, type your admin password, then click OK.

6) In the Migration Method screen, select “From another Mac,” then click Continue.

Screen shot 2010-05-07 at 7.14.13 AM.png

7) If you are transferring via FireWire, connect a FireWire cable between your new Mac and your earlier Mac, then click Continue (skip step 8).

8) If you are transferring via a wired (Ethernet) or wireless network:

  1. Make sure both computers are on the same local network, or connect them directly to each other with an Ethernet cable if both have an Ethernet port.
  2. On the computer you are transferring files to, click "Use Network", then click Continue, then click "From another Mac".
  3. On the Mac you are transferring from, open Migration Assistant, click "Use Network", then click Continue, then click "To another Mac".
  4. Follow the onscreen instructions to connect the computers via a passcode and transfer files.

9) Select the hard disk and user accounts from which you want to transfer, and select whether you want to transfer applications, files and folders, or your Library folder.

10) Select whether you want to transfer your network, time zone, and Sharing settings, and then click Transfer.

11) When Migration Assistant is finished transferring files, click Quit.

Restoring data from an unavailable disk (when multiple disks are used) (Mac OS X 10.5, Mac OS X 10.6)

Friday, 7 May 2010 06:04 by Davian

If you back up multiple disks attached to your Mac, such as external hard disks or additional internal hard disks, and you want to restore data from one of these disks but it is not connected to your Mac (or the disk is no longer working), follow these steps:

1) Click the Time Machine icon in the Dock, or choose Enter Time Machine from the Time Machine menu extra.

2) Click the computer name found at the top of the devices group in your Finder sidebar, or press Shift-Command-C.

3) Click on the name of the unavailable or absent volume.

4) Select the data you want to restore.

5) Click "Restore".

Screen shot 2010-05-07 at 7.06.14 AM.png

6) When "The enclosing folders for some items no longer exist in their original locations..." dialog appears, click the "Choose Location..." button.

Screen shot 2010-05-07 at 7.07.02 AM.png

7) Navigate to the location that you would like to restore your data to, then click "Choose".

Screen shot 2010-05-07 at 7.07.45 AM.png

How to transfer your back up from an existing Time Capsule to a new one (Mac OS X v10.6)

Friday, 7 May 2010 05:52 by Davian

For this process, you should leave your computer in the same room as the Time Capsules, or use one Ethernet cable to connect your Mac to the Ethernet port on the existing Time Capsule, then use another Ethernet cable to connect from the existing Time Capsule to the new Time Capsule.

1) Configure your Time Capsule for your network. See the documentation that came with your Time Capsule for information about setting it up on your network.

2) Open Time Machine preferences in System Preferences.

3) Slide the Time Machine switch to Off.

Screen shot 2010-05-07 at 6.47.28 AM_1.png

4) Mount both Time Capsules on your Mac and open a Finder window for each of them by double clicking on each one.  Take note of the free space available on your new Time Capsule.

5) Drag your backup disk image from the current Time Capsule to the new Time Capsule.  This can take some time to complete because your entire backup will be copied.

6) Open Disk Utility (in /Applications/Utilities).

Screen shot 2010-05-07 at 6.56.15 AM.png

7) Drag the backup disk image from your new Time Capsule to the Disk Utility window.  Once completed, the disk image will appear in the device pane on the left of Disk Utility.

8) Highlight the disk image in Disk Utility and click "Resize Image" on the toolbar.

9) In the "New Size:" field enter the amount that equals the free space of the new Time Capsule you noted from above, then click Resize.

10) Double-click your backup sparse bundle in Disk Utility to mount it.

11) Click the "Partition" tab.

Screen shot 2010-05-07 at 6.59.17 AM.png

12) Drag the partition size divider down to the bottom of the "Volume Scheme" (to make it larger).

13) Click Apply, then click Partition. This will expand the size of your backup sparse bundle.
Tip: You can use Disk Utility to check the integrity of the backup sparse bundle: highlight the backup sparse bundle, then click the First Aid tab.  Click "Verify Disk" to check the sparse bundle.

14) Go to Time Machine System Preferences.

15) Click "Select Disk...", then select your new Time Capsule.

Screen shot 2010-05-07 at 6.49.22 AM_1.png

16) Perform a Time Machine backup.

17) After the back up, you can remove the Ethernet cables if desired and configure your wireless network to your liking.

How to transfer your backups from your current hard drive to a new hard drive (Mac OS X v10.6)

Friday, 7 May 2010 05:45 by Davian

If you upgrade to a new hard drive with a larger capacity, you may want to transfer your existing Time Machine backups to it before using it for regular backups.  To keep your existing backups on your new, larger backup hard drive, follow these steps:

1) Connect your new hard drive.

2) In Disk Utility, make sure it has a GUID partition and is formatted as Mac OS Extended (Journaled).  If needed, reformat the drive as Mac OS Extended with a GUID partition.

3) Select the new drive's icon on the desktop and choose Get Info from the File menu.

4) Make sure "Ignore ownership on this volume" is not enabled.

5) Open Time Machine preferences in System Preferences.

6) Slide the Time Machine switch to Off.

Screen shot 2010-05-07 at 6.47.28 AM.png

7) In Finder, double-click the current backup hard drive to open its Finder window.

8) Drag the folder "Backups.backupd" to the new hard drive.

9) Enter an administrator user name and password, then click OK to start the copying process.  This may take some time to complete because all your backups will be copied..

10) In Time Machine System Preferences click "Select Disk…"

Screen shot 2010-05-07 at 6.49.22 AM.png

11) Select your new hard drive, then click "Use for Backup."

Now, on your new hard drive, you will have all of your existing backups from the previous backup hard drive plus have more room for more new backups.


Sign up now - $98.00 annual plan
Also available plans: 15 day money back guarantee
per-incident $37.00
month to month* $47.00
* Plans include unlimited number of support incidents

A “must-have” service


Using Ask Dr. Tech is like having your personal technician always at hand *
* for only 26 cents per day