Query based on File Modified date
search cancel

Query based on File Modified date

book

Article ID: 112346

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager

Issue/Introduction

The software on some of the computers in my environment needs to be updated.  I can tell by the modified date of some of the files if the software needs to be updated.




 

I would like to scan all machines and query against the file version of a hardware driver. The file is amdkmpfd.sys. I have a script to update the driver, but would like to only run the script if the existing file version is older than a certain date. 

Environment

Windows

Resolution

Create a new software signature for amdkmpfd.sys specifying the file version to be older than the required date:
After the new signature is run and collected on all machines it will list only the machines with the older file that needs updating.
Create an SD package for the updated driver script. 
A computer group can then be made based on a software query for computers having that software signature installed and not having the updated driver installed.
Once the query group is created an SD policy job can be made deploying the updated driver package to that group.
See below for more details:

Create a new signature definition for the outdated driver:

<Please see attached file for image>

User-added image

<Please see attached file for image>

User-added image

<Please see attached file for image>

User-added image

Browse to the outdated amdkmpfd.sys file and specify the date range:

<Please see attached file for image>

User-added image

Create a new group based on a query for the signature AND NOT having the updated Driver package installed:

<Please see attached file for image>

User-added image

<Please see attached file for image>

User-added image

<Please see attached file for image>

User-added image

<Please see attached file for image>

User-added image

<Please see attached file for image>

User-added image

Create a Software Policy to push the Updated Driver package to the Query Group:

<Please see attached file for image>

User-added image

<Please see attached file for image>

User-added image

<Please see attached file for image>

User-added image

<Please see attached file for image>

User-added image

<Please see attached file for image>

User-added image
 

Additional Information

Please reference the following technical documents for creating signatures and software policies:

KB000011305 
https://comm.support.ca.com/kb/how-do-you-create-a-custom-signatures-to-find-software/kb000011305

KB000015682 
https://comm.support.ca.com/kb/how-to-create-a-software-based-policy-to-deploy-the-am-and-rc-agent-plugins-to-machines-that-have-already-been-pushed-the-sd-agent-and-then-to-reboot-the-machines/kb000015682


 

Attachments

1558696615724000112346_sktwi1f5rjvs16imm.jpeg get_app
1558696613068000112346_sktwi1f5rjvs16iml.jpeg get_app
1558696611228000112346_sktwi1f5rjvs16imk.jpeg get_app
1558696609451000112346_sktwi1f5rjvs16imj.jpeg get_app
1558696607532000112346_sktwi1f5rjvs16imi.jpeg get_app
1558696605556000112346_sktwi1f5rjvs16imh.jpeg get_app
1558696603768000112346_sktwi1f5rjvs16img.jpeg get_app
1558696602034000112346_sktwi1f5rjvs16imf.jpeg get_app
1558696599796000112346_sktwi1f5rjvs16ime.jpeg get_app
1558696597923000112346_sktwi1f5rjvs16imd.jpeg get_app
1558696596114000112346_sktwi1f5rjvs16imc.jpeg get_app
1558696594269000112346_sktwi1f5rjvs16imb.jpeg get_app
1558696584631000112346_sktwi1f5rjvs16ima.jpeg get_app
1558696581705000112346_sktwi1f5rjvs16im9.jpeg get_app