abbodi1406's Batch Scripts Repo

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

  1. mehdibleu

    mehdibleu MDL Expert

    Joined:
    Jun 14, 2017
    Messages:
    1,009
    Likes Received:
    248
    Trophy Points:
    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

    Joined:
    May 7, 2012
    Messages:
    33
    Likes Received:
    15
    Trophy Points:
    0
    Maybe resetpc function doesnt get affected by resetbase on 14393. AFAIK Enthousiast tested only on 1703.
     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,069
    Likes Received:
    55,429
    Trophy Points:
    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

    Joined:
    Oct 6, 2012
    Messages:
    352
    Likes Received:
    313
    Trophy Points:
    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...
     
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,069
    Likes Received:
    55,429
    Trophy Points:
    340
    Then change the path in v3.2
    Code:
    set "cab_dir=%SystemDrive%\W10UItemp"
     
  6. MUKESH

    MUKESH MDL Junior Member

    Joined:
    Sep 1, 2011
    Messages:
    53
    Likes Received:
    30
    Trophy Points:
    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. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,069
    Likes Received:
    55,429
    Trophy Points:
    340
  8. LiteOS

    LiteOS MDL Expert

    Joined:
    Mar 7, 2014
    Messages:
    1,893
    Likes Received:
    814
    Trophy Points:
    60
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,069
    Likes Received:
    55,429
    Trophy Points:
    340
    Add it how? it's already listed with other editions
     
  10. LiteOS

    LiteOS MDL Expert

    Joined:
    Mar 7, 2014
    Messages:
    1,893
    Likes Received:
    814
    Trophy Points:
    60
    if there EnterpriseN in UUP
    there gonna be EnterpriseGN appear ?
    cos its need convert edition from it to this with dism set edition
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,069
    Likes Received:
    55,429
    Trophy Points:
    340
    This is not UUP converter job :)

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

    mehdibleu MDL Expert

    Joined:
    Jun 14, 2017
    Messages:
    1,009
    Likes Received:
    248
    Trophy Points:
    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.
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,069
    Likes Received:
    55,429
    Trophy Points:
    340
    No

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

    mehdibleu MDL Expert

    Joined:
    Jun 14, 2017
    Messages:
    1,009
    Likes Received:
    248
    Trophy Points:
    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 ?
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,069
    Likes Received:
    55,429
    Trophy Points:
    340
    No, the script will try and proceed with errors

    Architecture is detected based on first index
     
  16. mehdibleu

    mehdibleu MDL Expert

    Joined:
    Jun 14, 2017
    Messages:
    1,009
    Likes Received:
    248
    Trophy Points:
    60
    i see, thank you for the reply.
    Now, i know what i have to do.
     
  17. armond

    armond MDL Addicted

    Joined:
    Jun 16, 2008
    Messages:
    673
    Likes Received:
    219
    Trophy Points:
    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:)
     
  18. Tiger-1

    Tiger-1 MDL Guru

    Joined:
    Oct 18, 2014
    Messages:
    6,209
    Likes Received:
    7,533
    Trophy Points:
    210
    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 :)
     
  19. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,069
    Likes Received:
    55,429
    Trophy Points:
    340
    Hi

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

    Tiger-1 MDL Guru

    Joined:
    Oct 18, 2014
    Messages:
    6,209
    Likes Received:
    7,533
    Trophy Points:
    210
    ok you are the dude!!:D thanks a lot for fast answer :worthy: