Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Distribute Application based on value of registry

Status
Not open for further replies.

Kangwnl

Technical User
Nov 8, 2005
1
0
0
EU

Hello

I am new to SMS and am struggling to do the following:

I have an application which I want to distribute to all machines where a
specific registry key is equal to a certain value e.g.
HKLM\software\ABC\Code=Bulgaria

Do I have to modify the sms_def.mof file to collect information about this
registry key, wait for an inventory process to run on machines and then make
a collection. Then advertise the application against this collection?

If so, this seems a horribly longwinded process. Is there a better way to do
this?

Kanga
 
you can use the program "REG.EXE" (find it on the net or mail me).

we have a batch-file which look like this:

reg query "HKEY_LOCAL_MACHINE\Software\PsipentaSoftwareSystems\PSIPENTA\VCOM6.0.3 tavi60_D"
if not errorlevel 1 goto exist

:noexist
ping -n 1 %computername% >> \\rbsv06\SMSSOURCE\DB_AVI_NOTOK.log
exit

:exist
ping -n 1 %computername% >> \\rbsv06\SMSSOURCE\DB_AVI_OK.log
exit

ok?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top