Software Metering and Add Remove Programs Data

So, I pull a lot of data in from SCCM into our helpdesk system (Service-Now). I am trying to pull in the metering data to link it to the software installations so that from our helpdesk system, our Software Asset Managers can easily see a computer, the software
on it, the usage data, who uses it, and this all ties into our licensing information which is all stored in Service-Now. This would give our SAMs one-stop shopping for all they need.
The problem I'm seeing though is that it doesn't look like the metering data exactly or easily matches back to the data in the add_remove_programs_data table. Below is the query which I'm using to pull in all of the metering usage data:
select sug.ResourceID, sug.StartTimeLocal StartTimeLocal, sug.EndTimeLocal, mf.ProductName, sug.ProductVersion, sug.UserName, sug.CompanyName from v_gs_softwareusagedata sug, v_MeteredFiles mf where mf.MeteredFileID = sug.FileID
The problem with this, is it seems to be dependent on the name of the metering rule. The metering rule names are all over the place, and this is making it to where about 90% of the metering data isn't matching with installations. Is there some kind of system-generated
identifier between the metering usage records and the add_remove_programs data?
If not, then this might be a futile project, as I don't like to rely on the people who create the metering rules to make sure that all of the rules are named exactly the same as the display name from the add_remove_programs_data.
Thanks.
Thanks

There is no direct link between ARP data and SWM data. On top of that even if you did make your SWM rules name to match the title of an ARP software. This would be invalid as, many application share the same exe name. Adobe is the biggest example. thereby
give you wrong numbers.
Now what you might want to look at is 3rd party software that can do this.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ

Similar Messages

  • SCCM 2012 Report for Software registered in Add/Remove programs

    Hi
    Am looking to create an SCCM 2012 Report for Software registered in Add/Remove programs on windows 7 machines but dont have enough experience with report builder to do this.
    Was hoping someone could help.

    When i use the url i still only see the following categories
    Administrative Security
    Asset Intelligence
    Client Push
    Client Status
    Compliance and Settings ManagementHave looked through them all and that one is not there
    the only software ones are the following
    Report Software 01A - Summary of installed software in a specific collectionThis report provides a summary of installed software ordered by the number of instances found from inventory.
     Open Menu
    Report Software 02A - Product families for a specific collectionThis report lists the product families and the count of software in the family for a specific collection.
     Open Menu
    Report Software 02B - Product categories for a specific product familyThis report lists the product categories in a specific product family and the count of software within the category. This report is linked to Software 02C - Software in a specific product
    family and category.
     Open Menu
    Report Software 02C - Software in a specific product family and categoryThis report lists all software that is in the specified product family and category. This report is linked to Software 06B - Software by product name.
     Open Menu
    Report Software 02D - Computers with specific software installedThis report lists all computers with specific software installed. This report is linked to Software 02E - Installed software on a specific computer .
     Open Menu
    Report Software 02E - Installed software on a specific computerThis report lists all software installed on a specific computer.
     Open Menu
    Report Software 03A - Uncategorized softwareThis report lists the software that is either categorized as unknown or has no categorization.
     Open Menu
    Report Software 04A - Software configured to automatically run on computersDisplays a list of software configured to automatically run on computers.
     Open Menu
    Report Software 04B - Computers with specific software configured to automatically runDisplays all computers with specific software configured to automatically run.
     Open Menu
    Report Software 04C - Software configured to automatically run on a specific computerDisplays installed software configured to automatically run on a specific computer.
     Open Menu
    Report Software 05A - Browser Helper ObjectsThis report displays the Browser Helper Objects installed on computers in a specific collection.
     Open Menu
    Report Software 05B - Computers with a specific Browser Helper ObjectDisplays all of the computers with a specific Browser Helper Object.
     Open Menu
    Report Software 05C - Browser Helper Objects on a specific computerDisplays all Browser Helper Objects on the specific computer.
     Open Menu
    Report Software 06A - Search for installed softwareThis report provides a summary of installed software ordered by the number of instances based on search criteria for the product name, publisher, or version.
     Open Menu
    Report Software 06B - Software by product nameThis report provides a summary of installed software ordered by the number of instances based on selected Product Name.
     Open Menu
    Report Software 07A - Recently used executable programs by the count of computersThis report displays executable programs that have been used recently with a count of computers on which they have been used. The Software Metering client must be enabled for this
    site to view this report.
     Open Menu
    Report Software 07B - Computers that recently used a specified executable programThis report displays the computers on which a specified executable program has recently been used when you enable the software metering client setting.
     Open Menu
    Report Software 07C - Recently used executable programs on a specified computerThis report displays executables that have been used recently on a specified computer when you enable the software metering client setting.
     Open Menu
    Report Software 08A - Recently used executable programs by the count of usersThis report displays executable programs that have been used recently with a count of users that have most recently used them when you enable the software metering client setting.
     Open Menu
    Report Software 08B - Users that recently used a specified executable programThis report displays the users that have most recently used a specified executable program when you enable the software metering client setting.
     Open Menu
    Report Software 08C - Recently used executable programs by a specified userThis report displays executable programs that have been used recently by a specified user when you enable the software metering client setting.
     Open Menu
    Report Software 09A - Infrequently used softwareThis report displays software titles that have not been used during a specified period of time. You can specify a value that will represent the number of days that have elapsed since the last use (e.g. if you
    enter 90 days, you will see software that was not used in the past 90 days or more). You can also leave the Days not used field empty to see all software titles that were never used.
     Open Menu
    Report Software 09B - Computers with infrequently used software installedThis report displays computers which have software installed that has not been used for a specified period of time. The specified period of time is based on the value specified in the
    'Software 09A - Infrequently used software' report.
     Open Menu
    Report Software 10A - Software titles with specific multiple custom labels definedThis report allows you to view software titles based on matching of all selected custom label criteria. Up to three custom labels can be selected to refine a software title search.
     Open Menu
    Report Software 10B - Computers with a specific custom-labeled software title installedThis report shows all computers in this collection, that have the specified custom-labeled software title installed.
     Open Menu
    Report Software 11A - Software titles with a specific custom label definedThis report allows you to view software titles based on matching of at least one of the selected custom label criteria.
     Open Menu
    Report Software 12A - Software titles without a custom labelThis report displays all software titles that do not have a custom label defined.
     Open Menu
    Report Software 14A - Search for software identification tag enabled softwareThis report provides the count of installed software with a software identification tag enabled.
     Open Menu
    Report Software 14B - Computers with specific software identification tag enabled software installedThis report lists all computers that have installed software with a specific software identification tag enabled.
     Open Menu
    Report Software 14C - Installed software identification tag enabled software on a specific computerThis report lists all installed software with a specific software identification tag enabled on a specific computer.
     Open Menu

  • Report- Software registered in Add Remove Programs on a specific computer report showing uninstalled / removed/ upgraded applications

    I am facing issue with report "Software registered in Add Remove Programs on a specific computer"
    Almost all systems in my environment upgraded from MS Office 2007 to MS Office 2013 long back but whenever I pull report from SCCM 2012 r2 report name
    "Software registered in Add Remove Programs on a specific computer"
    is still showing MS office 2007 components in report same with other applications like Adobe Acrobat etc...
    I crossed checked on client system & didn't find MS Office 2007 & old adobe acrobat version in Add remove programme....
    SCCM Administrator

    Yes I manually triggered HW Inventory & SW Inventory
    cycle via the Configuration Manager Control Panel Applet.....
    SCCM Administrator

  • Asset intelligence: inventoried software, based on add/remove programs?

    Hi,
    Please clarify where asset intelligence, inventoried software gets its data: is it reading add/remove programs
    (software metering is checking .exe but inventoried software ...)?
    J.
    Jan Hoedt

    http://msdn.microsoft.com/en-us/library/cc144824.aspx (This article still applies to CM12).
    Torsten Meringer | http://www.mssccmfaq.de

  • Windows 2000 prof. I noticed that I have both versions 3.6 and 6.02 installed when i checked the this in the add/remove program in the control panel. Can i remove the v3.6?

    I have windows 2000 professional operating system version 5.0.2195 service pack 4 build 2195. I usually logged on as "user1". When i clicked on firefox it will try to install update but will return a message that update cannot be installed "please make sure that there are no other copies of firefox running on your computer". But there are no other copies of firefox running.
    I checked the add/remove program in the control panel and found out that I have ver3.6.10 and ver6.0.2 installed.
    Can i remove the ver3.6.10 using the uninstall button in the add/remove program?
    Another problem is that I cannot logged in as "administrator".
    When i logged in as "administrator" the computer just shut down and restart by itself while loading my desktop icons.

    The normal method is simply
    * Help -> Check for Updates
    on Firefox (Window XP)
    * see also [[Updating Firefox]]
    You should be able to delete Firefox and remove it, from your Windows XP control panel although that may not be what you intend.
    If you have doubts about compatibility stay with Firefox3.6 for now.
    Some software extensions will currently have problems with firefox 4 (and that iircc may include some versions of silverlight )
    Do NOT use any delete settings (or whatever it is worded) that will loose all your passwords and bookmarks.
    BTW the safe mode in relation to Firefox is a totally different concept from Windows safe mode, but you probably have no need to use either of them.
    * see also [[Safe Mode]]
    On an ordinary upgrade Firefox will preserve your profile details which include bookmarks any passwords.
    You should have no problems in installing Firefox 4. You should be able to install firefox 4, and retain any bookmarks etc that were used in firefox 3.6, but sometimes extensions may be incompatible.

  • Firefox is not available in C:\Program Files and in Add/Remove Programs

    I am trying to run an Oracle application which is currently installed in one of our user's PCs, but when we try to generate a report it would fail to do so as Mozilla Firefox is installed on the system and I believe it is set as the default browser. I tried to uninstall it as it is not required anymore, but to my shock I didn't find it in Add\Remove Programs list and also not in C:\Program Files. I tried installed Windows Clean-Up utility, but the application doesn't exist there either. I want to remove Mozilla completely, can someone please help?!! By the way, I also deleted the Mozilla files under the Application Data of all user accounts on that machine; still no luck.

    I believe that it's a good idea to leave them be JUST in case they installed a dependency that a new application is using.
    This isn't exactly likely but it could happen.
    When I'm uninstalling applications I use a tool called
    Revo Uninstaller  which finds files and registry entries that applications might leave behind.
    Will your machine explode and Windows stop booting? Probably not.
    Are these left-over files destroying your Hard Drive capacity? Again, Probably not.
    Basically, I can't think of much of a reason to delete them so I think it's decent to leave them just in case, but again it probably wont do any damage. Running an third-party application like
    CCleaner is also good practice and could likely delete some of the unwanted/unneeded files and crud like that.
    Also, most application settings are usually present in the C:\Users\UserAccount\Application Data\ and not in the Program Files or Program Data.
    Goodluck bud,
    Any questions or concerns feel free to let me know.
    -Bryan
    Microsoft MCSA, VMWare VCAP-DTD, Cisco CCNP, CompTIA A+, Security+, Network+, Apple ACMT, SPR

  • Want to delete then reload firefox, but in add/remove programs, i click remove and nothing happens.

    Firefox will not work. I want to delete it, then reload it anew. But when I got to add/remove programs and click remove, nothing happens.

    I would recommend to download the driver appropriate for your system from the Canon webiste or, after installing it, to run software update and it will detect it for you.
    If you have the last driver appropriate for your system, you may wish to reset the printing system. To do this, go to Sys prefs/print and fax and, upon clicking minus button, also press Option/alt key. You will be asked to confirm, do it. Then, add the printer by pressing plus button, it should work now.
    But, before doing this, download the last good driver, CDs usually contain outdated drivers.

  • Equivalent to "Add/Remove Programs" aka "Programs and Features" Controls???

    WHEN will Apple finally get around to adding an equivalent thing to Windows' "Add/Remove Programs" (XP) aka "Programs and Features" (Vista) Control Panel???
    I am looking to uninstall some software from my computer. But only God knows where the installer has stashed files all over my drive! I don't want to leave behind a single preferences file or extension.
    Is there some easy way in Mac to do this? In Windows you just go to "Add/Remove Program" and you can uninstall every last shred or trace of that software. But in the Mac... there's about four or five major places to look, but how can you know if it installed something in a hidden directory in the Unix directories somewhere??

    drdocument, I respectfully, completely disagree with you.
    The average Mac user has no clue as to what the Library folder is for. Nor would they be able to sort through it all to find the five locations where the tons of crap might be stored.
    Lets take several examples. Here's some programs that I have installed that are quite typical of Mac users:
    Garage Band
    iTunes
    Adobe CS3
    Microsoft Office
    NONE of these programs can be deleted easily. Garbage Band stores its garbage in numerous unintuitive places:
    /Users/me/Music/Garageband
    /Library/Audio/Plug-ins
    /Library/Application Support/Garage Band/
    /Users/me/Library/Preferences/
    Further, it's not always clear whether the files you are deleting are used by just one application, or multiple applications from that same company (or even other companies). I often feel unsure if I'm deleting something from /Library/Audio/Plug-ins or /Library/Application Support/Adobe because... is it used only by Photoshop? What if I just wanted to uninstall InDesign and I no longer have the original install disk because, lets say, I sold it?
    It should not fall upon the user to play sleuth and hunt down the myriad places that these apps store things on the drive!!!
    There should be an EASY Control Panel in System Preferences that lets you uninstall any program off your drive. I seriously don't think that this would hamper application development or make the system run slower or be kludgy. Besides, when has Apple ever taken the path of making things harder on users because they were afraid by making it easier, it would slow down the computer???
    If anything the opposite has always been true.
    Even a shareware app that just has one application file and no other files on the drive should be able to be uninstalled with confidence by a control panel. Since, how do you KNOW it didn't put another file somewhere, even a preferences file? God only knows how many preferences files are on my drive that I don't need because they never got erased when I uninstalled the app. It would take me days to comb through that mess, especially since the arcane and unintuitive preference file naming scheme used by OS X does not use plain english but rather uses ridiculous un-Mac-like names like "com.unsanity.hoseyoursystem.preference"... whatever happened to "Microsoft Word Preferences" and "Adobe Photoshop Preferences" -- nice Mac-like filenames?!?!??!
    I'm tired of the PC-ization of the Mac, the further and further making it more complicated, having apps store more crap in more different places. Having multiple Library folders is just a nightmare from an ease-of-use standpoint, though I know it's necessary for a multi-user OS. But there ought to be a way to have a "single-user" mode that would eliminate the Users directory all together and just store everything at the root level of the HD, rather than having all my documents buried 10 levels deep into the drive.
    Anyway the point is you are wrong. The way it is set up makes it harder on users -- even seasoned users like me -- when we want to cleanly uninstall an application with confidence. It means tons of extra time sifting through the labrynthine unix crap. I hate it! Where has "user friendly" gone??
    Besides I would never trust a third-party shareware program to uninstall things. How would i know that it knew what to do? Plus it adds extra expense to the OS, for a feature that has been standard on Windows for what seems like 10 years!
    When will we finally get this feature? 2020?

  • I have installed Adobe Premiere Pro cc on my laptop, but I cant find a way to start the program. No Icon, and it is not showing up in the start meny. It is showing up in add/remove programs, but nt anywhere else.

    I have installed Adobe Premiere Pro cc on my laptop, but I cant find a way to start the program. No Icon, and it is not showing up in the start meny. It is showing up in add/remove programs, but nt anywhere else.

    If you are using a Mac, simply hit Command-Spacebar to bring up Spotlight Search.  Begin typing the name of the application and when you see what you are looking for, press enter.  You should get a hit by the second or third letter you type.  Great way to launch apps on computers that you are not familiar with.
    Windows 7 and 8 should have something similar.  I think you simply press the Windows key and begin typing.  Press enter when you see a match.
    Both Mac and Windows search tools can be customized to search for applications, files, emails and so forth.  For Windows, look for Taskbar and Start Menu Properties.  For Mac, go to Preferences Spotlight.  Turn off items you know you won't need to speed up searches.
    Make Windows 7 Start Menu Search Find Your Applications Faster

  • How do I remove an advertising program by the name of SmartSuggestor? I cant find it in the ad ons and I cant find it in my add remove programs on my pc.

    I keep getting these stupid ads that are apparently from smartsuggestor but I cant find the program anywhere on my pc then I contacted the company and they tell me that it is a firefox issue yet i cant find it in the firefox settings either. I went into the Smart Suggestor site and the name of the extension/program came up as "No extension Found". I cant find anything that even resembles anything to do with the program at all not in the add remove program through control panel or through the extension plug ins area in firefox and was wondering if anyone else has had the same problem.
    I did not download this crap then all of a sudden I am plagued with pop up adds and other sorts of advertising all stemming from this bloody Smart Suggestor. I have got myself a good pc cleaner along with a few Malware removers and also upgraded my security programming but nothing will either find nor rid my pc of this problem. I have downloaded and reinstalled a fresh copy of Firefox and I am still having the same issue, has anyone else gone through this and how can I get rid of this problem?

    Do a malware check with several malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.<br>
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Firefox crashed 2 days ago and will now not open, and won't uninstall via Control panel add/remove programs; the files are still there on Windows Explorer. IE8 still works.

    My PC is a fujitsuscaleo 600, last year I had a new hard drive and some extra RAM fitted and since then has been good - have used, and updated Firefox for over 6 years. in August I installed TrendMicro antivirus and for different reasons this has been uninstalled/re-installed twice. AFter letting it expire, I re-installed ParetoLogic PC health advisor (I think in August too)and allowed it to try updating some graphics drivers following a scan - this was unsuccessful so I marked them to ignore (something about my graphics card not supporting the drivers downoladed). I can see the mozilla files on WIndow Explorer but if I click 'remove' (control panel, add/remove programs) I get a very short 'hourglass' then nothing; if I click Firefox icon I get the same. Help!

    See:
    * https://support.mozilla.com/en-US/kb/Firefox%20will%20not%20start

  • TS1567 I have tried manually removing itunes and reinstalling. i have gone through the sevices anf tried turning on the AMDS. i have tried turning off the firewall. i have tried restoring my device. i have tried "fixing" the AMDS in the add/remove program

    I have tried manually removing itunes and reinstalling. i have gone through the sevices anf tried turning on the AMDS. i have tried turning off the firewall. i have tried restoring my device. i have tried "fixing" the AMDS in the add/remove programs. I have tried using a different device. i have tried using a different cable. I have tried all of the steps given in the link supplied by Apple. None of these things have fixed my problem. I still have the Error Message "The Apple Mobile Device Service started then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs or Alerts service. I am using Windows XP. I am leaning towards a last resort which would be to wipe my hard drive and start from scratch. Does anyone have a solution?

    chicx wrote:
    This is the third time of writing this on your Apple Support Communities!
    Not with your current user id.
    Far too much uneccesary information in your post, which only confuses things, a vast amount!
    Let's start with iTunes.
    Have you updated iTunes to 11.1.5, because the previous version did appear to have an issue about seeing iPods?
    With iTunes 11.1.5 installed, look in Edit/Preferences/Devices, (or use the ALT key, followed by the E key and then the F key) and make sure that the box named Prevent iPods, iPhones and iPads from syncing automatically does not have a tick in the box.
    Once you have doen those two things, check to see if the iPod is seen by iTunes.
    chicx wrote:
    By the way, what does IOS mean? (I thought IO stood for operating system, but am flummoxed by the S on the end.
    Really?
    OS stands for Operating System. (In computer speak, IO means Input/Output.)
    iOS originally stood for iPhone Operating System, but it now refers to the iPod Touch and iPhone. The iPod Classic, which you have listed in your profile as your iPod, does not use iOS.
    I assume that you have been listening to the Podcast in your iTunes on the computer as you cannot transfer it to your iPod. It's what I'd do.

  • I have gone to Control Panel to ADD/REMOVE PROGRAMS and clicked REMOVE Mozilla Firefox 3.6.13 but the program will not remove.

    The Mozilla Firefox 3.6.13 version is refusing to be removed from my laptop even after l have opened the CONTROL PANEL and clicked on ADD/REMOVE PROGRAMS and then clicked on REMOVE the hightlighted firefox program.
    I have just installed the Mozilla Firefox 4.0 and when l try to uninstall or remove this one the same way as l do for Firefox 3.6.13, l have no problem with removing Firefox 4.0.

    The following link shows how to manually remove Firefox if the uninstaller fails - http://kb.mozillazine.org/Uninstalling_Firefox
    Are you sure you still have Firefox 3.6, by default Firefox 4 will replace previous versions of Firefox. Some time the add/remove programs option in the control panel will list programs that no longer exist.

  • Trying to remove the ultimas games toolbar and can't find reference to it in the add/remove programs in the control panel.

    A toolbar "ultimate games" has appeared on firefox; I can't find any reference to it in the control panel "add/remove programs" list. How can I get rid of it?

    I followed the instructions but when I got to highlighting the ultimate games extension, there was no removal button, only an "enable" button. I really want to remove it altogether. So what can I do?

  • Add/Remove Programs - export to text file?

    Hello,
    I am wondering if it is possible to export a list of everything in add/remove programs to a text file for inventory purposes.
    I have not found any easy method to do this short of copying reg files or installer 3rd party software.  Since the idea is to save time neither of those are viable solutions.
    Does anyone have any ideas?
    -Justin

    You could try this vbs script that lists installed programs and add info to a text file.
    Michael Petersen
    Option Explicit  
    Dim sTitle  
    sTitle = "InstalledPrograms.vbs by Bill James" 
    Dim StrComputer  
    strComputer = InputBox("Enter I.P. or name of computer to check for " & _  
                           "installed software (leave blank to check " & _  
                           "local system)." & vbcrlf & vbcrlf & "Remote " & _  
                           "checking only from NT type OS to NT type OS " & _  
                           "with same Admin level UID & PW", sTitle)  
    If IsEmpty(strComputer) Then WScript.Quit  
    strComputer = Trim(strComputer)  
    If strComputer = "" Then strComputer = "." 
    'Wscript.Echo GetAddRemove(strComputer)  
    Dim sCompName : sCompName = GetProbedID(StrComputer)  
    Dim sFileName  
    sFileName = sCompName & "_" & GetDTFileName() & "_Software.txt" 
    Dim s : s = GetAddRemove(strComputer)  
    If WriteFile(s, sFileName) Then 
      'optional prompt for display  
      If MsgBox("Finished processing.  Results saved to " & sFileName & _  
                vbcrlf & vbcrlf & "Do you want to view the results now?", _  
                4 + 32, sTitle) = 6 Then 
        WScript.CreateObject("WScript.Shell").Run sFileName, 9  
      End If 
    End If 
    Function GetAddRemove(sComp)  
      'Function credit to Torgeir Bakken  
      Dim cnt, oReg, sBaseKey, iRC, aSubKeys  
      Const HKLM = &H80000002 'HKEY_LOCAL_MACHINE  
      Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _  
                  sComp & "/root/default:StdRegProv")  
      sBaseKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" 
      iRC = oReg.EnumKey(HKLM, sBaseKey, aSubKeys)  
      Dim sKey, sValue, sTmp, sVersion, sDateValue, sYr, sMth, sDay  
      For Each sKey In aSubKeys  
        iRC = oReg.GetStringValue(HKLM, sBaseKey & sKey, "DisplayName", sValue)  
        If iRC <> 0 Then 
          oReg.GetStringValue HKLM, sBaseKey & sKey, "QuietDisplayName", sValue  
        End If 
        If sValue <> "" Then 
          iRC = oReg.GetStringValue(HKLM, sBaseKey & sKey, _  
                                    "DisplayVersion", sVersion)  
          If sVersion <> "" Then 
            sValue = sValue & vbTab & "Ver: " & sVersion  
          Else 
            sValue = sValue & vbTab   
          End If 
          iRC = oReg.GetStringValue(HKLM, sBaseKey & sKey, _  
                                    "InstallDate", sDateValue)  
          If sDateValue <> "" Then 
            sYr =  Left(sDateValue, 4)  
            sMth = Mid(sDateValue, 5, 2)  
            sDay = Right(sDateValue, 2)  
            'some Registry entries have improper date format  
            On Error Resume Next   
            sDateValue = DateSerial(sYr, sMth, sDay)  
            On Error GoTo 0  
            If sdateValue <> "" Then 
              sValue = sValue & vbTab & "Installed: " & sDateValue  
            End If 
          End If 
          sTmp = sTmp & sValue & vbcrlf  
        cnt = cnt + 1  
        End If 
      Next 
      sTmp = BubbleSort(sTmp)  
      GetAddRemove = "INSTALLED SOFTWARE (" & cnt & ") - " & sCompName & _  
                     " - " & Now() & vbcrlf & vbcrlf & sTmp   
    End Function 
    Function BubbleSort(sTmp)  
      'cheapo bubble sort  
      Dim aTmp, i, j, temp  
      aTmp = Split(sTmp, vbcrlf)    
      For i = UBound(aTmp) - 1 To 0 Step -1  
        For j = 0 to i - 1  
          If LCase(aTmp(j)) > LCase(aTmp(j+1)) Then 
            temp = aTmp(j + 1)  
            aTmp(j + 1) = aTmp(j)  
            aTmp(j) = temp  
          End if  
        Next 
      Next 
      BubbleSort = Join(aTmp, vbcrlf)  
    End Function 
    Function GetProbedID(sComp)  
      Dim objWMIService, colItems, objItem  
      Set objWMIService = GetObject("winmgmts:\\" & sComp & "\root\cimv2")  
      Set colItems = objWMIService.ExecQuery("Select SystemName from " & _  
                                             "Win32_NetworkAdapter",,48)  
      For Each objItem in colItems  
        GetProbedID = objItem.SystemName  
      Next 
    End Function 
    Function GetDTFileName()  
      dim sNow, sMth, sDay, sYr, sHr, sMin, sSec  
      sNow = Now  
      sMth = Right("0" & Month(sNow), 2)  
      sDay = Right("0" & Day(sNow), 2)  
      sYr = Right("00" & Year(sNow), 4)  
      sHr = Right("0" & Hour(sNow), 2)  
      sMin = Right("0" & Minute(sNow), 2)  
      sSec = Right("0" & Second(sNow), 2)  
      GetDTFileName = sMth & sDay & sYr & "_" & sHr & sMin & sSec  
    End Function 
    Function WriteFile(sData, sFileName)  
      Dim fso, OutFile, bWrite  
      bWrite = True 
      Set fso = CreateObject("Scripting.FileSystemObject")  
      On Error Resume Next 
      Set OutFile = fso.OpenTextFile(sFileName, 2, True)  
      'Possibly need a prompt to close the file and one recursion attempt.  
      If Err = 70 Then 
        Wscript.Echo "Could not write to file " & sFileName & ", results " & _  
                     "not saved." & vbcrlf & vbcrlf & "This is probably " & _  
                     "because the file is already open." 
        bWrite = False 
      ElseIf Err Then 
        WScript.Echo err & vbcrlf & err.description  
        bWrite = False 
      End If 
      On Error GoTo 0  
      If bWrite Then 
        OutFile.WriteLine(sData)  
        OutFile.Close  
      End If 
      Set fso = Nothing 
      Set OutFile = Nothing 
      WriteFile = bWrite  
    End Function 
    Deploy deploy deploy

Maybe you are looking for

  • Can't Open Project After Quitting iMovie 7.1.4

    Hello all... I was just creating my first iMovie project and had it just about where I wanted it. Then I quit iMovie, and restarted it, and the project was gone. The events were still there though. I didn't mess with any files in the iMovie Events or

  • How to link a radio button selection to a submit destination ?

    Hi, I am working on a JSP page. Depending on the check from a radio button on a form, the form will be submitted to a different destination. Does anyone know how to do that? Any code samples? Thanks! wyp

  • Mixed costing over plants

    Hallo, I want to use mixed costing over plants. The same material is produced in plant 200 and in plant 210. Both plants are part is the same company. For US-GAAP reasons those materials have to have the same standard price for valuation of the stock

  • Purchased update to Flesh Builder 4.5

    Got the email Thank you for registering. We invite you to update your member profile so that you can receive the latest and greatest information on Flash Builder from Adobe. You are also eligible to receive one of these benefits: 30 days of complimen

  • How to increse max limit 100 for an assignment block

    Hi, In the accounts overview, we have an assignment block for service contracts. A particular BP has more than 100 contracts. but this assignment block displays only 100 contracts. Need to increase this limit. Kindly suggest a solution. Let me know i