[windeploy.exe] Client non-Enterprise OS edition detected with OEM license; will not run user-provided scripts.
[windeploy.exe] Not allowed to run the Setupcomplete.cmd, will not run SetupComplete.cmd
I'm using Windows 11 24H2 Pro, so seems my best option is to try and use the RunSynchronousCommand, but not sure how to implement that. Any other ideas on how best to do this? I'm essentially looking for a way to run setupcomplete.cmd before login. I have a ps script that is called by it, and it's fully automated.
ChatGPT seems to insist that there's an "expert" menu in NTLite, and a way to add settings, but my Pro version (2025.4) does not show anything...
I've also attempted to add to the xml file (without the settings pass header):
But then NTLite seems to think it's invalid and won't let me load it.
TIA
[windeploy.exe] Not allowed to run the Setupcomplete.cmd, will not run SetupComplete.cmd
I'm using Windows 11 24H2 Pro, so seems my best option is to try and use the RunSynchronousCommand, but not sure how to implement that. Any other ideas on how best to do this? I'm essentially looking for a way to run setupcomplete.cmd before login. I have a ps script that is called by it, and it's fully automated.
ChatGPT seems to insist that there's an "expert" menu in NTLite, and a way to add settings, but my Pro version (2025.4) does not show anything...
I've also attempted to add to the xml file (without the settings pass header):
Code:
<settings pass="specialize">
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Description>Invoke SetupComplete.cmd</Description>
<Path>cmd /c "%WINDIR%\Setup\Scripts\SetupComplete.cmd"</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
But then NTLite seems to think it's invalid and won't let me load it.
TIA
