abbodi1406's Batch Scripts Repo

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

  1. Beppi

    Beppi MDL Novice

    Jun 25, 2018
    3
    1
    0
    OK, so the Monthly Rollup is not the only thing I need.. Thank you, will try now ;)
     
  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,249
    94,637
    450
    #1102 Enthousiast, Apr 17, 2020
    Last edited: Apr 17, 2020
    @Beppi
    Just check if
    Code:
    http://download.windowsupdate.com/c/msdownload/update/software/secu/2020/03/windows6.1-kb4550735-x64_18117664b4a0482c3d34a2f05f70c6819296240f.msu
    is present.

    EDIT, quoted the wrong poster, fixed.
     
  3. Beppi

    Beppi MDL Novice

    Jun 25, 2018
    3
    1
    0
    Thank you for the realtime assistance, mission accomplished!
     
  4. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,249
    94,637
    450
    So, it was missing?
     
  5. aygul12345

    aygul12345 MDL Junior Member

    Apr 25, 2014
    93
    7
    0
    Is it possible to run the KMS_VL_ALL_AIO on silent and make the scheduler in silent mode?
     
  6. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,249
    94,637
    450
  7. aygul12345

    aygul12345 MDL Junior Member

    Apr 25, 2014
    93
    7
    0
  8. ypu have to put setupcomplete script inside $OEM$ directory which you have to create in sources directory of your iso.
     
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,249
    94,637
    450
    You could just use the ready made $OEM$ folder with all files already in and set to install silent with autorenewal set.
     
  10. crypticus

    crypticus MDL Senior Member

    Jun 29, 2015
    317
    142
    10
    #1110 crypticus, Apr 29, 2020
    Last edited: Apr 29, 2020

    it said finished in a seccond but nothing was installed... is it because I have uac disabled and windows defender + normal edge is removed via ntlite? also normal chromium installation is not working because i don't have normal edge in my system. beta dev canary installations works tho.... maybe thats the reason i'm not having normal edge? can u fix it for normal stable edge installation because other editions are working via official setups
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,194
    84,743
    340
    Code:
    if it failed, check these log files for details:
    
    "%ProgramData%\Microsoft\EdgeUpdate\Log\MicrosoftEdgeUpdate.log"
    "%temp%\MicrosoftEdgeUpdate.log"
    "%temp%\msedge_installer.log"
     
  12. crypticus

    crypticus MDL Senior Member

    Jun 29, 2015
    317
    142
    10
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,194
    84,743
    340
    @ege914

    The missing Edge legacy is probably the cause of the error
    https://answers.microsoft.com/en-us...ll-after/1d7b5232-f830-4143-b731-23c758f4984b

    try adding this registry then try again
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\EdgeUpdate]
    "Allowsxs"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EdgeUpdateDev]
    "NoCertTrustCheck"=dword:00000001
    "CanContinueWithMissingUpdate"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\EdgeUpdateDev]
    "NoCertTrustCheck"=dword:00000001
    "CanContinueWithMissingUpdate"=dword:00000001
     
  14. crypticus

    crypticus MDL Senior Member

    Jun 29, 2015
    317
    142
    10

    unfortunately, did not work
    here is the new log: https://paste.awesom.eu/ysVb
     
  15. aygul12345

    aygul12345 MDL Junior Member

    Apr 25, 2014
    93
    7
    0
    I dont know where or what to do right now how to run the activator on silent?
     
  16. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,249
    94,637
    450
    #1116 Enthousiast, Apr 30, 2020
    Last edited: Apr 30, 2020
    Version 38f has a ready made $OEM$ folder, just put it in the ISO:\sources folder and it will activate your install automated, silent and with autorenewal.

    Version 38 AIO has an option to create that exact folder.

    Small addition, best to insert this ei.cfg file in the ISO:\Sources folder (when using a win 10 consumer ISO):
    Code:
    [Channel]
    _Default
    [VL]
    0
    
     
  17. Please follow the instructions as @Enthousiast Sir is suggesting .
     
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,194
    84,743
    340
    Nothing else i can suggest

    you may uninstall all Edges, reboot, add the above registry, then try again

    CleanupAllEdges.cmd
    Code:
    @echo off
    reg.exe query "HKU\S-1-5-19" 1>nul 2>nul || (echo Run the script as administrator&pause&exit)
    
    set "u_path=%LocalAppData%\Microsoft"
    set "s_path=%ProgramFiles(x86)%\Microsoft"
    if /i %PROCESSOR_ARCHITECTURE%==x86 (if not defined PROCESSOR_ARCHITEW6432 (
      set "s_path=%ProgramFiles%\Microsoft"
      )
    )
    
    for /D %%i in ("%u_path%\Edge SxS\Application\*") do if exist "%%i\installer\setup.exe" (
    start "" /w "%%i\installer\setup.exe" --uninstall --msedge-sxs --verbose-logging --force-uninstall --delete-profile
    )
    for /D %%i in ("%u_path%\Edge Dev\Application\*") do if exist "%%i\installer\setup.exe" (
    start "" /w "%%i\installer\setup.exe" --uninstall --msedge-dev --verbose-logging --force-uninstall --delete-profile
    )
    for /D %%i in ("%u_path%\Edge Beta\Application\*") do if exist "%%i\installer\setup.exe" (
    start "" /w "%%i\installer\setup.exe" --uninstall --msedge-beta --verbose-logging --force-uninstall --delete-profile
    )
    for /D %%i in ("%u_path%\Edge\Application\*") do if exist "%%i\installer\setup.exe" (
    start "" /w "%%i\installer\setup.exe" --uninstall --verbose-logging --force-uninstall --delete-profile
    )
    
    for /D %%i in ("%s_path%\Edge\Application\*") do if exist "%%i\installer\setup.exe" (
    start "" /w "%%i\installer\setup.exe" --uninstall --system-level --verbose-logging --force-uninstall --delete-profile
    )
    for /D %%i in ("%s_path%\Edge Beta\Application\*") do if exist "%%i\installer\setup.exe" (
    start "" /w "%%i\installer\setup.exe" --uninstall --msedge-beta --system-level --verbose-logging --force-uninstall --delete-profile
    )
    for /D %%i in ("%s_path%\Edge Dev\Application\*") do if exist "%%i\installer\setup.exe" (
    start "" /w "%%i\installer\setup.exe" --uninstall --msedge-dev --system-level --verbose-logging --force-uninstall --delete-profile
    )
    pause
     
  19. crypticus

    crypticus MDL Senior Member

    Jun 29, 2015
    317
    142
    10
    #1119 crypticus, May 1, 2020
    Last edited: May 2, 2020
    Thanks but i don't even have any edges, it was freshly installed windows... ok np if u can't solve
     
  20. Ibrahim Safi

    Ibrahim Safi MDL Novice

    Apr 26, 2020
    12
    0
    0
    Thanks so much