Remote Installed Applications

Posted: 12-13-2004, 09:14 PM
I am working on a WMI script that will pull all the installed
applications on a remote workstation. Currently, it uses an inputbox
to retrieve the strcomputer variable. The problem I am running into is
if I use a remote computer, it does not retrieve all of the installed
applications. If I run it locally (either with my computer name or "."
it works fine.


--------- part of the code that concerns the applications------------
Do
StrComputer = inputbox ( "Enter the name of the computer you
wish to query", "Input")
Loop Until strComputer <> ""

Set objWMIService = GetObject("winmgmts://" & strComputer)

Dim REG_SZ

strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll"
oReg.EnumKey HKLM, strKeyPath, arrSubKeys
REG_SZ = 1

For Each subkey In arrSubKeys
On Error Resume Next
strKey = "HKLM\" & strKeyPath & "\" & subkey

'Check to see if DisplayName is blank
If WshShell.RegRead(strKey & "\DisplayName") = "" Then
'If it's blank, Leave it and get the next key.
Else
' If it's not blank, then get the info we need then write
' the divider.

tf.Write Date() & Divider & Time() & Divider & strComputer &
Divider

---------------------------------------------------

I think that is all that is needed for that part. I have admin rights
on the other workstations. Two of the applications that it misses is
Acrobat 6.01 and Acrobat 6.02 Update.

Thanks for any assistance.

Reply With Quote

Responses to "Remote Installed Applications"

 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
HP 960C only prints from some applications Shannon Windows Vista Printers & Scanners 2 02-03-2007 08:55 PM
Vista and 16 bit Applications Iain Hamilton Windows Vista 6 03-08-2006 02:06 PM
Remote Registry Access using VB.NET to enumerate Installed Software Applications Alan King Windows XP WMI 2 11-19-2004 04:14 PM
sharing applications debbie Windows XP Network & Web 0 07-02-2003 12:37 PM
Sharing of data and applications Windows XP Network & Web 1 07-01-2003 07:46 PM