Microsoft VBScript runtime error

Hello all,

I am running this from the NRPE server and checking the disk space on a Windows 2000 server. When the job runs I get the error below. Please let me know what I am doing wrong. This only seems to be happening on this one server. I have the same command working on other servers.

Job Command: server1# ./check_nrpe -H winserver -c check_disk_c

Error: c:\nrpe\bin\check_disk.wsf(71, 4) Microsoft VBScript runtime error: Object doesn’t support this property or method: ‘Wscript.Arguments.Named’

Thanks in advance.

Craig

Make sure your Windows Script install is up to date on that machine.
microsoft.com/downloads/deta … laylang=en

That was exactly the issue. We had on there version 5.1 and upgraded to 5.6 and the script worked. Thanks for the help.

Craig