How Do I Reinstall Windows Scripting Host on Windows 10 as I cannot fix it

Matt Addison 21 Reputation points
2021-06-18T13:43:33.13+00:00

Windows scripting host has stopped running scripts on a Microsoft Windows [Version 10.0.19043.1052] pc, even running a simple vbs script that just does a
wscript.echo "Hello World"

This is all we get with or without the debugging options /U /D /t:5

C:\Users\adm.ma>cscript /U /D /t:5 test.vbs
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.

I have already run SFC /scannow and even tried DISM /Online /Cleanup-Image /RestoreHealth but no luck

Event Log shows no errors

If anyone has any ideas, please let me know

Thanks

Matt

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,836 questions
{count} votes

Accepted answer
  1. Yuhan Deng 3,771 Reputation points Microsoft Vendor
    2021-06-21T06:41:00.743+00:00

    Hi Matt,
    I did some research but it seems that you’ve tried most of the recommended methods. Maybe reinstalling Windows would be the only solution.
    Also I would suggest that you contact Microsoft Customer Support and Services where more in-depth investigation can be done so that you would get a more satisfying explanation and solution to this issue. In addition, if the issue has been proved as system flaw, the consulting fee would be refund. You may find phone number for your region accordingly from the link below.
    Global Customer Service phone numbers:
    https://support.microsoft.com/en-us/help/13948/global-customer-service-phone-numbers

    Thanks for your time.
    Best regards,
    Danny

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.