A script engine for the specified language cannot be created

Error:

A script engine for the specified language cannot be created

Snapshot:

Workaround1:

Step 1. Verify that you have vbscript.dll in “C:\Windows\system32” directory as stated above.
Step 2. Run command prompt as administrator. ( Start > Accessories > right-click Command Prompt and select Run as Administrator )

Step 3. The command prompt should open to something like C:\Windows\system32 ( your path might be different, but you want the system32 folder underneath your windows directory. )

Step 4. make sure to Unregister vbscript dll first:

regsvr32 /U %windir%/system32/vbscript.dll”

Step 5. Now register vbscript.dll

you should see a message about succuessful registration popup

regsvr32 %windir%/system32/vbscript.dll”