code:
var objFile = new ActiveXObject("Scripting.FileSystemObject");
This line of code is what WLMStatus is using to get access to some fundamental functions to access files and folders.
Today, I got a report that this line is causing trouble on a computer of some WLMStatus user. What his debug window outputs is:
quote:
El script está iniciándose
El script está cargado y listo
Función llamada: OnEvent_Initialize
Error: Automation server can't create object (código: -2146827859).
Archivo: _main.js. Línea: 16.
La función OnEvent_Initialize devolvió un error. Código: -2147352567
Subsequently, I looked a bit around to find a solution for that. What I came up with was some thread at MSDN telling to set the owner of the HKCR\Scripting.FileSystemObject hive to 'Administrators'. I told the guy to follow the steps and helped him with it, but the result is still the same and the object cannot be initialized properly.