abbodi1406's Batch Scripts Repo

Discussion in 'Scripting' started by abbodi1406, May 4, 2017.

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,192
    90,682
    340
    KMS_VL_ALL got v15
     
  2. justin0926

    justin0926 MDL Junior Member

    Nov 11, 2013
    57
    12
    0
    Thanks so much.
     
  3. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,734
    240
    Hi Teacher abbodi1406 :) thanks a lot for your W10UI v 2.1 I make use of it updating Windows 10 Enterprise 2016 LTSB x64 and works like a charm this application is simply fantastic dude congrats :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,192
    90,682
    340
    Updated WHD-W81UI & WHD-W7UI
     
  5. Zaphain

    Zaphain MDL Novice

    Oct 8, 2014
    26
    19
    0
    Your scripts are awesome! They are greatly appreciated : )
     
  6. armond

    armond MDL Addicted

    Jun 16, 2008
    736
    235
    30
    abbodi1406 is MDL's Kasparov!:)
     
  7. Flipp3r

    Flipp3r MDL Guru

    Feb 11, 2009
    2,007
    955
    90
    I've used W10UI.CMD v3.1 to build an updated install.esd (1703 Build 15063.483) for installation.
    No errors integrating updates. Everything looks good, installs fine, WU, etc.
    BUT, if you try a "Reset this PC" & "Remove Everything" it will fail.

    I have rebuilt my install.esd using script 2.1 & "Reset this PC" now works.

    I've tried it on a few PC's & a notebook & all have failed to reset with the build made by the 3.1 script.
    I tried it without my custom scripts & the provisioning package - same.

    Perhaps someone else can try this out to verify....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,192
    90,682
    340
    Resetting the image base is the core difference between two versions

    did you manually reset the os image after using v2.1?
     
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,647
    103,306
    450
    #29 Enthousiast, Jul 18, 2017
    Last edited: Jul 18, 2017
    Reset doesn't work, it fails every time, i have tested it from winre and resetpc within windows. Did not test it with clean MSDN iso, yet.
    https://forums.mydigitallife.net/th...-apply-image-script.53532/page-8#post-1357924

    [​IMG]

    With a fully updated iso it didn't get to this stage.
     
  10. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,008
    251
    60
    What is the point of using Win10UI ? i mean i know that this script can be used to integrate cab updates into the iso but what's the point of doing this as these updates will be downloaded and installed later through windows update once win10 is installed on the machine ? they will be installed soon or later.
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,192
    90,682
    340
    It's the same point of Microsoft creating refreshed ISO/ESD for Windows 10 version every few months
    besides, some disable and don't use WU
     
  12. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,008
    251
    60
    good point but i don't think disabling WU is a good idea.
    i've used Win10UI script v3.1 to integrate cab updates into iso and all went successfully but the thing is that it took almost 2 hours and half before the operation completed successfully. Is this normal ?
    i used the script to integrate cab updates into iso in an old machine (1 core cpu), could be the reason ?

    Otherwise, i read that script v3.1 prevents the machine of being reset as someone above @Flipper3 said that he didn't manage to reset his machine by using "reset this machine" option using this script version as the operation fails, is that true ? i haven't tried it yet.

    script v2.1 apparently allows to reset the machine successfully, could you please send me a link to download tha script version, i haven't found it here.
     
  13. Flipp3r

    Flipp3r MDL Guru

    Feb 11, 2009
    2,007
    955
    90
    I've integrated the updates with the v2.1 script & installed this version on multiple systems & they all pass "Reset this PC" without issue.

    @mehdibleu, With the updates integrated, when you "Reset this PC", those updates remain. If you used an older build & downloaded new updates these are lost (Only the newer updates).
    If you've created a provisioning package then these apps also remain.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Flipp3r

    Flipp3r MDL Guru

    Feb 11, 2009
    2,007
    955
    90
    I tried the .413 & Reset worked. I also tried .413 & let WU install all updates. Reset worked on this as well.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,647
    103,306
    450
    #35 Enthousiast, Jul 19, 2017
    Last edited: Jul 19, 2017
    Last month, MSFT set disableresetbase to "1" so the command is not executed, so this line is executed without the resetbase part:

    Code:
    Dism /online /Cleanup-Image /StartComponentCleanup /ResetBase
    
    And when you re-enable resetbase and execute the command, this happens:

    https://forums.mydigitallife.net/threads/windows-10-hotfix-repository.57050/page-214#post-1359028

    This also happens when you install windows which is offline resetbased.
     
  16. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,008
    251
    60
    #36 mehdibleu, Jul 19, 2017
    Last edited: Jul 19, 2017
    okay, thank you for these information but let's go back to what i said in the previous post.
    You said in your previous post that you didn't manage to reset the machine when you built updated install.esd using script v.3.1.
    i suppose that you you used the script to integrate cab files into install.esd then create new iso by replacing the old install.esd file by the new one. is this correct ?

    if so, from what i read in your previous post , when you installed the windows version usiig the new iso then booted the machine with the new iso to try to reset the machine, the operation failed as you mentionned it in your previous post. Is this correct ?
     
  17. Flipp3r

    Flipp3r MDL Guru

    Feb 11, 2009
    2,007
    955
    90
    Yes
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,008
    251
    60
    #38 mehdibleu, Jul 19, 2017
    Last edited: Jul 19, 2017
    @Flipp3r , okay so could you please send me the link to download script v2.1 version, i haven't found it in this thread.
     
  19. Flipp3r

    Flipp3r MDL Guru

    Feb 11, 2009
    2,007
    955
    90
    My recovery script includes /ResetBase. Every install I've done includes it. With the build I did with the 2.1 script it works.

    Are you saying /resetbase is now ignored?

    BTW, what is MSFT? Microsoft Finance??
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,647
    103,306
    450
    https://forums.mydigitallife.net/threads/windows-10-hotfix-repository.57050/page-209#post-1356912

    MSFT is a long term used term for MicroSoFT on MDL, MS is already being used by a crippling desease.