Has runonceex key changed behavior in LTSC 1809?

Discussion in 'Windows 10' started by dracul, Nov 11, 2021.

  1. dracul

    dracul MDL Novice

    Apr 29, 2015
    9
    1
    0
    Hello all,

    I've been struggling with this problem for a few days now.

    I cannot find an answer why when windows finishes setup and prior to launching the desktop, the programs supposed to launch through runonceex keep hidden behind the "preparing windows" screen.

    When I run runonceex asynchronously (after desktop loads) I can see the installation program interface and interact
    with it.

    Sample:
    REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer /v AsyncRunOnce /t REG_DWORD /d 0 /f
    REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableFirstLogonAnimation /t REG_DWORD /d 0 /f

    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" /v TITLE /d "Installing Software" /f

    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\0001" /ve /d "WinRar" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\0001" /v "0001" /d "%WinDir%\Setup\Files\winrar-x64-602.exe" /f

    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\0002" /ve /d "Inno" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\0002" /v "0002" /d "%WinDir%\Setup\Files\innosetup-6.2.0.exe" /f

    Thanks for any assistance