abbodi1406's Batch Scripts Repo

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

  1. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,009
    248
    60
    i've used the script v3.1 to integrate win10 cab updates into win10 14393 iso as well and i was able to resetpc successfully and as far as i know script v3.1 was programmed in such a whay that full resetbase is executed when you run the script as i can see into the script the option ( set resetbase = 1)

    So how can you explain that i did manage to resetpc successfully using script v3.1 ?
     
  2. Ras0

    Ras0 MDL Novice

    May 7, 2012
    33
    15
    0
    Maybe resetpc function doesnt get affected by resetbase on 14393. AFAIK Enthousiast tested only on 1703.
     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,770
    52,997
    340
    Does the partition where you run the script have enough space?

    W10UI_3.2 extracts files to the same drive it ran from (example E: or D: )
    W10UI_2.1 extracts files to system drive C:
     
  4. MMIKEE

    MMIKEE MDL Senior Member

    Oct 6, 2012
    351
    313
    10
    #64 MMIKEE, Jul 23, 2017
    Last edited: Jul 23, 2017
    Yes, 125 GB+ I use a Dual Boot setup with w7 Pro-x64 and w10 LTSB 2016-x64 and these are both C: once booted with the other OS hidden...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,770
    52,997
    340
    Then change the path in v3.2
    Code:
    set "cab_dir=%SystemDrive%\W10UItemp"
     
  6. MUKESH

    MUKESH MDL Novice

    Sep 1, 2011
    49
    30
    0
    W10UI_3.2.ZIP Online Servicing Scenario :

    I have tried to online update the 14393.1378 & 14393.0 systems and i am getting this error -
    "The process cannot access the file because it is being used by another process".
    Also, "access is denied" is shown regarding a lot of things.
    see the spoilers for more details.

    SPOILER : (W10UI_3.2.ZIP working details for an online 14393.1378 system)
    https://drive.google.com/file/d/0B2p1cPWz6NqWcy1laU1hZ0l5M2c/view?usp=sharing

    SPOILER : (W10UI_3.2.ZIP working details for an online 14393.0 system)
    https://drive.google.com/file/d/0B2p1cPWz6NqWQWhSdHFKZ2EzcTg/view?usp=sharing


    Also, after the script finishes the job the respective system becomes unusable.
    what i mean is i keep getting the Blue Screen Of Death upon doing a restart of the system after the script has finished it's job.
    the bsod is this :
    http://imgur.com/deCZTL1


    NOTE:

    1.Source OS's : an online 14393.1378 & 14393.0 Enterprise 64-bit systems.

    2.Updates used : the update list released on 20/7/2017 1:31 AM india time
    (or the following updates were used : KB3150513-v4, KB4023834, KB4025334 KB4025376, KB4025632, KB3186568, KB3199389, KB4013419, & KB4016654).

    3.Script used : W10UI_3.2.ZIP .
    Also, option 4(enable .net 3.5) and option 5(cleanup system image) were both set to NO.
    http://imgur.com/Yj8KB9n

    4.The partition from which i am running the script(is F: drive and is not the one containing the installed OS) has 300GB+ free space and the partition containing the installed OS(it's the C: drive) has 200GB+ free space.
     
  7. LiteOS

    LiteOS MDL Expert

    Mar 7, 2014
    1,799
    772
    60
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,770
    52,997
    340
    Add it how? it's already listed with other editions
     
  9. LiteOS

    LiteOS MDL Expert

    Mar 7, 2014
    1,799
    772
    60
    if there EnterpriseN in UUP
    there gonna be EnterpriseGN appear ?
    cos its need convert edition from it to this with dism set edition
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,770
    52,997
    340
    This is not UUP converter job :)

    simply create Pro or Enterprise install.wim and manualy change edition with dism
     
  11. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,009
    248
    60
    #72 mehdibleu, Jul 29, 2017
    Last edited: Jul 29, 2017
    @abbodi1406, hello

    i need to understand something about WHDW81UI, i plan to use this tool to integrate downloaded updates from WHDownloader into all win8.1 AIO ISO indexes/
    This Win8.1 AIO iso contains indexes for x86 and x64 versions.

    if i download the updates that i need for both win8.1 32 and 64 bit then put them all in updates folder then use WHDW81UI tool to integrate them into the iso for all indexes, i suppose that the tool will make sure to integrate x86 updates into indexes for 32bit versions and integrate x64 updates into indexes for 64bit versions.

    Do you confirm ?

    I suppose that the script is programmed in such a way that it recognizes updates for 32 and 64 versions and integrates them to the right version.
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,770
    52,997
    340
    No

    all update installer scripts can handle one-architecture only
     
  13. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,009
    248
    60
    ok, i see.
    In my case what will happen if i run the script ? will there be message error ?
    if no error, which archtecture will the script integrate updates ?
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,770
    52,997
    340
    No, the script will try and proceed with errors

    Architecture is detected based on first index
     
  15. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,009
    248
    60
    i see, thank you for the reply.
    Now, i know what i have to do.
     
  16. armond

    armond MDL Addicted

    Jun 16, 2008
    670
    213
    30
    As always, thanks so much for your excelent batch scripts. I have an idea:
    What about a batch script just for creating an ISO file from an updated installation source?
    I use ESD Decrypter to create my installation source. (I first delete cdimage.exe from the \bin folder to prevent the ISO creation). Then I use W10UI_3.3 to update the installation source and ESD2WIM to get my install.esd file.
    I just thought having 1 other script for creating/labeling an ISO file (the same technics you use when creating ISO file in the ESD Decrypter script in the end of the process) is a good idea.
    Have a great time:)
     
  17. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    5,989
    7,253
    180
    Hi abbodi1406 venerable teacher :D how are you I hope is fine; well I have one doubt I have one folder named 2016 LTSB Updates in another HDD (partition) in there have KB 4025339-x64 of 07/12/2017 and KB4025334-x64 of 07/19/2017 then yesterday I need make fresh install with pendrive with MDL-W10-UPD 2016 T.1.ISO (+-5.4GB) using W10UI without issues after O.S. installed I need make updates from folder descript above but I make thing wrong instead install first KB4025339-x64 I installed KB4025334-x64 :oops: so when restart system I go to same folder again for install another update KB4025339-x64 then system warn that this update is not possibe install :eek: so my doubt is when we have two updates for install last update supersed another one? still I ask for you because if I make new job using W10UI which action I need proceed sorry for take your time again thanks in advance dude :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,770
    52,997
    340
    Hi

    yes, each new cumulative supersede previous ones
    so you only need the newest update
     
  19. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    5,989
    7,253
    180
    ok you are the dude!!:D thanks a lot for fast answer :worthy:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...