IUpdate2::CopyToCache method Windows 11

Simon Fonteneau 45 Reputation points
2024-12-12T12:09:00.7133333+00:00

It seems that this method no longer works on Windows 11:

https://learn.microsoft.com/en-us/windows/win32/api/wuapi/nf-wuapi-iupdate2-copytocache

Interface not registered

Do you have an idea?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,717 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,600 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Simon Fonteneau 45 Reputation points
    2025-01-02T17:12:04.89+00:00

    I was wrong, the problem only concerns Windows 11 24h2

    It could be related to this problem.:

    https://learn.microsoft.com/en-us/windows/release-health/status-windows-11-24h2#issues-might-occur-with-media-which-installs-the-october-or-november-update

    It doesn't mention copytocache but I hope that's where the problem comes from.

    0 comments No comments

  2. Simon Fonteneau 45 Reputation points
    2025-01-03T10:25:13.8466667+00:00

    I confirm that once kb5048667 is installed manually with the msu, copytocache seems to work correctly again.

    On the other hand, Microsoft continues to currently provide an ISO online that contains the bug, which is a shame...

    0 comments No comments

  3. Simon Fonteneau 45 Reputation points
    2025-01-20T13:24:36.4066667+00:00

    Ultimately the problem was still there...

    The problem appears with cumulative.

    We ended up realizing that the difference with the old version of Windows is that we now have a .msu which appears in the download urls of the cab.

    We therefore completely change our behavior for this specific case...

    We no longer use copytocache when a .msu file appears in the download urls, we forget all the download urls... and we download only the .msu file then we launch the installation of it with wusa.exe "{ }" /quiet /norestart.

    The behavior therefore completely changes compared to the method we used before. And no communication from Microsoft explains it....

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.