Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

j.santos

Reviews(1)
byj.santos, July 20, 2016
Hi guys,
I re-compiled the file "check_office_scan.js" and it worked.
Open the file in the text edtitor and change the line number 102.

Before (win32):
var InstallKey = "HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\OfficeScan\service\Information\Local_Path";

After (win64):
var InstallKey = "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TrendMicro\OfficeScan\service\Information\Local_Path";

Save the file and re-compile using the own server .NET Framework:

Is usually in C:WINDOWSmicrosoft.netFramework64v(xxxxxx - .NET version)
Copy the "check_office_scan.js" file to this folder.
Open the command prompt, go to the .NET folder and run the command:

jsc.exe check_office_scan.js

Will generate a new executable compatible with Windows 64-bit!