VBScript consumes memory after Creators update (Win 10, 64bit)
Since the latest Windows update (creators-update, winver
gives 1703, build 15063.483), we have problems with VBScript access to COM objects. It seems to be consuming memory until memory is overflowed.
We've already checked our sources and moved on to one simple vbs file that uses FileSystemObject
.
Take a 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 just doesn't hang anything in that loop, but if O look at the Task Manager, I see a process wscript.exe
consuming memory.
This doen only occurs on Windows 10 systems with creators update installed.
Any clues what is going wrong? Maybe a bug in the VBScript driver?
source to share
Finally, Microsoft has a solution in Windows 10 General Edition. The Windows 10 Fall Creators Update (OS version 1709 Build 16299.15) is now available and fixes this issue.
source to share