Do Windows updates or install programs use Windows Script Host?

Kiki Shi 541 Reputation points
2020-03-02T06:15:20.017+00:00

I notice that when I start Windows after an update, I often briefly see one or more command Windows. The Windows close quickly so I cannot read the command that was executed. But it makes me think that possibly scripts were run as part of the update. My fear is that disabling WSH might prevent updates from completing.

Also, in the past I have seen installation programs that used VBScript. Is this still common?

Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,899 questions
0 comments No comments
{count} votes

Accepted answer
  1. Teemo Tang 821 Reputation points
    2020-03-02T06:29:01.5+00:00

    Welcome to our new Microsoft Q&A Platform

    For your question in the title. I want to say No, we don’t need to worry about Windows Update after disable WSH.

    The phenomenon you met is normal, I also meet with the same situation after I upgraded system or updated drivers software, the command-line window tells me that desktop graphic performance or something other need to be evaluated or re-testing, because operation was executed too quick so I can’t see the specific content. On my PC, WSH is always disabled...

    About your this word:

    >in the past I have seen installation programs that used VBScript. Is this still common?

    Sorry, I don’t know, I am not a programmer or an expert on the subject, Windows Script Host provides an environment in which users can execute scripts in a variety of languages that use a variety of object models to perform tasks. It will influence script’s running but I don’t think it will influence general programs’ installation.


1 additional answer

Sort by: Most helpful
  1. Sean Liming 4,506 Reputation points
    2020-03-04T23:36:35.717+00:00

    DISM is running to install the MSU files. You are probably seeing command windows pop-up as it is completing background tasks. Here is a link that offers some detail on using DISM:

    https://thewincentral.com/how-to-install-cab-files-on-windows-10-for-cumulative-updates/

    0 comments No comments