Optimize-LTSC - SetupComplete.cmd - Post-Install (new method)
If you want to integrate your own scripts or programs with Optimize-LTSC's SetupComplete.cmd, follow this:
Place your scripts and files in the Optimize-LTSC's "Additional" directory:
- go to your Optimize-LTSC's
\Resources\Additional\Setup\
directory, add your scripts and files to theFiles
folder - edit the
SetupComplete.cmd
script from within\Resources\Additional\Setup\Scripts\
using Notepad++ - as you can see i've added some commands there as an example for you, theREM
is a commented line, if you want to call another .cmd file you have to use thecall
command, 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 theSetupComplete.cmd
script at\Resources\Additional\Setup\Scripts\
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.
Good luck!
The full optimization guide is available here