Hi All, WMI class Win32_Product gives informartion about the S/W that are installed on the system. However this class does not provide information of S/W product license. Please suggest which WMI class can be used to get S/W product license details. Also I wanted to retrieve details of the application that starts as the system boots up. That is information for the autostart applications. Thanks, Ajay
> WMI class Win32_Product gives informartion about the S/W that are installed > on the system. > However this class does not provide information of S/W product license. > Please suggest which WMI class can be used to get S/W product license details. > I just searched both the WMI and MSI help files and I don't see any references in either to anything like a license property. I'm not sure that there could be a license property. Win32_Product is just a partial wrapper around Windows Installer functionality, which is just a software installation system. WI has methods to include an EULA in an installation, but that's just a text file resource in the MSI database.
Thanks Mayayana for the reply. "mayayana" wrote: > > WMI class Win32_Product gives informartion about the S/W that are > installed > > on the system. > > However this class does not provide information of S/W product license. > > Please suggest which WMI class can be used to get S/W product license > details. > > > I just searched both the WMI and MSI help files > and I don't see any references in either to anything > like a license property. I'm not sure that there could > be a license property. Win32_Product is just a partial > wrapper around Windows Installer functionality, which > is just a software installation system. WI has methods > to include an EULA in an installation, but that's just a > text file resource in the MSI database. > > > >
> Thanks Mayayana for the reply. > You're welcome. I notice that still no one has answered the second part of your question, about startup programs. Again, there's no function that I know of, other than the ability to read and adjust startup settings for services. (And again, it wouldn't be surprising, since WMI is little more than a wrapper that centralizes various other functions, and there's really no basic startup manager for Windows.) If you want to try a non-WMI method you might find it useful to look up "autoruns". That's a free program from Mark Russinovich who used to have a site called Sysinternals.com. He sold out to MS last year and the downloads are now somewhere on the MS website. Autoruns is sort of the ultimate start-up manager. You could use it to at least get a list of locations where you need to check. Unfortunately, that list is fairly long. The process of loading things at startup is remarkably disorganized.
Thank You again. "mayayana" wrote: > > Thanks Mayayana for the reply. > > > You're welcome. I notice that still no one has answered > the second part of your question, about startup > programs. Again, there's no function that I know of, > other than the ability to read and adjust startup settings > for services. (And again, it wouldn't be surprising, > since WMI is little more than a wrapper that centralizes > various other functions, and there's really no basic > startup manager for Windows.) > > If you want to try a non-WMI method you > might find it useful to look up "autoruns". That's a free > program from Mark Russinovich who used to have a > site called Sysinternals.com. He sold out to MS last year > and the downloads are now somewhere on the MS website. > Autoruns is sort of the ultimate start-up manager. You could > use it to at least get a list of locations where you need > to check. Unfortunately, that list is fairly long. The process > of loading things at startup is remarkably disorganized. > > >