This custom inventory is in NS7 format. It retrieves Add/Remove Programs data from both the 32 and 64-bit Windows registry locations. It does NOT filter out any results whatsoever. Optionally, it has commented vbscript statements to display the results on-screen in case a user wants to view the results prior to loading them to the NS database. (In this case, please comment out the line that reads: "nse.SendQueued".) This script requires the creation of a custom inventory data class on the NS server, as explained elsewhere on Connect.
I am looking for software changes report in Altirsi NS 7.1 SP2. Please help me on it.....
I am looking for a script to retieve the MS office product keys from Office XP/2003/2007/2010/2013 and Windows XP/2003/2008/2008 R2/VISTA/7/8. Please help me on it..........
Hi friends,
i am looking for a script to fetch the MS office product keys from Office XP/2003/2007/2010 i created one VBscript and run it but i can get only office 2007 cd keys not others can you please help me on it..........
Hi Doug and thanks for sharing this app - it's just what I was looking for (even though I had to script another app to filter the results, you still saved me a lot of time)!
Hi Kada,
I'm really interested by the script you are using to copy all the registry you want to gather to wow6432node.
I try many vbs script (with regread and regwrite) with the "enable launch 64 bits" option enabled . But the agent seems to still using the wrong version of cscript.
Thanks
JC
Yeah this would be an option however you then have a wscript.exe process running in the background using up some resources... I was looking for something similar like it is possible in the Inventory Solution. There you can set to "Throttle inventory reporting evenly over a period of and then choose a time frame: Maybe I can see if I could "reuse" the inventory policy...
Const HKEY_LOCAL_MACHINE = &H80000002 sPath = ReadRegStr (HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\ASP.NET\2.0.50727.0", "Path", 64) WScript.Echo sPath ' Reads a REG_SZ value from the local computer's registry using WMI. ' Parameters: ' RootKey - The registry hive (see http://msdn.microsoft.com/en-us/library/aa390788(VS.85).aspx for a list of possible values). ' Key - The key that contains the desired value. ' Value - The value that you want to get. ' RegType - The registry bitness: 32 or 64. ' Function ReadRegStr (RootKey, Key, Value, RegType) Dim oCtx, oLocator, oReg, oInParams, oOutParams Set oCtx = CreateObject("WbemScripting.SWbemNamedValueSet") oCtx.Add "__ProviderArchitecture", RegType Set oLocator = CreateObject("Wbemscripting.SWbemLocator") Set oReg = oLocator.ConnectServer("", "root\default", "", "", , , , oCtx).Get("StdRegProv") Set oInParams = oReg.Methods_("GetStringValue").InParameters oInParams.hDefKey = RootKey oInParams.sSubKeyName = Key oInParams.sValueName = Value Set oOutParams = oReg.ExecMethod_("GetStringValue", oInParams, , oCtx) ReadRegStr = oOutParams.sValue End Function
I have had this problem and never figured out a simple workaround. When you run a 64 bit script you cannot instantiate a 32-bit object or at least the 32 bit Altiris object. There is probably a way to write what you need to file, launch another 32 bit vbscript to parse the file, call the object, and submit the inventory but that was a last resort for me and I never made it that far in testing. You might be able to make it work if you hard code the path to the DLL but then I think you have to make the function call differently as well.