%windir%\Logs\DISM\DISM.log ERRORS.


  1. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #1

    %windir%\Logs\DISM\DISM.log ERRORS.


    I am writing a script to list any DISM errors found in the DISM log file.

    The Internet hasn't been very forthcoming with regard to finding a full list of errors or the error codes!
    I have so far included the regular errors in the search parameters such as . . .

    Code:
    Abandoning
    Error
    Failed
    Incorrect
    Invalid
    Warning
    . . . etc.

    Does anyone have a full list, or a link to a full list of the potential DISM error codes that could possibly be found please?

    I know that the majority of the errors will have the word Error before the error code so that pretty much covers most of them anyway.

    Thanks in advance.

    UPDATE:

    I have finished writing the batch script that includes the search parameters stated above. I will add it to my other batch scripts [ see my signature at the bottom of this post ] at some stage!
    Last edited by Paul Black; 07 Jun 2020 at 09:20.
      My Computer


  2. Posts : 41,474
    windows 10 professional version 1607 build 14393.969 64 bit
       #2

    When searching dism, cbs, panther, etc. consider also searching for:
    corrupt
    bad
    fail (instead of failed)
    abort
    block
    hardblock
    mismatch
      My Computer


  3. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #3

    zbook said:
    When searching dism, cbs, panther, etc. consider also searching for:
    corrupt
    bad
    fail (instead of failed)
    abort
    block
    hardblock
    mismatch
    Thank you @zbook, your input is appreciated. I have added them to the script!
      My Computer


  4. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #4

    Hello @zbook,

    I had a bit of fun with adding those error codes to the script because some of the error lines extracted from the DISM log had more than one of the error parameters, so therefore duplicated the error output lines. As you know, batch scripts are very good at removing duplicate lines as long as the data is sorted first. In this instance, because the DISM log file is in the format yyyy-mm-dd hh-mm-secs, I applied a workaround to remove the duplicate lines.

    Thanks again for your input!
      My Computer


  5. Posts : 41,474
    windows 10 professional version 1607 build 14393.969 64 bit
       #5

    You're welcome.


    Please post the new script into this thread.
      My Computer


  6. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #6

    Hello @zbook,
    I have sent it via PM!
    I am going to add it to my other scripts when I get time!

      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:25.
Find Us




Windows 10 Forums