Windows 11 Does not automatically install software after OS installation

guigui69

New Member
Messages
21
Reaction score
0
Hello,
I created an ISO of Windows 11 24h2 with your tool (automatic installation of the OS + automatic software).
On some installations it installs the OS but not the software part.

Once the installation is finished, I am forced to go to c:\windows\setup\script\ to launch the script file in order to complete the installation of the software.

But I did a test on another PC without problem it installs the software correctly (automatically).

From memory there was an indication to indicate in NTLITE, but I can't find itWhere could the problem come from?
What option is it, OEM?

(Sorry I don't speak English)
 
What version of NTLite are you using? Windows will skip execution of SetupComplete.cmd if there's an OEM license key found in BIOS.
  • Newer versions of NTLite have silently fixed this problem, and SetupComplete.cmd runs on every PC.
  • Older versions have a workaround to run the same script on OEM PC's. From the Unattended screen, click the OEM SetupComplete checkbox in the toolbar. Please update to a current NTLite version if you haven't already.
 
Bonjour,

2024.12.10221 ou 2024.12.10216 Free edition

c'est corriger a partir de quelle version NTLITE ?
 
Is it normal that in my unattend XML I don't have a line for SetupComplete.cmd SetupComplete.cmd?
 
You provided a copy of your autounattend.xml, and not the NTLite preset file that was auto-saved when you made an ISO. The preset is the config file used to recreate your last editing session.

You probably clicked on the wrong Before logon mode by mistake. Use Default instead of Windows default.

View attachment 13571
 
After reading your preset, it's clear that you didn't use NTLite to create any Post-Setup tasks. Instead you're manually copying a separate SetupComplete.cmd script into C:\Windows\Setup\Scripts.

In this case, NTLite doesn't think there's any Post-Setup work and doesn't make any special changes to run SetupComplete on all PC's.

You have two options:
1. Learn to use NTLite's Post-Setup mode, and migrate your tasks from the existing SetupComplete script to NTLite.

2. Integrate a special .reg file, from the Registry screen, which does what NTLite normally does in Default mode. Under the Registry screen, add the included file. This will create a post-OOBE task to run SetupComplete.
 

Attachments

Your preset doesn't match this screen. If you didn't save a copy of this editing session, then NTLite should have created an Auto-save file for you.

Office 2007 Setup will fail. Office Setup is not very intelligent about paths, and you need to cd (change directory) into the folder where the Office setup files are kept, before running setup.exe.
 
Back
Top