abbodi1406's Batch Scripts Repo

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

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,462
    50,125
    340
    KMS_VL_ALL got v15
     
  2. justin0926

    justin0926 MDL Junior Member

    Nov 11, 2013
    52
    10
    0
    Thanks so much.
     
  3. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    5,501
    6,660
    180
    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
    11,462
    50,125
    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
    669
    213
    30
    abbodi1406 is MDL's Kasparov!:)
     
  7. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,723
    756
    60
    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....
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,462
    50,125
    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
    32,954
    53,051
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,009
    248
    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
    11,462
    50,125
    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,009
    248
    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 Expert

    Feb 11, 2009
    1,723
    756
    60
    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.
     
  14. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,723
    756
    60
    I tried the .413 & Reset worked. I also tried .413 & let WU install all updates. Reset worked on this as well.
     
  15. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    32,954
    53,051
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,009
    248
    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 Expert

    Feb 11, 2009
    1,723
    756
    60
    Yes
     
  18. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,009
    248
    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 Expert

    Feb 11, 2009
    1,723
    756
    60
    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??
     
  20. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    32,954
    53,051
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...