[DISCUSSION] Windows 10 Final Build 19041>>>19045 (PC) [20H1>>>22H2 vb_release]

Discussion in 'Windows 10' started by Enthousiast, Dec 10, 2019.

  1. Teknik

    Teknik MDL Senior Member

    Oct 9, 2010
    308
    76
    10
    I found this command to work. Dism /online /cleanup-Image /startcomponentcleanup /resetbase /RestoreHealth. Yes /RestoreHealth at the end.
    P.S. I don't know what is doing.
     
  2. Suzerain

    Suzerain MDL Junior Member

    Dec 13, 2012
    93
    11
    0
    #5742 Suzerain, Dec 6, 2020
    Last edited: Dec 6, 2020
    I can't use the '/Online' tag since I'm in Win PE - I can't boot into Windows so can't go online. In CMD after booting from installation media, I want to run this 'dism /cleanup-image /restorehealth' command.

    I can't get past the second command :

    Code:
    dism /Mount-Image /ImageFile:"d:\sources\install.wim" /Index:5 /MountDir:"%SystemDrive%\Fix_Mount" /ReadOnly
    It throws an error saying it can't find the image.

    Basically, how do we run:

    Code:
    dism /Online /Cleanup-Image /RestoreHealth
    in offline mode in Win PE since we can't boot into Windows?

    I even tried adding /Image:C:\offline instead of /Online but that gives an error as well.
     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,190
    90,656
    340
    @Suzerain

    if only 1 Windows OS is installed, it would be C:
    Code:
    Dism /Image:C: /Cleanup-Image /RestoreHealth /Source:wim:D:\sources\install.wim:1 /LimitAccess /ScratchDir:C:\Windows\Temp
     
  4. Suzerain

    Suzerain MDL Junior Member

    Dec 13, 2012
    93
    11
    0
    #5744 Suzerain, Dec 6, 2020
    Last edited: Dec 6, 2020
    no matter what command I use, I keep getting: "Error 0x800f081f: The source files could not be found" after it gets to around 54%.

    The install.wim file is in "E:\sources" for me - installation media (USB drive with same version of Windows 10 - 19042.662).

    The exact command I ran is:

    Code:
    Dism /Image:C: /Cleanup-Image /RestoreHealth /Source:wim:E:\sources\install.wim:1 /LimitAccess /ScratchDir:C:\Windows\Temp
    EDIT: I installed the SSD into another computer and tried running the commands again and it still fails! I think it's completely corrupted!

    I ran
    Code:
    Dism /Image:H: /Cleanup-Image /RestoreHealth /Source:wim:K:\sources\install.wim:1 /LimitAccess /ScratchDir:C:\Windows\Temp
    and

    Code:
    sfc /scanow /offbootdir=h:\ /offwindir=h:\windows
    and they both failed! This was when the drive (H:\) was installed on another PC running Windows 10.

    Any way to fix this or do I have to do a clean install only?
     
  5. donmiller

    donmiller MDL Addicted

    Jun 4, 2016
    800
    489
    30
    #5745 donmiller, Dec 6, 2020
    Last edited: Dec 6, 2020
    There's a small typo in the code. 'Should be two n's in scannow as in:
    Sfc /Scannow

    EDIT:
    Actually, I don't think you need the "wim:" in the commandline so this should work:
    DISM /Image:C: /Cleanup-Image /RestoreHealth /Source:E:\Sources\Install.wim:1 /LimitAccess

    OR possibly this commandline:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:E:\Sources\Install.wim:1 /Limitaccess

    The number N in "Install.wim:N" is the wim index. So if the Windows 10 Pro edition was the 5th edition, then it would be Install.wim:5.
    DISM /Get-WimInfo /WimFile:E:\Sources\Install.wim
     
  6. ch100

    ch100 MDL Addicted

    Sep 11, 2016
    841
    704
    30
  7. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,647
    103,305
    450
  8. ch100

    ch100 MDL Addicted

    Sep 11, 2016
    841
    704
    30
    The meaning of my enquiry is that sometimes components with a later/current release version are required to be able to be used instead of the .1 versions.
    I suppose it is a trial and error process after all, until the desired outcome is obtained as Windows has tended to be too inconsistent at least in the more recent years.
     
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,647
    103,305
    450
  10. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,647
    103,305
    450
    I only replied to someone who got the error "source can't be found" and the method i use won't show that message:D
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,190
    90,656
    340
    restorehealth fix WinSxS store only

    did you run SFC /SCANNOW against offline OS?
     
  12. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,647
    103,305
    450
    Now we are in the 20H1/2 thread, i am running 19042.662 en-US x64 Enterprise only from a freshly downloaded zip from uup dump and there were no download errors, updating the wims and creating the ISO is running now.

    Code:
    ============================================================
    Running UUP -> ISO v51
    ============================================================
    
    ============================================================
    Checking UUP Info . . .
    ============================================================
    
    ============================================================
    Configured Options . . .
    ============================================================
    
    AutoStart 1
    AddUpdates 1
    StartVirtual
    
    ============================================================
    Preparing Reference ESDs . . .
    ============================================================
    
    CAB->ESD: microsoft-onecore-applicationmodel-sync-desktop-fod-package-amd64
    CAB->ESD: microsoft-onecore-directx-database-fod-package-amd64
    CAB->ESD: microsoft-windows-hello-face-migration-package-amd64
    CAB->ESD: microsoft-windows-hello-face-package-amd64
    CAB->ESD: microsoft-windows-internetexplorer-optional-package-amd64
    CAB->ESD: microsoft-windows-languagefeatures-basic-en-us-package-amd64
    CAB->ESD: microsoft-windows-languagefeatures-handwriting-en-us-package-amd64
    CAB->ESD: microsoft-windows-languagefeatures-ocr-en-us-package-amd64
    CAB->ESD: microsoft-windows-languagefeatures-speech-en-us-package-amd64
    CAB->ESD: microsoft-windows-languagefeatures-texttospeech-en-us-package-amd64
    CAB->ESD: microsoft-windows-mediaplayer-package-amd64
    CAB->ESD: microsoft-windows-mspaint-fod-package-amd64
    CAB->ESD: microsoft-windows-notepad-fod-package-amd64
    CAB->ESD: microsoft-windows-powershell-ise-fod-package-amd64
    CAB->ESD: microsoft-windows-printing-pmcppc-fod-package-amd64
    CAB->ESD: microsoft-windows-printing-wfs-fod-package-amd64
    CAB->ESD: microsoft-windows-quickassist-package-amd64
    CAB->ESD: microsoft-windows-stepsrecorder-package-amd64
    CAB->ESD: microsoft-windows-tabletpcmath-package-amd64
    CAB->ESD: microsoft-windows-userexperience-desktop-package-amd64
    CAB->ESD: microsoft-windows-wordpad-fod-package-amd64
    CAB->ESD: openssh-client-package-amd64
    
    ============================================================
    Creating Setup Media Layout . . .
    ============================================================
    
    
    ============================================================
    Creating install.wim . . .
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 7249 MiB of 7249 MiB (100%) done
    
    ============================================================
    Updating install.wim / 1 image(s) . . .
    ============================================================
    
    1/6: windows10.0-kb4562830-x64.cab [Enablement / EdgeChromium]
    2/6: windows10.0-kb4578910-x64.cab
    3/6: windows10.0-kb4586853-x64.cab [LCU]
    4/6: windows10.0-kb4586858-x64.cab [WinPE]
    5/6: windows10.0-kb4586861-x64.cab [Setup DU]
    6/6: windows10.0-kb4586864-x64.cab [SSU]
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB4586864~31bf3856ad364e35~amd64~~19041.621.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Microsoft-Windows-20H2Enablement-Package~31bf3856ad364e35~amd64~~10.0.19041.479
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.662.1.10
    [====================       34.9%                          ]
    
    running...
    If there are download errors, there will be a download list with successful and failed downloads.
     
  13. Henry457

    Henry457 MDL Novice

    Feb 15, 2019
    25
    2
    0
    Am very honest with you, I have restarted download multiple times due to error. Am using mobile data subscription and I have lost lot of money. I keep seen error during download. Probably download via cmd line don't work for me. If I can get an iso file,I will be much grateful. Am using mobile data subscription and I keep losing data Each time I restart download

    Am not saying it will show error and stop download, what am saying is while downloading there will be a line that shows error and it will continue download and after some series of successful line of download ,it will show another line of error and continue download
     
  14. Henry457

    Henry457 MDL Novice

    Feb 15, 2019
    25
    2
    0
    Am starting a new download now.
     
  15. Henry457

    Henry457 MDL Novice

    Feb 15, 2019
    25
    2
    0
    This is the errors. Kindly share me iso file if available via [email protected]
    I have restart download multiple time but it keep showing me errors. Should I stop download or continue download? there are multiple lines showing errors while downloading. Am still downloading
     

    Attached Files:

  16. Henry457

    Henry457 MDL Novice

    Feb 15, 2019
    25
    2
    0
    #5760 Henry457, Dec 8, 2020
    Last edited: Dec 8, 2020
    I have stop download due to multiple lines of errors. Please anyone with window 10 version 20H2 19042.662 en-US x64 Enterprise iso file should Kindly help me via my email [email protected]
    Cmd line not working for me
    Thank you so much