Post-installation task activate windows 10
A BAT file will work, see:
it really depends what is done in the bat file.
All activations will run the slmgr.vbs from Microsoft in one or another way to do the real job.
cscript //B "%windir%\system32\slmgr.vbs" /ato
would do the job too but it can be done much more in the scriüt ypi jave-