Hi,
I added one task to run:
Type: Run Command Line
Command Line: cscript c:\windows\system32\slmgr.vbs /ato
Start in: c:\windows\system32
Run this step as the following account: a domain admin account
The image is already having MAK key.
And this is the last task in the task sequence.
The error I am getting is:
CScript Error: Can't find script engine "VBScript" for script "c:\windows\system32\slmgr.vbs".
Because of this error it is not activating the machine. And the task sequence execution aborts with error: Failed to run the action: Activate Windows. Execution has been aborted
Fortunately, this is the last task in TS.
The same task ran successfully in Baremetal Task Sequence and activated the newly installed OS.
Please help.
Regards,
Amit Anand
Older Issue:
Initially, I had an image which was not having MAK key. I added two tasks: one for changing the key to MAK key and second to activate windows. There also, the task for changing the key used run successfully all the time, but activate windows task used to give problem (success for some time and failure for some time)