We use a batch file with the following content to activate our windows domain computer after imaging:
slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr -ato
This works well, but there is a problem: after each command a dialog box appears and the file does not continue until you closed it.
Is there a way to supress the dialog boxes? (on success, not on error). A way so that at least both commands are executed without user intervention would be fine too (it gets boring to walk past 50+ computer and pressing enter on each of them)