If you want to integrate your own scripts or programs with Optimize-LTSC's SetupComplete.cmd, follow this:
- go to your Optimize-LTSC's
\Resources\Additional\Setup\directory, add your scripts and files to the
- edit the
SetupComplete.cmdscript from within
\Resources\Additional\Setup\Scripts\using Notepad++ - as you can see i've added some commands there as an example for you, the
REMis a commented line, if you want to call another .cmd file you have to use the
callcommand, i've added the line about KMS_VL_ALL as an example.
- remember to always place all your scripts and files in the
\Resources\Additional\Setup\Files\directory and point to them in the
The above is just a simplified example of what SetupComplete.cmd scripting is capable of.
More details about SetupComplete.cmd and Post-Install/Unattended scripting in general can be found in this Microsoft's article.
Also, Google is your friend.
The full optimization guide is available here