Resolve error 0x4005 16389 while trying to upgrade from Win 10 to Win 11

Smith, Corum S 10 Reputation points
2024-09-04T13:30:46.36+00:00

Receiving error 0x4005 (16389) when trying to upgrade from win 10 to win 11. Disk has low space but should have enough for upgrade.

Microsoft Security | Intune | Configuration Manager | Other
Windows for business | Windows Client for IT Pros | User experience | Other
{count} vote

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-09-04T14:27:40.1466667+00:00

    Hello,

    Thank you for posting in Q&A forum.

    It is quite common to have low disk space causing glitches and errors when upgrading your Windows PC. Therefore, make sure you have enough space to avoid this error. If this happens to you, you can try to free up some disk space.

    I hope the information above is helpful.

    Best regards

    Zunhui

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

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Docs 16,711 Reputation points
    2025-07-27T03:15:20.1666667+00:00

    Hi Brimm, Bobby Joel II ,

    .

    .

    Please open a new thread.

    .

    .

    .

    During Windows upgrades many parameters are checked.

    If one or more parameters does not pass the checks a rollback occurs.

    A Windows installation by default has multiple partitions.

    Partition free space can be reduced over time to one or more of these partitions: (EFI, reserved, primary, recovery).

    Windows typically creates upgrade failure logs.

    The log collector and scripts run in the background and have completion popup instructions.

    Please share the files for troubleshooting.

    .

    .

    .

    .

    .

    1)Please run the V2 log collector and post a share link into this thread using drop box, or google drive

    https://www.elevenforum.com/t/bsod-posting-instructions.103/

    .

    .

    https://www.tenforums.com/tutorials/3813-language-add-remove-change-windows-10-a.html

    https://www.tenforums.com/tutorials/136792-change-display-language-windows-10-a.html

    .

    .

    .

    2)Run: upgrade_failure_info > post a share link

    https://www.tenforums.com/attachments/bsod-crashes-debugging/353454d1638278360-batch-files-use-bsod-debugging-upgrade_failure_info.bat

    https://www.tenforums.com/bsod-crashes-debugging/162488-batch-files-use-bsod-debugging-2.html#post2067853

    https://www.tenforums.com/bsod-crashes-debugging/162488-batch-files-use-bsod-debugging.html#Part3

    .

    .

    .

    3)Run Tuneup plus > post a share link

    https://www.tenforums.com/attachments/bsod-crashes-debugging/360137d1645183388-batch-files-use-bsod-debugging-tuneup_plus_log.bat

    https://www.tenforums.com/bsod-crashes-debugging/162488-batch-files-use-bsod-debugging-2.html#post2177966

    .

    .

    .

    4)Run diskparinfo > post a share link

    https://www.tenforums.com/attachments/bsod-crashes-debugging/355861d1640707960-batch-files-use-bsod-debugging-diskparinfo.bat

    https://www.tenforums.com/bsod-crashes-debugging/162488-batch-files-use-bsod-debugging.html#post1994162

    .

    .

    .

    4)Open administrative command prompt and copy and paste:

    fltmc

    schtasks.exe /Run /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"

    reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\TargetVersionUpgradeExperienceIndicators" /s

    dir c:\windows\system32\recovery /a

    dism /online /get-drivers /format:table >c:\drivers.txt

    mountvol Y: /s

    dir Y:\ /s /a >c:\dir.txt

    View the desktop for new text files.

    Post share links of the administrative command prompt window with commands and results and post share links with the text files

    .

    .

    .

    5)Open disk management > widen rows and columns > post share links

    https://www.tenforums.com/tutorials/2503-how-post-screenshot-disk-management.html

    .

    .

    .

    For share links please use drop box or google drive.

    Make sure that links are available without sign in.

    https://support.google.com/drive/answer/2424384?hl=en&co=GENIE.Platform%3DDesktop

    .

    .

    .

    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.