Login to participate
Endpoint Management & Virtualization ArticlesRSS

How to Identify Which RS 6.2 SP2 Hotfixes Have Been Installed

SK's picture

The VBS file (RSCustInvScans.vbs) was created and can be run on all Win32 computers in order to determine if any RS 6.2 SP2 hotfixes have been installed or not. When this file runs, it first determines if a particular scan is required or not, by checking for the existance of certain registry entries or files. If one of these checks returns TRUE, then that scan is run.

The following scans are included in the VBS file:

Server Scan - This scan will only run on Recovery Servers and will create the RS62SP2SvrHFs.nsi file, which when included into a NSE file, will allow the NS to create the AeX_SW_RS_6_2_SP2_Svr_HFs table.

Client Scan - This scan will only run on Recovery Solution Agent resources and will create the RS62SP2CltHFs.nsi file, which when included into a NSE file, will allow the NS to create the AeX_SW_RS_6_2_SP2_Clt_HFs table.

Solution Scan - This scan will only run on Notification Servers which have Recovery Solution installed and will create the RS62SP2SOLHFs.nsi file, which when included into a NSE file, will allow the NS to create the AeX_SW_RS_6_2_SP2_Sol_HFs table.

FSR Admins Scan - This scan will only run on resource that has had the FSR Tools run on it via the Altiris Console and will create the RS62SP2FSRAHFs.nsi file, which when included into a NSE file, will allow the NS to create the AeX_SW_RS_6_2_SP2_FSRA_HFs table.

RetentionSettingsEx Registry Scan - This scan will only run on Recovery Servers that have had Hotfix 1 installed, including its registry DWORD, and will create the RS62SP2RegEXHFs.nsi file, which when included into a NSE file, will allow the NS to create the AeX_SW_RS_6_2_SP2_EX_HFs table.

Special Includes Registry Scan - This scan will only run on Recovery Solution Agent resources that have had Hotfix 5 installed and the SpecialIncludes registry key has been created and will create the RS62SP2RegSIHFs.nsi file, which when included into a NSE file, will allow the NS to create the AeX_SW_RS_6_2_SP2_SI_HFs table.

Implementation:

1. Place the RSCustInvScans.vbs along with the attached AeXInvSolnRS.ini file (WScript.exe is called to run the VBS file) into the ".\Altiris\Notification Server\NSCap\Bin\Win32\X86\Inventory Solution\" directory, so that all Inventory Solution resources can download it.

2. Create a new Program for the "Inventory Agent Package" (this can be access either via an existing Inventory Task or from the "Resource Management > Resources > Defaults > Package" location) and use the following syntax for its command line (Press the "Update Distribution Points" button once the Program has been saved): AeXInvSoln.exe /hidden /s AeXInvSolnRS.ini

3. Clone an existing Inventory Task so that you can modify it to use this new Program.

Once the above three steps have been completed, Package servers and then NSAgent's will download these two files the next time they request a new configuration.

If you wish to test this scan, you can simply place the RSCustInvScans.vbs along with the attached AeXInvSoln.ini file (all agents have been remarked out except for WScript.exe and AeXNSInvCollector.exe) into the ".\Altiris\Notification Server\NSCap\Bin\Win32\X86\" folder, and then perform a UNC connection from a target machine to the "\\NSName\NSCap\Bin\Win32\X86\" share, in order to run the AeXInvSoln.exe file.

Reporting:

The attached "Recovery 6.2 SP2 Hotfix Reports Folder.xml" file can be imported into the NS. It will create a folder called "Recovery 6.2 SP2 Hotfix Reports" which contains eleven reports (File Version or File Name + File Size have been mapped to a Hotfix by the use of the SQL CASE function):

  1. Recovery 6.2 SP2 Agent, FSR Admin, Server and Solution Hotfixes Per Resource

    This report allows you to select a resource to find out some general information about it, and then find out which recovery related hotfixes have been implemented on that resource via six right-click drilldowns.
  2. Recovery 6.2 SP2 FSR Admin Hotfix Level

    This report allows you to select a FSR Admin hotfix in order for you to see which FSR Admin Resources have it installed.
  3. Recovery 6.2 SP2 FSR Admin Resources

    This report displays any resource that has had the FSR Tools run on it, as this action places files in the "%WINDIR%\Downloaded Program Files\" directory, whose hotfix level can be ascertained by the right-click drilldown.
  4. Recovery 6.2 SP2 Server Hotfix Level

    This report allows you to select a Recovery Server hotfix in order for you to see which Recovery Servers have it installed.
  5. Recovery 6.2 SP2 Servers that have at least one Hotfix installed

    This report lists all Recovery Servers that have at least one 6.2 SP2 hotfix installed (Recovery Servers that are totally GA will not be included). Use the right-click drilldown to ascertain the hotfix level.
  6. Recovery 6.2 SP2 Servers with Auto-healing Disabled

    This report displays those 6.2 SP2 Recovery Servers that have Hotfix 1 activated by means of creating the RetentionSettingsEx registry DWORD with a value of 0x20 (32), which disables the auto-healing functionality of Recovery Server.
  7. Recovery 6.2 SP2 Solution Agent Hotfix Level

    This report allows you to select a RS Agent hotfix in order for you to see which RS Agent Resources have it installed.
  8. Recovery 6.2 SP2 Solution Agent's that are using Hotfix 5's functionality

    This report displays all RS Agent resources that have Hotfix 5 installed and have created their SpecialIncludes registry key structure. Use the right-click drilldown to see what drives and file extensions have been configured.
  9. Recovery 6.2 SP2 Solution Agent's that have at least one Hotfix installed

    This report displays all recovery solution agent resources that have at least one 6.2 SP2 hotfix installed (If a resource is still in a total GA state, then it will not be listed here). Hotfix level can be ascertained via the right-click drilldown.
  10. Recovery 6.2 SP2 Solution Hotfix Level

    This report allows you to select a Recovery Solution hotfix in order for you to see which Notification Servers have it installed.
  11. Recovery 6.2 SP2 Solution Notification Server's with at least one Hotfix installed

    This reports lists all Notification Servers that are running Recovery Solution 6.2 SP2 and that have at least one of its hotfixes installed (NS's that only have GA files will not be displayed). To see which hotfix(s) have been installed, use the right-click drilldown.
License: Altiris EULA
By downloading this software, you agree to the terms and conditions in the Altiris End User License Agreement
Support: User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.