Jaime Campos
asked on
GPO WMI Filtering
Hello - I am looking for a script to use within WMI Filtering. The issue is that I have two MSI to deploy from a GPO, however one is a x86 and the other is a x64 version for Office. I need to find out how I can install on proper versions.
I need to be able to query Office 2010, 2013 and 2016 for proper x86 and x64 versions then push proper MSI package to them. I am knew to WMI query language so your help is appreciated.
Thanks,
nimdatx
I need to be able to query Office 2010, 2013 and 2016 for proper x86 and x64 versions then push proper MSI package to them. I am knew to WMI query language so your help is appreciated.
Thanks,
nimdatx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No, it does not matter which version Office user has.
If you run your install manually, does it replace your old msi?
If you run your install manually, does it replace your old msi?
ASKER
Ok, so if I install manually it doesn't replace however keeps existing version and now has two versions. The GPO installed correctly, but if I uninstall, it doesn't reinstall after a restart. Do you know why this is happening. Thank you so much!
Describe your GPO settings.
ASKER
Thanks.
When removed application will not be reinstalled.
You should remove local Administrator priviliges from users to prevent removing software.
When application is installed with GPO, its GUID is entered in this part of registry:
HKLM\SOFTWARE\Microsoft\Wi ndows\Curr entVersion \Group Policy\Appmgmt
If GUID is deleted, application will re-install.
You can not solve this problem easily, because you can not remove such key with script or GPO or it will trigger repetaed reinstallations
When removed application will not be reinstalled.
You should remove local Administrator priviliges from users to prevent removing software.
When application is installed with GPO, its GUID is entered in this part of registry:
HKLM\SOFTWARE\Microsoft\Wi
If GUID is deleted, application will re-install.
You can not solve this problem easily, because you can not remove such key with script or GPO or it will trigger repetaed reinstallations
ASKER
Very great response time and excellent IT knowledge! I truly appreciate your time and all your effort.
ASKER