DISM Question

Page 1 of 2 12 LastLast

  1. Posts : 215
    Windows 10 Home x64
       #1

    DISM Question


    Hi. I was looking into DISM commands (I don't know much about them) to see if any would be beneficial after a fresh install of W10 with all updates. I came across this article by @EdTittel. Is this something a home user does not need to worry about?

    Are there any recommended DISM commands to run after a fresh install? Or anything else to run for that matter?

    Also does typing @Username notify the tenforums user that they were mentioned because I was going to PM this. And when I try my username it only links the "and" part ( @And_youf) I guess the underscore does something to cut it off because I just edited it after the fact. "_youf" was behind "[/MENTION] so it was showing like this @And_youf.

    Went a bit off-topic there.
    Last edited by andyouf; 27 Sep 2018 at 01:07. Reason: added information about @username question
      My Computer


  2. Posts : 1,471
    Win10 Home x64 - 1809
       #2

    Hi. I was looking into DISM commands (I don't know much about them) to see if any would be beneficial after a fresh install of W10 with all updates. I came across this article by @EdTittel. Is this something a home user does not need to worry about?

    Are there any recommended DISM commands to run after a fresh install? Or anything else to run for that matter?
    See this tutorial - Use DISM to Repair Windows 10 Image | Windows 10 Tutorials

    Also does typing @Username notify the tenforums user that they were mentioned because I was going to PM this. When I try my username it only links the "and" part @and_youf
    Yes
      My Computers


  3. Posts : 215
    Windows 10 Home x64
    Thread Starter
       #3

    Very helpful link, thank you. Since I am not having any issues or corruption since it is fresh install should I just ignore running any of these for now?
      My Computer


  4. Posts : 1,471
    Win10 Home x64 - 1809
       #4

    Very helpful link, thank you. Since I am not having any issues or corruption since it is fresh install should I just ignore running any of these for now?
    Yea, you don't really need to run those unless you're having an issue.

    Note: If you just want to check the health, you can run the /CheckHealth and /ScanHealth ones.
      My Computers


  5. Posts : 215
    Windows 10 Home x64
    Thread Starter
       #5

    Alright, that is good to know. You pointing out those two commands and looking at @Brink's (testing out my mention-fu here) thread are very helpful for checking without making any alterations. That is what I was wanting to do.

    Thanks again and take care.
    Last edited by andyouf; 27 Sep 2018 at 01:39.
      My Computer


  6. Posts : 215
    Windows 10 Home x64
    Thread Starter
       #6

    Interesting that the code will put the apostrophe for the username mention automatically after "[/MENTION]" but for my @And_youf underscore it does not do that automatically I have to move "_youf" from behind "[/MENTION]" to the username area before that and it auto-capitalizes (don't know if that affects the mention).

    Test Edit: @and_youf

    Edit: I need to stop going off topic on threads.

    Edit 2: And none of this matters because I forgot that my username is @andyouf here and not and_youf which even after my inane edits just links to nonexistent user "And." I'm assuming that is why it auto-capitalized and wanted nothing to do with my underscore (unless underscore is code to take that and the part after out of the mention).

    Edit 3: Guess if I mention myself it doesn't show up on my profile page under "Mentions."
    Last edited by andyouf; 27 Sep 2018 at 01:38. Reason: Ugh
      My Computer


  7. Posts : 4,224
    Windows 10
       #7

    There can be some benefit to running DISM /online /cleanup-image /startcomponentcleanup after Cumulative Updates get installed. It will usually free up somewhere between 1 and 2 GB of materials -- sometimes, more -- as long as running DISM /online /cleanup-image /analyzecomponentstore reports 1 or more "reclaimable packages" and recommends component store cleanup.
    HTH,
    --Ed--

    PS: thanks for mentioning my article. Definitely caught my eye, and helped lead to this response.
    Last edited by EdTittel; 27 Sep 2018 at 10:03. Reason: fix typo
      My Computers


  8. Posts : 5,442
    Windows 11 Home
       #8

    Windows has a task, which runs component cleanup as needed and diskcleanup can run it as well. That is one reason, why diskcleanup takes sooo long to finish. When I run it beforehand, it finishes in seconds.
    Code:
    Microsoft\Windows\Servicing\StartComponentCleanup
    Microsoft\Windows\DiskCleanup\SilentCleanup
    For the record, someone once mentioned, that ResetBase does not really run, unless enabled in registry.
    Code:
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\SideBySide\Configuration" /v "DisableResetbase" /t "REG_DWORD" /d "0" /f
    Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase
    abbodi86 said:
    Windows 10 is configured by default to ignore /ResetBase parameter and only delta-compress winsxs
      My Computer


  9. Posts : 215
    Windows 10 Home x64
    Thread Starter
       #9

    I was wondering about Disk Cleanup with it cleaning "Delivery Optimization Files" and "Windows Update Cleanup" when you push "Clean up system files." How are the DISM commands for cleanup different from that?

    There aren't any files in the GB's though. The "Windows update log files" are 260MB which I don't know how log files can be that large. Delivery Optimization Files are next largest at 102MB.
      My Computer


  10. Posts : 1,471
    Win10 Home x64 - 1809
       #10

    I was wondering about Disk Cleanup with it cleaning "Delivery Optimization Files" and "Windows Update Cleanup" when you push "Clean up system files." How are the DISM commands for cleanup different from that?
    Disk Cleanup - Cleans Up (Deletes) stuff you don't really need anymore (logs, temp files, etc) which can free up hdd space.
    Open and Use Disk Cleanup in Windows 10 | Windows 10 Tutorials

    DISM Cleanup - Cleans up the Component Store (WinSXS Folder) which may or may not free up hdd space.
    Analyze Component Store (WinSxS folder) in Windows 10 | Windows 10 Tutorials
    Clean Up Component Store (WinSxS folder) in Windows 10 | Windows 10 Tutorials
      My Computers


 

  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 05:24.
Find Us




Windows 10 Forums