11 Replies Latest reply: Dec 9, 2013 7:07 AM by Scott-texas
pkomorek Level 1 Level 1 (0 points)

hi, I've lost my hope already. I have chedked probably all discussion posts, no help for me.

I have Lenovo laptop with Win7. recently my iTunes stopped working. I have error message that AVfoundationcf.dll is missing, and then windows error 126.

I've reinstalled itunes dozen times, with or without internet or antivirus (Kaspersky Pure). reinstallation did not help.

Help me please..

iPhone 4, iOS 5.1.1
  • wiclee Level 5 Level 5 (6,950 points)

    Please repair your Apple Application Support.


    Control Panel > Programs n Features > highlight AAS, click CHANGE then REPAIR.

  • pkomorek Level 1 Level 1 (0 points)

    Thanks, tried it, no success... :/

  • wiclee Level 5 Level 5 (6,950 points)
  • bAayush Level 1 Level 1 (0 points)

    Worked for me



  • Brandonl93 Level 1 Level 1 (0 points)
  • ColoSanchez Level 1 Level 1 (0 points)

    Yeah dude i have the EXACT same problem. Ccleaner removed some sort of registry and now im up ***** creek. I think iTunes on my laptop is doomed. Even though that may sound dumb but im kinda feeling ******. Me and this apple advisor are practically best friends now because we have spent so much time on the phone trying to figure this out. I dont know what else to do. This *****.

  • ColoSanchez Level 1 Level 1 (0 points)

    EVERYBODY WITH THIS PROBLEM!!! I HAVE A FIX!! An apple advisor, after spending weeks at a time on the phone with him, we got a fix!!! Here it is!!!!!!!


    This is the email he sent that an APPLE ENGINEER instructed him to tell me to do. ANd this wasnt even supposed to fix the problem! I TRULYhope it does for you guys. This problem is THE WORST.



    Hey David,
    We need to get those install logs. Please follow the following.


    1.  Empty the Temp directory and restart the computer (see kBase article HT1926 for details -- http://support.apple.com/kb/HT1926 ).
    2.  Open the Programs and Features control panel, click "Uninstall a Program" and remove iTunes, Apple Software Update, Apple Mobile Device Support, Apple Application Support, and Bonjour (remove them in that order).
    3.  Reboot to a selective startup using MSConfig ( http://support.apple.com/kb/HT2292 ).
    4.  Remove the following folders/files (if they exist):
    - C:\Program Files\iTunes\
    - C:\Program Files\iPod\
    - C:\Program Files\Bonjour\
    - C:\Program Files\Common Files\Apple\
    - C:\Program Files (x86)\iTunes\
    - C:\Program Files (x86)\iPod\
    - C:\Program Files (x86)\Bonjour\
    - C:\Program Files (x86)\Common Files\Apple\
    NOTE:  If that last folder doesn't remove, try renaming it to Apple.old instead.
    5.  Remove any existing copies of iTunes64Setup.exe from this computer.
    6.  Download a fresh version of the iTunes installer from http://www.apple.com/itunes/download .  When downloading iTunes be sure that the customer clicks Save (not Run).
    7.  Move the newly downloaded iTunes64Setup.exe file to the root level of the hard drive (C:\)
    8.  From the Start menu, click All Programs, then Accessories, then right-click Command Prompt and select "Run as administrator" from the shortcut menu.
    9.  At the prompt, type the following (WITH the quotes):     "C:\iTunes64Setup.exe" /l*v C:\log.txt
    10.  The iTunes installer should launch.  Have the customer run through it as they would normally.  Confirm that the issue persists.  Then grab the "log.txt" file off the C drive.

    Let me know if you have any issues.


    Listen guys, if THIS doesnt work you NEED to call an apple advisor and be asked to be put through to an APPLE SENIOR ADVISOR, you need to tell him/her that you have a VERY severe issue with iTunes. Be specific, say your problem in extreme detailed. After that, he/she may try some solutions, if they do not work, ask if theres any way an apple engineer or someone of higher knowledge on this matter can join this "party". I wish you all the best. Please try this out ASAP as i am awaiting all your feedback

  • davethescribe Level 1 Level 1 (0 points)

    Thank you. thank you, THANK YOOOO. You have saved my sanity!


    I shall write to Pope Frankie right now and ask him to canonize you.





  • ColoSanchez Level 1 Level 1 (0 points)

    YOUR SO WELCOME!! I cant tell you how hapy i am when i can help people fix this problem. Its probably the worst possible problem you can get with iTunes.

  • VorVValhalla Level 1 Level 1 (0 points)

    Non of above helped me.

    After reinstallation of whole apple software still the same.

    This one helped me:

    Go to:

    C:\ProgramData\Apple\Installer Cache


    Then install:

    Apple Software Update - Repair

    AppleApplicationSupport 2.3.6 - Repair


    This fixed error - and iTunes finally works again (Without any restart).

  • Scott-texas Level 1 Level 1 (0 points)

    EULA! EULA! EULA!   Greetings! I had the same problem on my PC for over a year!  Itunes would download, appear to install correctly.. and then I'd get error messages about files not being found.. uninstall and start over to have the same thing happen again and again...  I finally decided that I would track down the problem and I did!!  Its very simple....



    After install, a window pops up saying Itunes installed correctly. Theres a checkbox to RUN IT NOW that is checked by default.. THIS IS THE PROBLEM  It tries to force itunes to run before you accept the EULA.. Uncheck the RUN NOW box and click done or ok.. and immediately, the EULA pops up.. Accept it and then run itunes from the desktop shortcut and it should work perfectly!