Overview
A 90 minute scan timeout was implemented in Patch or Windows server 9.3.x. We have devised a method to increase the scan timeout for customer's who require more than 90 minutes for agentless scans.
Instructions:
1) Close the UI, Stop all Ivanti Services and archive / delete all logs from C:\ProgramData\LANDESK\Shavlik Protect\Logs
2) Extract the ScanTimeoutConfigurable.zip
3) Read Disclaimer.txt
4) Go to the Protect installation folder. Default location:
C:\Program Files\LANDESK\Shavlik Protect
5) Rename ST.BusinessObjects.dll and ST.UI.Controllers.dll to ST.BusinessObjects.dll_Backup and ST.UI.Controllers.dll_Backup (For backup purposes)
6) Copy ST.BusinessObjects.dll and ST.UI.Controllers.dll from the extracted folder to the Protect folder
7) Right-click ST.BusinessObjects.dll and ST.UI.Controllers.dll --> Properties
8) On the General Tab, make sure there is NO unblock button. If there is, click unblock
9) Open STEnvironment.config and add the patchScanIntervals="9" attribute to the end of the environment tag. patchScanIntervals represents 10 minutes. So, patchScanIntervals="1" means wait 10 minutes. patchScanIntervals="2" means wait 20 minutes, and so on.
Set patchScanIntervals="9" to which ever number prevent the scan from timing out.
Before:
<environment agentCheckInTimeout="00:15:00" agentRegistrationTimeout="00:15:00" downloadInactivityTimeout="00:01:00" maximumVMwareMounts="5" arrivalsDirectory="C:\ProgramData\LANDESK\Shavlik Protect\Console\Arrivals\" autoUpdateUri="https://content.ivanti.com/data/Protect/v9/93/UpdateVersion.xml" cacheDirectory="C:\ProgramData\LANDESK\Shavlik Protect\Console\Cache\" certificateAuthorityDirectory="C:\ProgramData\LANDESK\Shavlik Protect\Console\CertificateAuthority\" consoleCertificateSerialNumber="AC59D97F288502AC460A0763133B6CC9" consoleId="d13bc6d7-f122-420f-b61b-9e9a1105eb4b" consoleServicesPort="3121" customPatchConfigFilePath="C:\ProgramData\LANDESK\Shavlik Protect\Console\ST.CustomPatch.config" dataCollectorUri="https://license.shavlik.com/License/v92/DataCollector.svc" dataFilesDirectory="C:\ProgramData\LANDESK\Shavlik Protect\Console\DataFiles\" helpUriFormat="https://help.ivanti.com/Protect/93/{0}/{1}" itScriptsOutputDirectory="C:\ProgramData\LANDESK\Shavlik Protect\Console\ITScriptsOutput\" manifestUri="http://content.ivanti.com/data/Protect/v9/93/manifest/protect.manifest.cab" tempReportsDirectory="C:\ProgramData\LANDESK\Shavlik Protect\Console\TempReports\">
After:
<environment agentCheckInTimeout="00:15:00" agentRegistrationTimeout="00:15:00" downloadInactivityTimeout="00:01:00" maximumVMwareMounts="5" arrivalsDirectory="C:\ProgramData\LANDESK\Shavlik Protect\Console\Arrivals\" autoUpdateUri="https://content.ivanti.com/data/Protect/v9/93/UpdateVersion.xml" cacheDirectory="C:\ProgramData\LANDESK\Shavlik Protect\Console\Cache\" certificateAuthorityDirectory="C:\ProgramData\LANDESK\Shavlik Protect\Console\CertificateAuthority\" consoleCertificateSerialNumber="AC59D97F288502AC460A0763133B6CC9" consoleId="d13bc6d7-f122-420f-b61b-9e9a1105eb4b" consoleServicesPort="3121" customPatchConfigFilePath="C:\ProgramData\LANDESK\Shavlik Protect\Console\ST.CustomPatch.config" dataCollectorUri="https://license.shavlik.com/License/v92/DataCollector.svc" dataFilesDirectory="C:\ProgramData\LANDESK\Shavlik Protect\Console\DataFiles\" helpUriFormat="https://help.ivanti.com/Protect/93/{0}/{1}" itScriptsOutputDirectory="C:\ProgramData\LANDESK\Shavlik Protect\Console\ITScriptsOutput\" manifestUri="http://content.ivanti.com/data/Protect/v9/93/manifest/protect.manifest.cab" tempReportsDirectory="C:\ProgramData\LANDESK\Shavlik Protect\Console\TempReports\" patchScanIntervals="15">
10) Start all Ivanti Services.
Additional Information
patchScanIntervals="9" means wait 90 minutes
patchScanIntervals="10" means wait 100 minutes
patchScanIntervals="11" means wait 110 minutes
patchScanIntervals="12" means wait 120 minutes
etc etc.