none
Custom Shell (cmd.exe) = Windows Update does not work RRS feed

  • Question

  • Windows Updates does not work- the reason:

    The Notify Icon can not be displayed in the tray (windows.log) - My Image has no Explorer Shell (no tray).

    windows.log:

    2010-11-18    13:45:54:598    3604    a34    AUClnt    WARNING: Shell_NotifyIcon failed (dwMessage=0x0, uFlags=0x7, hr=0x800705B4)
    2010-11-18    13:45:54:598    3604    a34    AUClnt    WARNING: Shell_NotifyIcon failed (dwMessage=0x0, uFlags=0x7, hr=0x800705B4)
    2010-11-18    13:45:54:598    3604    a34    AUClnt    WARNING: Shell_NotifyIcon failed (dwMessage=0x0, uFlags=0x7, hr=0x800705B4)
    2010-11-18    13:45:54:598    3604    a34    AUClnt    WARNING: Shell_NotifyIcon failed (dwMessage=0x0, uFlags=0x7, hr=0x800705B4)
    2010-11-18    13:45:54:598     756    a38    AU    AU received handle event
    2010-11-18    13:45:54:598     756    a38    AU    AU setting pending client directive to 'Install Approval'
    2010-11-18    13:46:09:624     756    a38    AU    Launched new AU client for directive 'Install Approval', session id = 0x1

    I test everything... start update with the command:

    wuauclt /updatenow

    add the Explorer-Policy Setting in the Registry: "NoTrayItemsDisplay" .....Settings in the Group Policy.... nothing happens

    the Update Dialog says "Installation being prepared" - and after 10 minutes = Error Code 80243004

    0x 80243004 WU_E_TRAYICON_FAILURE  A failure occurred when trying to create an icon in the taskbar notification area.

    any Idea? - Greatings!

     

     

    Thursday, November 18, 2010 1:19 PM

Answers

  • Solution is (no joke...):

    Control Panel\All Control Panel Items\Notification Area Icons

    select "always show all icons and notifications on the taskbat" a few seconds later you have a huge taskbar and one icon pops up your "windows updates" click on it and start installing....

    Wednesday, November 9, 2011 2:03 PM

All replies

  • I'm having the same issue using WES7 SP1. If I switch over to explorer.exe for the shell by setting the HLKM\Software\Microsoft\WindowsNT\Current Version\Winlogon\Shell key and rebooting it works fine. Otherwise it just hangs on the "Preparing to install" screen in Windows Update.

    Did you ever find a solution to this issue? Perhaps there's a way to handle the Shell_Notifyicon system call from a custom shell and fake it into running? It's pretty disappointing since one of the big reasons we are switching from XPE to WES7 is Windows Update.

    -Aaron

    Wednesday, August 17, 2011 5:50 PM
  • Hello,

     

    We experience the following problem when trying to update several of our servers with Windows Server 2008 R2.

    Windows Update shows that it found and downloaded several updates, but if you click on the install button, it just shows “Preparing to install…” for several minutes and then shows an error. Error code is 80243004 Windows Update encountered an unknown error.

    In the internet I found several sites that said, this error is related to Windows not being able to create a notification icon in the Windows taskbar. That makes sense to me, because if you click on the two little arrows in the taskbar, that usually lists all the notification icons, you just see an empty white area.

     

    In addition you get the following error message multiple times in WindowsUpdate.log:

     

    2011-11-09         07:50:09:067      868        11dc      AU         Launched new AU client for directive 'Install Approval', session id = 0x4

    2011-11-09         07:50:09:079      415392  6578c    Misc      ===========  Logging initialized (build: 7.4.7600.226, tz: -0600)  ===========

    2011-11-09         07:50:09:079      415392  6578c    Misc        = Process: C:\Windows\system32\wuauclt.exe

    2011-11-09         07:50:09:078      415392  6578c    AUClnt Launched Client UI process

    2011-11-09         07:50:09:115      415392  6578c    Misc      ===========  Logging initialized (build: 7.4.7600.226, tz: -0600)  ===========

    2011-11-09         07:50:09:115      415392  6578c    Misc        = Process: C:\Windows\system32\wuauclt.exe

    2011-11-09         07:50:09:115      415392  6578c    Misc        = Module: C:\Windows\system32\wucltux.dll

    2011-11-09         07:50:09:115      415392  6578c    CltUI      AU client got new directive = 'Install Approval', serviceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, return = 0

    2011-11-09         07:50:09:121      415392  6578c    AUClnt WARNING: Shell_NotifyIcon failed (dwMessage=0x0, uFlags=0x7, hr=0x800703F0)

    2011-11-09         07:50:09:122      415392  6578c    AUClnt WARNING: Shell_NotifyIcon failed (dwMessage=0x0, uFlags=0x7, hr=0x800703F0)

    2011-11-09         07:50:09:122      415392  6578c    AUClnt WARNING: Shell_NotifyIcon failed (dwMessage=0x0, uFlags=0x7, hr=0x800703F0)

    2011-11-09         07:50:09:123      415392  6578c    AUClnt WARNING: Shell_NotifyIcon failed (dwMessage=0x0, uFlags=0x7, hr=0x800703F0)

    2011-11-09         07:50:09:129      868        11dc      AU         AU received handle event

    2011-11-09         07:50:09:129      868        11dc      AU         AU setting pending client directive to 'Install Approval'

     

    Thank you in advance for your help!

     

    Best regards

    Joscha
    Wednesday, November 9, 2011 2:01 PM
  • Solution is (no joke...):

    Control Panel\All Control Panel Items\Notification Area Icons

    select "always show all icons and notifications on the taskbat" a few seconds later you have a huge taskbar and one icon pops up your "windows updates" click on it and start installing....

    Wednesday, November 9, 2011 2:03 PM
  • Yep, I'm having the same problem. As kind of pointed out above, it seems like the system tray icon is a requirement for the WU client. The shell is not listed as a dependency in ICE, but it looks like it is. Here's the relevant article: http://windows.microsoft.com/is-IS/windows7/windows-update-error-0x80243004 

    My solution is to implement a custom WU client. It can search for, download and install updates without a problem. Unfortunately, the link to wuredist.cab given in http://msdn.microsoft.com/en-us/library/windows/desktop/aa387285(v=vs.85).aspx went dead a few days ago, so it can't update the Windows Update Agent when needed. I've asked around about that, so hopefully it will be straightened out soon.

    It sucks, but as far as I can tell, a custom WU client is the only way to go if you don't have explorer.

    Wednesday, August 8, 2012 2:04 PM
  • One more detail: one of our customers managed to get updates installed on their system. They selected the option to download and install later, then they rebooted to install the updates. Not an ideal solution, but it at least gives a workaround.

    Update: Here's the response from Microsoft, via our WES7 vendor. Won't work for how our devices are used unfortunately:

    For the 80243004 error the WES 7 recommendations are....

     

    Available workarounds

    --------------------------------------------

    1. Configure Windows Update to automatically install updates at a predefined time (e.g. using the default setting: Every day at 3am - or at 10am when the devices are going to be switched off during the night).

    2. Select and download the updates via the Windows Update UI, cancel the installation process and shutdown/reboot the device to get the updates automatically installed.

    3. Use WSUS server to deploy updates.

    4. Use Explorer Shell instead of Custom Shell.

     

     

    From the WES7 Release Notes:

    Windows Update does not work with the Command Prompt shell as the default shell

    If you install the Windows Update User Interface (WinEmb-Servicing-UI) or Windows Update Standalone Installer (WinEmb-Servicing-WUSA) packages, and you select Command Prompt Shell with Custom Shell Support (WinEmb-Interface-Cmd) shell as your default shell, Windows Update will be unable to install any updates. To work around this, you must select Windows Explorer Shell (WinEmb-Interface-Explorer) as your default shell.

    Wednesday, August 8, 2012 5:59 PM
  • Solution is (no joke...):

    Control Panel\All Control Panel Items\Notification Area Icons

    select "always show all icons and notifications on the taskbat" a few seconds later you have a huge taskbar and one icon pops up your "windows updates" click on it and start installing....

    I just want to point out that this worked for me. I'm kinda shocked.

    Tuesday, September 29, 2015 8:01 PM
  • Thanks Kloiner!!! 

    M Tipler

    Thursday, December 10, 2015 11:02 AM
  • Mein Held ;-)

    Das Problem hat mich in den Wahnsinn getrieben.


    Best regards
    Andreas Ernst
    MCITP:EA, MCP, MCTS


    Friday, July 1, 2016 1:24 PM
  • Solution is (no joke...):

    Control Panel\All Control Panel Items\Notification Area Icons

    select "always show all icons and notifications on the taskbat" a few seconds later you have a huge taskbar and one icon pops up your "windows updates" click on it and start installing....

    Thought i would give it a try with very little confidence and it worked straight away!

    Win7 64 bit it was previously fully patched March 2017 so the bug is still there since 2011!

    Thanks

    Monday, May 15, 2017 6:27 PM
  • That is so stupid. Update function for custom shell does not work.
    A small icon blocks update function.
    And they call it "embedded"! hohoho

    Monday, May 20, 2019 7:39 PM