Purpose
When running the Shavlik Protect in a secure environment without Internet access, it is necessary to download the latest data files on a system that has internet access and then transfer them to the console machine.
This article applies only to patch data.
Description
This article discusses both methods:
- PowerShell (Highly Recommended)
- Individual file download (All Files Are Required)
PowerShell
Running the script on a Windows 7 SP1 system with the natively installed PowerShell does not work with the execution policy set to "RemoteSigned". You will still receive an error that the script is not digitally signed. The script will only run if the execution policy is set to "unrestricted"
To use the PowerShell script:
- Download and install PowerShell 1.0 from Microsoft, if it is not already installed. For more information, see Microsoft KB article 926140.
- Shavlik NetChk Protect and VMware vCenter Protect patch files are released twice per week. To download the patch files, you can use a PowerShell script to automate the process or you can download each file individually.
- If you need a compression utility, download and install the 7-Zip extraction utility from http://www.7-zip.org/download.html.
Shavlik does not endorse or recommend any particular third_party utility.
- Create an output directory.
- Download and extract the PowerShell script attached to this article: DownloadProtectData90.zip
This script works for all versions of these products.
- Open a command prompt.
- Enter PowerShell by typing powershell.
- Navigate to the location where you extracted the PowerShell script.
- At the PowerShell command prompt, launch the script with this command:
.\DownloadProtectData90.ps1 "<outputdirectory>" <major or minor version> "<7-zip directory>"
The command begins with the characters.
before the script name. These characters are required if the script is in the current working directory. If you are in a different directory, enter the full path to the script.
The major/minor version argument has a two-digit value. Use the value corresponding to your version:
- Protect 9.0: 90
- Protect 9.1: 91
Example:
The command you run looks like this: .\DownloadProtectData90.ps1 "C:\Data" 90 "C:\program Files\7-Zip"
The command has these elements:
.\DownloadProtectData.ps1
: This is the script itself.c:\Data
: This is the folder to which you are downloading the data files.90
: This is the version of vCenter Protect or Shavlik Protect files you are downloading.
DataFiles
folder on the Shavlik Protect or vCenter Protect server in the DMZ. This is the default location:If the files already exist in the output directory, they are overwritten.
- 8.x on Vista, 2008, & Windows 7:
C:ProgramData\Shavlik Technologies\NetChk\DataFiles
- 8.x on Windows XP or 2003:
C:Documents and Settings\All Users\Application Data\Shavlik Technologies\NetChk\DataFiles
- 9.x on Vista, 2008, & Windows 7: C:\ProgramData\LANDesk\Shavlik Protect\Console\DataFiles
- 9.x on Windows XP or 2003: C:Documents and SettingsAll UsersApplication Data\LANDesk\Shavlik Protect\Console\DataFiles
- You may see this error:
execution of scripts is disabled on this system
If this occurs, enable the execution of scripts by entering this command:set-executionpolicy RemoteSigned
This command is case-sensitive.
Alternatively, you can sign the script instead of changing the execution policy. For more information, see http://www.hanselman.com/blog/SigningPowerShellScripts.aspx. The preceding link was correct and last checked as of June 11, 2013.
Individual file download
You can manually download the necessary data files. To download the files:
- Right-click each link and select Save Link As.
- Save the files to the console, in the DataFiles folder. This is the default location:
- 8.x on Vista, 2008, & Windows 7:
C:ProgramData\Shavlik Technologies\NetChk\DataFiles
- 8.x on Windows XP or 2003:
C:\Documents and Settings\All Users\Application Data\Shavlik Technologies\NetChk\DataFiles
- 9.x on Vista, 2008, & Windows 7: C:\ProgramData\LANDesk\Shavlik Protect\Console\DataFiles
- 9.x on Windows XP or 2003: C:Documents and SettingsAll UsersApplication Data\LANDesk\Shavlik Protect\Console\DataFiles
- 8.x on Vista, 2008, & Windows 7:
The Protect console requires both the .CAB and the files archived within the .CAB files for Protect to function correctly. The PowerShell script downloads the .CAB files, places the files in the output directory, and extract the files to the output directory. You need to manually extract the .CAB files using an archiving tool like 7-Zip if you choose to manually download the .CAB files.
Update files for Shavlik Protect 9.0:
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/STPlatformUpdater.exe
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/AssetInstaller.msi
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/PatchInstaller.msi
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/ThreatInstaller.msi
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/cl5.exe
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/ST.Licensing.Data.dll
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/DplyEvts.dll
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/7z.dll
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/SafeReboot.exe
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/SafeReboot64.exe
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/STSchedEx.exe
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/STRemoteCommand.exe
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/STScheduleView.exe
http://xml.shavlik.com/data/hf7b.xml
http://xml.shavlik.com/data/pd5.xml
http://xml.shavlik.com/data/iadata.xml
http://xml.shavlik.com/data/ai_dpd.xml
http://xml.shavlik.com/data/scriptcatalog.zip
http://xml.shavlik.com/data/assetinventory.xml
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/STPlatformUpdater.cab
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/cl5.cab
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/ST.Licensing.Data.cab
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/DplyEvts.cab
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/7z.cab
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/SafeReboot.cab
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/SafeReboot64.cab
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/STSchedEx.cab
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/STRemoteCommand.cab
http://xml.shavlik.com/data/Protect/v9/90/Protect/1182/STScheduleView.cab
http://xml.shavlik.com/data/hf7b.cab
http://xml.shavlik.com/data/pd5.cab
http://xml.shavlik.com/data/iadata.cab
http://xml.shavlik.com/data/ai_dpd.cab
http://xml.shavlik.com/data/hypervisors.cab
http://xml.shavlik.com/data/assetinventory.cab
http://xml.shavlik.com/data/Protect/v9/90/manifest/protect.manifest.cab
Update files for Shavlik Protect 9.1.4334:
http://xml.shavlik.com/data/protect/v9/91/protect/4334/7z.dll
http://xml.shavlik.com/data/hf7b.xml
http://xml.shavlik.com/data/protect/v9/91/protect/4334/cl5.exe
http://xml.shavlik.com/data/protect/v9/91/protect/4334/safereboot.exe
http://xml.shavlik.com/data/protect/v9/91/protect/4334/safereboot64.exe
http://xml.shavlik.com/data/protect/v9/91/protect/4334/stschedex.exe
http://xml.shavlik.com/data/protect/v9/91/protect/4334/stremotecommand.exe
http://xml.shavlik.com/data/protect/v9/91/protect/4334/stscheduleview.exe
http://xml.shavlik.com/data/pd5.xml
http://xml.shavlik.com/data/ai_dpd.xml
http://xml.shavlik.com/data/protect/v9/91/protect/4334/assetinstaller.msi
http://xml.shavlik.com/data/protect/v9/91/protect/4334/patchinstaller.msi
http://xml.shavlik.com/data/protect/v9/91/protect/4334/threatinstaller.msi
http://xml.shavlik.com/data/protect/v9/91/protect/4334/st.licensing.data.dll
http://xml.shavlik.com/data/protect/v9/91/protect/4334/dplyevts.dll
http://xml.shavlik.com/data/iadata.xml
http://xml.shavlik.com/data/scriptcatalog.zip
http://xml.shavlik.com/data/supportedHypervisors.obf
http://xml.shavlik.com/data/protect/v9/91/protect/4334/stplatformupdater.exe
http://xml.shavlik.com/data/assetCatalog2.obf
http://xml.shavlik.com/data/assetCatalogMetadata2.obf
http://xml.shavlik.com/data/protect/v9/91/protect/4334/7z.cab
http://xml.shavlik.com/data/hf7b.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4334/cl5.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4334/safereboot.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4334/safereboot64.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4334/stschedex.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4334/stremotecommand.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4334/stscheduleview.cab
http://xml.shavlik.com/data/pd5.cab
http://xml.shavlik.com/data/ai_dpd.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4334/st.licensing.data.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4334/dplyevts.cab
http://xml.shavlik.com/data/iadata.cab
http://xml.shavlik.com/data/supportedHypervisors.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4334/stplatformupdater.cab
http://xml.shavlik.com/data/assetCatalog2.cab
http://xml.shavlik.com/data/assetCatalogMetadata2.cab
http://xml.shavlik.com/data/Protect/v9/91/manifest/protect.manifest.cab
Update files for Shavlik Protect 9.1.4472:
http://xml.shavlik.com/data/protect/v9/91/protect/4446/7z.dll
http://xml.shavlik.com/data/hf7b.xml
http://xml.shavlik.com/data/protect/v9/91/protect/1048/cl5.exe
http://xml.shavlik.com/data/protect/v9/91/protect/4446/safereboot.exe
http://xml.shavlik.com/data/protect/v9/91/protect/4446/safereboot64.exe
http://xml.shavlik.com/data/protect/v9/91/protect/4446/stschedex.exe
http://xml.shavlik.com/data/protect/v9/91/protect/4446/stremotecommand.exe
http://xml.shavlik.com/data/protect/v9/91/protect/4446/stscheduleview.exe
http://xml.shavlik.com/data/pd5.xml
http://xml.shavlik.com/data/ai_dpd.xml
http://xml.shavlik.com/data/protect/v9/91/protect/4446/assetinstaller.msi
http://xml.shavlik.com/data/protect/v9/91/protect/4446/patchinstaller.msi
http://xml.shavlik.com/data/protect/v9/91/protect/4446/threatinstaller.msi
http://xml.shavlik.com/data/protect/v9/91/protect/4446/st.licensing.data.dll
http://xml.shavlik.com/data/protect/v9/91/protect/4446/dplyevts.dll
http://xml.shavlik.com/data/iadata.xml
http://xml.shavlik.com/data/scriptcatalog.zip
http://xml.shavlik.com/data/supportedHypervisors.obf
http://xml.shavlik.com/data/protect/v9/91/protect/4446/stplatformupdater.exe
http://xml.shavlik.com/data/protect/v9/91/protect/4446/stplatformupdater.exe
http://xml.shavlik.com/data/assetCatalog2.obf
http://xml.shavlik.com/data/assetCatalogMetadata2.obf
http://xml.shavlik.com/data/protect/v9/91/protect/4446/7z.cab
http://xml.shavlik.com/data/hf7b.cab
http://xml.shavlik.com/data/protect/v9/91/protect/1048/cl5.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4446/safereboot.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4446/safereboot64.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4446/stschedex.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4446/stremotecommand.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4446/stscheduleview.cab
http://xml.shavlik.com/data/pd5.cab
http://xml.shavlik.com/data/ai_dpd.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4446/st.licensing.data.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4446/dplyevts.cab
http://xml.shavlik.com/data/iadata.cab
http://xml.shavlik.com/data/supportedHypervisors.cab
http://xml.shavlik.com/data/protect/v9/91/protect/4446/stplatformupdater.cab
http://xml.shavlik.com/data/assetCatalog2.cab
http://xml.shavlik.com/data/assetCatalogMetadata2.cab
http://xml.shavlik.com/data/Protect/v9/91/manifest/protect.manifest.cab
Additional Information
Shavlik Protect and VMware vCenter Protect consoles that have no internet connectivity, but that still try to download updates automatically can experience other issues. Shavlik recommends setting consoles with no internet connectivity to Disconnected Mode. To enable Disconnected Mode from the console application:
Version 8.x: Go to Tools and select Run Disconnected.
Version 9.x: Go to Tools and deselect Auto-Update Definitions.
Document Content Update History
11/1/2011 - Updated article for VMware vCenter Protect 8.0.x
07/16/2013 - Updated article for Shavlik Protect 9.0.x
05/21/2014 - Updated article for Shavlik Protect 9.1.x
Products
Shavlik Protect 9.x