|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Group PolicyHow can I detect that a Group Policy Software Installation is correctly
applied on the users computer en make sure it's running the version of the program deployed in the specified msi. Without checking that users computer. (in a company with 50+ users I don't want to check each computer indiviually, but I still want to make sure everybody is running the same version) Bart "Bart Steur" <soln***@xs4all.nl> wrote in message You could run a WMI script against those machines using the WIN32_Product news:%23cW9gMSMFHA.1096@tk2msftngp13.phx.gbl... > How can I detect that a Group Policy Software Installation is correctly > applied on the users computer en make sure it's running the version of the > program deployed in the specified msi. Without checking that users > computer. (in a company with 50+ users I don't want to check each computer > indiviually, but I still want to make sure everybody is running the same > version) > > Bart > object and collect the result centrally to be inspected. I'm not at all fluent in WMI scripting, but a very basic script looks like this: Dim strComputer Dim objWMIService Dim colItems strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_Product",,48) For Each objItem in colItems WScript.Echo "Caption: " & objItem.Caption WScript.Echo "Description: " & objItem.Description WScript.Echo "IdentifyingNumber: " & objItem.IdentifyingNumber WScript.Echo "InstallDate: " & objItem.InstallDate WScript.Echo "InstallDate2: " & objItem.InstallDate2 WScript.Echo "InstallLocation: " & objItem.InstallLocation WScript.Echo "InstallState: " & objItem.InstallState WScript.Echo "Name: " & objItem.Name WScript.Echo "PackageCache: " & objItem.PackageCache WScript.Echo "SKUNumber: " & objItem.SKUNumber WScript.Echo "Vendor: " & objItem.Vendor WScript.Echo "Version: " & objItem.Version Next producing (as part of an example) the following output:: Caption: Microsoft AntiSpyware Description: Microsoft AntiSpyware IdentifyingNumber: {536F7C74-844B-4683-B0C5-EA39E19A6FE3} InstallDate: 20050223 InstallDate2: 20050223000000.000000-000 InstallLocation: C:\Program Files\Microsoft AntiSpyware\ InstallState: 5 Name: Microsoft AntiSpyware PackageCache: C:\WINDOWS\Installer\1c7eea4.msi SKUNumber: Vendor: Microsoft Corporation Version: 1.0 OK. The script needs work and maybe someone else here can help out with this. hth george
control panel applets access denied
Cannot Revert Boot Drive from Dynamic Disk to Basic Disk Blue screen exception when booting?? Large harddisk support password NT access CPU Usage Rogue/orphan user account...cannot login with it nor delete it reg678.dll Intermittent slowness using windows 2000 pro |
|||||||||||||||||||||||