CMD.exe stuck during Windows 11 install

guigui69

New Member
Hello,
I am creating a custom windows 11 install with ntlite (latest version)

during the installation of windows 11 it remains stuck on this window:
Capture d’écran 2022-04-21 111312.png


What is this window for? or did it make a mistake?


Sorry don't speak english
 
If i'm not mistaken it should be about post setups rather than ntlite edits. So
*can you upload your preset so we can see post setup commands
*if you are using custom setupcomplete.cmd or oobee.cmd please post it too
 
Hello,

which file should I provide?

here are the changes i made from ntlite
1650546158052.png
1650546226769.png
1650546264064.png
1650546334780.png
1650546357263.png

file setupcomplete.cmd

Code:
@echo off
"%WINDIR%\Setup\Files\7z2107-x64.exe" /S
"%WINDIR%\Setup\Files\AcroRdrDC2200120117_fr_FR.exe" /sAll /qf /quiet
"%WINDIR%\Setup\Files\ccsetup592_slim.exe" /S /L=1036
"%WINDIR%\Setup\Files\CitrixWorkspaceApp.exe" /silent /noreboot
"%WINDIR%\Setup\Files\ImageResizerSetup-3.1.2.exe" /install /quiet /norestart
"%WINDIR%\Setup\Files\UltraVNC_1_3_81_X64_Setup.exe" /verysilent /loadinf="c:\windows\Setup\Files\UltraVNC.inf"
msiexec /i "%WINDIR%\Setup\Files\HDX_RealTime_Media_Engine_2.9.500_for_Windows.msi" /passive
del /Q "c:\Users\public\Desktop\Acrobat Reader DC.lnk"
del /Q "c:\Users\public\Desktop\CCleaner.lnk"
regedit /S "%WINDIR%\Setup\Files\ultravnc.reg"
"%WINDIR%\Setup\Files\PowerPointViewer.exe" /quiet
powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "%WINDIR%\Setup\Files\taskbar.ps1"
c:\windows\setup\files\office2007\setup.exe /config CONFIG-test.XML
regedit /S "%WINDIR%\Setup\Files\clear-key.reg"
"%WINDIR%\Setup\Files\office2007sp3-kb2526086-fullfile-fr-fr.exe" /passive /norestart
"%WINDIR%\Setup\Files\Dell-update.exe" /s
msiexec /i "%WINDIR%\Setup\Files\ZoomCitrixHDXMediaPlugin.msi" /passive
net accounts /maxpwage:unlimited
copy /B /Y "c:\windows\setup\Files\ultravnc.ini" "c:\Program Files\Ultravnc\"
Powershell.exe Import-StartLayout -LayoutPath C:\windows\Setup\Files\taskbardefault.xml -MountPath C:\





rd /q /s "%WINDIR%\Setup\Files"
del /q /f "%0"
 
"%WINDIR%\Setup\Files\AcroRdrDC2200120117_fr_FR.exe" /sAll /qf /quiet
/qf is for repair, you don't need it

regedit /S "%WINDIR%\Setup\Files\ultravnc.reg"
reg import is preferred, but regedit /s still works

powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "%WINDIR%\Setup\Files\taskbar.ps1"
copy /B /Y "c:\windows\setup\Files\ultravnc.ini" "c:\Program Files\Ultravnc\"
%WINDIR%\Setup\Files\ultravnc.ini for consistency

Powershell.exe Import-StartLayout -LayoutPath C:\windows\Setup\Files\taskbardefault.xml -MountPath C:\
powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -Command Import-StartLayout -LayoutPath C:\windows\Setup\Files\taskbardefault.xml -MountPath C:\

PowerShell wants to execute file "Import-StartLayout", which doesn't exist and breaks default ExecutionPolicy.
 
Simplest would be to run all those commands on an installed VM and see which command is not fully silent.
Also, switch to Post-setup User box, then it will show on first logon what is being executed.
 
The faster way is reset the system when SetupComplete won't exit.
After Windows recovers, open \Windows\Panther\setupact.log & setuperr.log

setupact records every command that Setup runs. Scroll to the end, until you see your commands. Whichever is the last command OR the next one on your list is causing problems.
 
Hello,

I think I found my problem the application:
Code:
"%WINDIR%\Setup\Files\CitrixWorkspaceApp.exe" /silent /noreboot

asks for a new prerequisite (this one)
Code:
MicrosoftEdgeWebView2RuntimeInstallerX86.exe" /silent /install
On the other hand it's weird, the installation of this module (post-installation) during the installation of Windows11 works (because I see it in the Parameter> Application once the windows is installed) but it is not detected by "CitrixWorkspaceApp. exe"

I just tested, once the windows11 install, I right click on "MicrosoftEdgeWebView2RuntimeInstallerX86" install as administrator and it works. how can I tell during the "post-installation" install as admin?
 
Make sure in setupcomplete.cmd that the MicrosoftEdgeWebView2RuntimeInstallerX86 is above (earlier) than the CitrixWorkspaceApp.exe

If nothing helps, try switching to User box of Post-setup page, that is on first logon.
 
hello,

I return to my subject because I still have not found a solution.
the 1st line is the EdgeWebViewruntime and
the last line is the citrixworkspace program which needs edgewebruntime even doing this it does not work.

I tried to add the CAB files but it tells me that they are invalid or corrupted
"%WINDIR%\Setup\Files\MicrosoftEdgeWebView2RuntimeInstallerX64.exe" /silent /install
"%WINDIR%\Setup\Files\7z2201-x64.exe" /S
"%WINDIR%\Setup\Files\AcroRdrDC2200220191_fr_FR.exe" /sAll /qf /quiet
"%WINDIR%\Setup\Files\ccsetup604_slim.exe" /S /L=1036
"%WINDIR%\Setup\Files\ImageResizerSetup-3.1.2.exe" /install /quiet /norestart
"%WINDIR%\Setup\Files\UltraVNC_1_3_81_X64_Setup.exe" /verysilent /loadinf="c:\windows\Setup\Files\UltraVNC.inf"
del /Q "c:\Users\public\Desktop\Acrobat Reader DC.lnk"
del /Q "c:\Users\public\Desktop\CCleaner.lnk"
regedit /S "%WINDIR%\Setup\Files\ultravnc.reg"
"%WINDIR%\Setup\Files\PowerPointViewer.exe" /quiet
c:\windows\setup\files\office2007\setup.exe /config CONFIG-test.XML
regedit /S "%WINDIR%\Setup\Files\clear-key.reg"
"%WINDIR%\Setup\Files\office2007sp3-kb2526086-fullfile-fr-fr.exe" /passive /norestart
"%WINDIR%\Setup\Files\Dell-update.exe" /s
net accounts /maxpwage:unlimited
copy /B /Y "c:\windows\setup\Files\ultravnc.ini" "c:\Program Files\Ultravnc\"
"%WINDIR%\Setup\Files\CitrixWorkspaceApp.exe" /silent /noreboot
an idea?
 
WebView requires a reboot to finish installation. If Citrix is expecting WebView, it won’t be available before then.
 
Back
Top