Windows 11 2H24 New Installs and later have made vbscript not part of the standard feature set. To correct the error it must be installed.
You can open a terminal as admin to check if VBSCRIPT is installed.
Paste or type the following to check if VBSCRIPT is installed: DISM /Online /Get-CapabilityInfo
/CapabilityName:VBSCRIPT
You should get:
We can run this command in a terminal with admin to install VBSCRIPT: DISM
/Online /Add-Capability /CapabilityName:VBSCRIPT
Robocell