[Solved] setupcomplete.cmd

Discussion in 'Windows 8' started by orvillesnorkel, Apr 9, 2023.

  1. orvillesnorkel

    orvillesnorkel MDL Novice

    Jan 7, 2014
    21
    3
    0
    #1 orvillesnorkel, Apr 9, 2023
    Last edited by a moderator: Apr 9, 2023
    I have this Small cmd, for my AIO windows 8.1.
    The kb 5023765 in the last line, does not integrate offline.
    so i put it in setupcomplete and it works fine.
    But kb 5023765 is for Embedded Pro, and Enterprise only.
    Is there a Way, to Add the file, for these two versions only,
    and not for the other versions, in my AIO :confused:

    Code:
    @echo off
    cd %~dp0
    start /wait mpam-fe.exe /Q
    start /wait windows-kb890830-x64-v5.111_34acd51e6ca1c835eacff757d6ea75c4a22ad3cb.exe /Q
    start /wait wusa.exe windows8.1-kb5023765-x64_18c14ac47cdee2cf2329a3f80e176862fe3e4ccb.msu /quiet /norestart
    RMDIR /S /Q "C:\Windows\Setup\Scripts"
    exit
    
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,486
    92,755
    340
    Code:
    If exist "C:\Windows\Embedded*.xml" start /wait wusa.exe windows8.1-kb5023765-x64_18c14ac47cdee2cf2329a3f80e176862fe3e4ccb.msu /quiet /norestart
     
  3. orvillesnorkel

    orvillesnorkel MDL Novice

    Jan 7, 2014
    21
    3
    0
    Thank you for the reply abbodi :)