VBScript consumes memory after Creators Update (Win 10, 64bit)

Viewed 861

Since the latest Windows update (creators-update, winver gives 1703, build 15063.483) we have problems with VBScript accessing COM objects. It just seems to consume memory until memory exceeds.

We already have checked our sources and made it to just one simple vbs file that uses the FileSystemObject.

Look at this simple script file:

Dim fso, folder

Set fso = CreateObject("Scripting.FileSystemObject")
If Not fso Is Nothing Then
    Do
        Set folder = Nothing
        Set folder = fso.GetFolder("C:\Users")
    Loop 
    Set folder = Nothing
    Set fso = Nothing
End If

It does just nothing but hanging in that loop, but if O look at the Task Manager I see the process wscript.exe consuming memory.

This doen only happen on Windows 10 systems with the creators update installed.

Any hints whats going wrong? Maybe a bug anywhere in the VBScript engine?

2 Answers

Finally Microsoft have a solution in a general release of Windows 10. The Windows 10 Fall Creators Update (OS Version 1709 Build 16299.15) is now available and fixes this issue.

Related