1. 0xExynos

    0xExynos MDL Junior Member

    Aug 5, 2021
    60
    4
    0
  2. maur0

    maur0 MDL Senior Member

    Aug 3, 2012
    406
    190
    10
    It should work, but you would have to analyze the source code to know exactly what it does.
     
  3. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    50,007
    105,097
    450
  4. sxhilkxdxm

    sxhilkxdxm MDL Member

    Mar 7, 2020
    115
    25
    10
    I will be creating 2021 LTSC ISO, should I use ResetBase ON or OFF? Want to build a clean ISO for laptop
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,890
    2,129
    60
  6. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    50,007
    105,097
    450
    It doesn't do anything special, it only really deletes the superseeded components after integrating updates and thereby it decreases the install.wim/ISO filesize, so if you don't need the smaller ISO then you don't need to use it, but it doesn't really hurt either, only for 2019 LTSC is is not recommended to use.
     
  7. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,428
    11,753
    240
    #3787 murphy78, Jan 13, 2024
    Last edited: Jan 13, 2024
    I played with resetbase for years and in my experience, it only causes problems. It makes it impossible to install future cumulative updates. There's also the matter of the hidden registry key that makes it so that resetbase does what it's supposed to do, rather than just removing previous cumulative updates. Regardless of whether you use the hidden registry key or not, it causes the cumulative update install failure issue. I would just avoid using resetbase altogether. At least that way you could uninstall a previous cumulative update if it somehow was causing a problem with update installs.

    edit: I don't bother with updates anymore but when I did, I just ran "cleanmgr.exe" as admin and that would automatically remove superceded updates. So the functionality of cleaning up old updates without the bugginess of resetbase.

    Also, to build an iso with just the updates you need, you install iso in VM. Check windows update on vm. download the update files on the internet. Use W10UI to integrate them. Check result iso reinstall on vm to make sure it is correct and more updates aren't needed. When it is correct, you have an iso with all the files you need.
     
  8. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    50,007
    105,097
    450
    @murphy78 it only causes problems with IP level updates/builds.

    And with 1809 "reset pc" function.

    ps, the question was about W10UI function resetbase.
     
  9. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,735
    240
    Hello everyone, well I finally decided to migrate to Windows 10 Enterprise LTSC 2021 x64, the installation went without any problems and I was very happy with its performance; as I always do a check-up on the system and check if everything is ok, when checking the system configuration I discovered that there was a problem that I have not been able to solve until now because this configuration appears as selective initialization and so I have already tried everything, but I didn't solve it; So I ask my dear companions who of course have much more knowledge than I ask for your collaboration, thank you very much
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,428
    11,753
    240
    Oh it caused the same problems for me with w10ui using resetbase. It's not the script. It's the feature. Resetbase doesn't play nice with future updates.
     
  11. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,925
    150
    Obviously you must resetbase. Especially making a fresh ISO (which is a waste of time for 99% of users, but that's a different story).

    What's supposed to be the point of not doing that? Wasting 2/3/4 GB of storage, depending the build, with no advantage in return?
     
  12. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,925
    150

    When the system has to deal with tens of thousands of folders and hundreds of thousands of files (let alone the registry entries), the chances that something goes wrong are around the corner. But that's valid both for the reset base and the cumulative updates. And obviously the chances that something goes wrong are higher in W8.1/2012R2 that has hundreds of non cumulative updates and W10 14393 that has almost 6GB of data to replace.

    If something goes wrong, usually, a quick look to CBSlog is enough to fix any minor (but blocking) error, if that's not enough in place upgrades are there for a reason.
     
  13. yozzcta

    yozzcta MDL Junior Member

    Jan 3, 2011
    64
    21
    0
    I used to resetbase with W10UI for offline integration in '22 and '23 resulting in errors months later when trying to update online.

    IT took me 3 rebuilds to figure it out that resetbase offline image was causing problems later on live system.
     
  14. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,925
    150

    I never had once a problem resetbasing an offline image (and now it's a decade I play with it), usually the problems (if any) comes in live OS, because a minor ntfs error amplified by the huge amount of written files, because a running app interfered or alike.

    That said IT is plenty of exceptions and corner cases, but that's applicable to everything not just to DISM
     
  15. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,428
    11,753
    240
    It's been at least a year or two since I was doing the resetbase and fails but I seem to remember some generic windows update fail code. I looked it up on the internet and it was unhelpful. The only thing that fixed the issue was stopping the use of resetbase.
     
  16. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,925
    150

    The point is that we can discuss about how DISM became picky since 1809, but a failed CU after a reset base can't be directly linked to the resetbase command itself, could be one of the previous CU that broke things.

    Perhaps the resetbase is much needed only the first time you do the cumulative update say you started from 19041.0 and you installed the jan 2024 CU.

    But next month, after installing the Feb 2024 CU, if you resetbase again the space earned is relatively minimal, resetbase is possible but not "mandatory", it wil take another 6/8 months before the space recovered is relevant again.
     
  17. Jingzin

    Jingzin MDL Addicted

    Nov 10, 2021
    666
    532
    30
    dont know what to says when people say dont use reset base. its a usefull tool and should be used my 11 22h2 with msword few other apps takes around 20gb space, normally i use dism++ to clean sxs logs caches and i dont have any resetbase or sfc errors not even once since i fixed it, lol

    as to updates you can unhide packages in regedit then uninstall whatever you need.
     
  18. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,428
    11,753
    240
    Suppose that normally a cumulative update would remove a package, or even the previous cumulative update, while installing itself. If the system has a resetbase performed on it, it hangs up because it cannot remove the superceded update. If you don't do resetbase, I suspect that it functions normally because it can remove the superceded components. You are right in that they started doing something differently since 1809 because I didn't have this problem in previous builds or windows version. This started in 1809. Now, abbodi1406 could probably tell us all about what the cumulative updates are doing. I suspect that they're installing multiple different packages in a way that doesn't play nice with resetbase, but I'm no winsxs expert so that's just my speculation.
     
  19. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    50,007
    105,097
    450
    As said that was with very specific (IP stage) updates and it was not the resetbase function but the later updates installing what became problematic.

    Resetbase is not needed but for those who want the final iso or install.wim/esd to fit on a FAT32 formatted usb stick it is handy.

    I can't think of anyone who ran W10UI/UUP>ISO more then myself over the years and i never had any problem with the option implemented in W10UI, at some point the simple /resetbase was disabled by MSFT, this most likely was because of the mentioned problems with certain updates who needed some of the old component parts which got deleted by /resetbase.