KB2686509 repeatedly fails with Error code 0x8007F0F4

Anonymous
2012-05-08T19:14:06+00:00

KB2686509 repeatedly fails with Error code 0x8007F0F4

Windows for home | Previous Windows versions | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2012-05-15T03:18:54+00:00

This is obsolete

I wrote a VB Script to fix two problems while running microsoft security update KB2686509

HKLM\SYSTEM\CurrentControlSet\Control\Keyboard LayoutandHKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts

for those who are no registry freaks.

*Here you can download my little hotfix as ZIP-file.*

What does it do? Nothing magic!

1. Makes a registry backup

2. delete entries in Keyboard Layout

3. checks every keyentry in Keyboard Layouts against existing file in %SystemRoot%\System32

Hope I help someone with this script.

Regards

Christian from Germany

Update 2012/06/03

I have written a batch file too. So you can use this instead the vbs solution.

It's a little bit harder, because the batch file exports the two keys, deletes them, creates blank entries. Then you have to run the KB2686509 again! After doing this do not reboot, press continue in the command window (restoring old entries) and then reboot.

If one of the (bad) keys does not exists, the batch file creates a blank entry, so KB2686509 should work.

Here you can download the batch file http://www.vivus.net/dl/

Was this answer helpful?

3 people found this answer helpful.
0 comments No comments
Answer accepted by question author
Anonymous
2012-05-08T22:52:59+00:00

New instructions OF 6/19/2012

The FIX-IT’s for this KB have been released today for this Security update. They are available for download at : http://support.microsoft.com/kb/2686509

========================

Since we’ve figured it out, can you see if any of these solutions fixes you up?

Edit on Sunday 5/13 - I figured out the problem.  I had remapped a keyboard key.

If you are hitting this error and do NOT have a faultykeyboard.log file see if you can follow this post and get the patch installed:

KB2686509 - Failure - due to remapping of a key - TechNet Articles - United States (English) - TechNet Wiki:

http://social.technet.microsoft.com/wiki/contents/articles/10829.kb2686509-failure-due-to-remapping-of-a-key.aspx

If you upgraded from Windows ME or 98 to XP (you see nothing but .kbd files listed in your faultykeyboard.log file) -- follow this post:

KB2686509 - Failure - due to upgrade from Windows ME or 98 to Windows XP - TechNet Articles - United States (English) - TechNet Wiki:

http://social.technet.microsoft.com/wiki/contents/articles/10876.kb2686509-failure-due-to-upgrade-from-windows-me-or-98-to-windows-xp.aspx

If you have DLLs noted in the faultykeyboard.log file but can't find them on your PC follow this post:

KB2686509 - Failure due to missing DLL files - TechNet Articles - United States (English) - TechNet Wiki:**http://social.technet.microsoft.com/wiki/contents/articles/10880.kb2686509-failure-due-to-missing-dll-files.aspx**

IF NONE OF THESE WORK, email susan-at-msmvps.com and I'll have someone from Microsoft call you back to fix your system.

==========

Freudi always posts great analysis:

2686509 (MS12-034) - Vulnerability in the keyboard layout handling on Windows XP SP3 - 8:05:12 - patch-info.de:

http://translate.googleusercontent.com/translate_c?hl=en&ie=UTF8&prev=_t&rurl=translate.google.com&sl=de&tl=en&u=http://patch-info.de/artikel/2012/05/08/1324&usg=ALkJrhgcu5tcIlkGoRk0XYjsGBlgYvLePw

Was this answer helpful?

0 comments No comments

397 additional answers

Sort by: Newest
  1. Anonymous
    2012-05-23T22:53:59+00:00

    Have you tried the script in the ANSWER post on Page One yet?...

    I wrote a VB Script to fix two problems while running microsoft security update KB2686509

    HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout\Scancode Map

    and

    HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts

    for those who are no registry freaks.

    Here you can download my little hotfix as ZIP-file.

    What does it do? Nothing magic!

    1. Makes a registry backup
    2. delete Scancode Map if exists
    3. checks every keyentry in Keyboard Layouts against existing file in %SystemRoot%\System32

    Hope I help someone with this script.

    Regards

    Christian from Germany

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2012-05-23T20:02:27+00:00

    Thank you liv101

    Yes, I have the show files on and I can find a lot of *.dll files but not the two indicated in the failureKeyboard.log, which are: kbdjpn.dll and kbdkor.dll.

    Please find following the last pages (last 3 times) of the log:

    8.609: 2012/05/21 18:49:00.609 (local)

    8.609: C:\WINDOWS\SoftwareDistribution\Download\3438087687b5dd8accc81e44f72f02e7\update\update.exe (version 6.3.13.0)

    8.609: DoInstallation: GetProcAddress(InitializeCustomizationDLL) Returned: 0x7f

    8.609: Failed To Enable SE_SHUTDOWN_PRIVILEGE

    8.625: Hotfix started with following command line: -q -z -er /ParentInfo:64573cde20ff4e4eae61574034d31e5a

    8.625: In Function GetReleaseSet, line 1240, RegQueryValueEx failed with error 0x2

    9.062: Return Value From IsMachineSafe = 0

    9.062: IsMachineSafe returned 441092

    9.062: Fist Condition in Prereq.IsMachineSafe.Section Failed

    9.062: Condition Check for Line 1 of PreRequisite returned FALSE

    9.078: ReadStringFromInf: UpdSpGetLineText failed: 0xe0000102

    9.078: KB2686509 Setup encountered an error:  Setup cannot continue because one or more prerequisites required to install KB2686509 failed. For More details check the Log File c:\windows\KB2686509.log

    9.078: ReadStringFromInf: UpdSpGetLineText failed: 0xe0000102

    9.078: Setup cannot continue because one or more prerequisites required to install KB2686509 failed. For More details check the Log File c:\windows\KB2686509.log

    9.078: Update.exe extended error code = 0xf0f4

    11.157: ================================================================================

    11.172: 2012/05/23 10:57:03.265 (local)

    11.172: C:\WINDOWS\SoftwareDistribution\Download\3438087687b5dd8accc81e44f72f02e7\update\update.exe (version 6.3.13.0)

    11.172: DoInstallation: GetProcAddress(InitializeCustomizationDLL) Returned: 0x7f

    11.172: Failed To Enable SE_SHUTDOWN_PRIVILEGE

    11.172: Hotfix started with following command line: -q -z -er /ParentInfo:b81f47147c39c24eab770d7d42e47eef

    11.188: In Function GetReleaseSet, line 1240, RegQueryValueEx failed with error 0x2

    13.188: Return Value From IsMachineSafe = 0

    13.188: IsMachineSafe returned 441092

    13.188: Fist Condition in Prereq.IsMachineSafe.Section Failed

    13.188: Condition Check for Line 1 of PreRequisite returned FALSE

    13.188: ReadStringFromInf: UpdSpGetLineText failed: 0xe0000102

    13.188: KB2686509 Setup encountered an error:  Setup cannot continue because one or more prerequisites required to install KB2686509 failed. For More details check the Log File c:\windows\KB2686509.log

    13.204: ReadStringFromInf: UpdSpGetLineText failed: 0xe0000102

    13.204: Setup cannot continue because one or more prerequisites required to install KB2686509 failed. For More details check the Log File c:\windows\KB2686509.log

    13.204: Update.exe extended error code = 0xf0f4

    58.391: ================================================================================

    58.438: 2012/05/23 22:15:30.203 (local)

    58.438: C:\WINDOWS\SoftwareDistribution\Download\3438087687b5dd8accc81e44f72f02e7\update\update.exe (version 6.3.13.0)

    58.875: DoInstallation: GetProcAddress(InitializeCustomizationDLL) Returned: 0x7f

    58.907: Failed To Enable SE_SHUTDOWN_PRIVILEGE

    58.985: Hotfix started with following command line: -q -z -er /ParentInfo:0bb46ecdb8d51e40a3c60e7c30a41e8f

    59.375: In Function GetReleaseSet, line 1240, RegQueryValueEx failed with error 0x2

    74.125: Return Value From IsMachineSafe = 0

    74.125: IsMachineSafe returned 441092

    74.125: Fist Condition in Prereq.IsMachineSafe.Section Failed

    74.125: Condition Check for Line 1 of PreRequisite returned FALSE

    74.172: ReadStringFromInf: UpdSpGetLineText failed: 0xe0000102

    74.172: KB2686509 Setup encountered an error:  Setup cannot continue because one or more prerequisites required to install KB2686509 failed. For More details check the Log File c:\windows\KB2686509.log

    74.188: KB2686509 Setup canceled.

    74.188: Update.exe extended error code = 0xf00d

    I hope you can get some clue from the log.

    For the moment the KB2686509 update is coming over and over in my PC but I gave up and wait for a "miracle" from Microsoft to fix it automatically. I hope that I do not risk anything by not having it installed.

    Thanks again.

    Statlaz

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2012-05-23T17:19:20+00:00

    A different solution


    I have trawled through every one of the 27 pages of this forum and tried all the answers none of which worked. I didn't have a faultykeyboard.log nor scancode nor any of the other problems.

    HotFix4KB2686509.vbs asks for admin access because it couldn't find HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout

    When I commented out the check for this it ran but found no faults.

    That turned out to be the simple solution!

    I have the following Registry key

    HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts

    but not

    HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout

    so I created

    HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout

    and then the KB2686509 upodate succeeds.

    To summarise:

    If

    HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout

    doesn't exist then create it, no need to put any entries in it.

    I hope that helps - I don't think anyone else has mentioned this solution but apologies if they have and I've overlooked it.

    Was this answer helpful?

    0 comments No comments