[Solved] Resetbase cmd never ends working

Discussion in 'Windows 10' started by Mr.X, Oct 16, 2017.

  1. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    After installing KB4041691 CU for my LTSB 2016 (1607) this resetbase cmd never ends working or is it hung?

    resetbase.gif


    It's been like this for 25 min. now.
     
  2. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    No I didn't and I've just checked it now, it has a "1". Thanks for the tip.
    Going to test as soon as I restore a system image and start over again...
     
  3. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    Yup. It worked. Thanks

    Damn M$
     
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,222
    84,900
    340
    Oh no, you will break "Reset This PC" feature :fear2:


    who cares about that useless feature :coffee:
     
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,274
    94,765
    450
    You cared enough to fix the W10UI scripts ;):p:D

    Btw, on 16299.15 > 16299.19 it didn't break resetpc.
    On tablets a very handy option to reinstall windows ;)
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,222
    84,900
    340
    It seems way above my experience too, but let's see :biggrin:
     
  7. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    That biggrin face says it all: I can do it, even better. :):cool:
     
  8. The Solver

    The Solver MDL Novice

    Oct 10, 2017
    40
    16
    0

    Surely that brilliant idea can be implemented in an easier way today.

    I think that when that program was written there wasn't any better solution to deal with the (then new) Vista restricted permissions.

    So half of the program is dedicated to backup, remove and restore the permissions. Something that likely can be avoided using nsudo or alike.

    Also, at the time, there wasn't a command to deal with [hard]links (hence the use of the external ln.exe utility), nowadays we have mklink ready to be used...

    But easier doesn't mean easy, what winsxslite does is incredibly simple conceptually, but complicate to implement correctly. Especially taking in account that a mistake can destroy an installation...;)
     
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,222
    84,900
    340
  10. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    3,766
    2,689
    120
    Wow @abbodi1406, great!

    I talked of winsxslite just a month ago or so with @George King , I'm sure he will appreciate your work as well
     
  11. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    3,766
    2,689
    120
    Good. I'll experiment with those in the next few days as ATM I'm a bit busy.

    I need to understand if it works well on Win8, w/o destroying .net or alike, and also what happens on Win10. There we have resetbase, obviously, but WinSxSlite may still be useful for installations made with unintended/not so clean methods like Hypercores with GUI where MS' reset-base doesn't dare to touch anything.
     
  12. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    3,766
    2,689
    120
    #16 acer-5100, Sep 9, 2023
    Last edited: Sep 9, 2023
    P.S. for MD5file.exe look slike the stock command


    certutil.exe -hashfile filename.txt MD5

    does the job, but I have no clear idea if that's the case in older W10/W8.x/W7
     
  13. Dude Guyman

    Dude Guyman MDL Senior Member

    Jun 20, 2017
    280
    279
    10
    I have never had/seen a built in Windows repair, reset, fix, troubleshoot, system restore or any of that work properly anyway. I would disable and completely remove it all if I could, and just rely on something else like Macrium Reflect. Now that shtuff works! Takes me ~20 seconds to completely restore a full backup image, 1:14 minute to make one.
     
  14. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,274
    94,765
    450
    Reset PC is not like those fix commands (although they all work fine when not tinkered with), it reinstalls the entire OS. When no resetbase is performed it will work as intended.
     
  15. Dude Guyman

    Dude Guyman MDL Senior Member

    Jun 20, 2017
    280
    279
    10
    Yeah, I was just talking about Windows tools in general, mainly "troubleshooters". If I was going to "reset PC", I'd just wipe it clean and reinstall "proper". I prefer alternate, and vastly superior, IMO, tools. Macrium is a 100% fix for anything not hardware...assuming you store or backup your daily data/changes elsewhere of course. I keep almost nothing of importance on my actual Windows partition.
     
  16. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    3,766
    2,689
    120

    Each time you use a shortcut to "fix" a problem you miss one opportunity to understand something.

    But even if you are forced by time constraints or alike to surrender, why use a stupid SW like macrium when you can learn native vhds, and solve everything with a copy operation of a single file?

    Forget partitions, move to this century.