AITP
asked on
GPO for (only) MDT deployed computers
Hello,
We need to apply a GPO policy ONLY for thoose computers deployed from MDT.
Other computers should not be applied by this GPO.
Windows 2008 R2 domain environment and Windows 7 deployment through MDT 2010.
Present computers are Windows XP (SP3) and forward.
Thanx in advance for you help!
We need to apply a GPO policy ONLY for thoose computers deployed from MDT.
Other computers should not be applied by this GPO.
Windows 2008 R2 domain environment and Windows 7 deployment through MDT 2010.
Present computers are Windows XP (SP3) and forward.
Thanx in advance for you help!
Do you which computers were deployed thru MDT 2010? If you do, place all the computers in a security group and apply the GPO to that security group only.
Create a WMI Filter for the Group Policy which queries on the OS Version.
select version from win32_operatingsystem where version like '6%'
or
select version from win32_operatingsystem where caption like '%Windows 7%'
select version from win32_operatingsystem where version like '6%'
or
select version from win32_operatingsystem where caption like '%Windows 7%'
Here's a guide for WMI Filters:
http://www.computerperformance.co.uk/vbscript/wmi_filter.htm
and here are some examples:
https://www.experts-exchange.com/questions/25296858/WMI-Filtering-and-Group-Policy-Determining-OS-Type-32bit-64bit.html
http://www.computerperformance.co.uk/vbscript/wmi_filter.htm
and here are some examples:
https://www.experts-exchange.com/questions/25296858/WMI-Filtering-and-Group-Policy-Determining-OS-Type-32bit-64bit.html
ASKER
More info, they have also Windows 7 computers not deployed through MDT, these should not be applied.
One possible solution would be to check for HKLM\Software\Deployment 4\ keys via WMI filter but not sure how to do that.
One possible solution would be to check for HKLM\Software\Deployment 4\ keys via WMI filter but not sure how to do that.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'll go for the "dummy file" -solution and create WMI filter if file exist. Easy to create through MDT task sequence.
Thanx!
Thanx!
You mean like this?
Select * From CIM_DataFile Where Name = 'C:\DummyFile.txt'
Select * From CIM_DataFile Where Name = 'C:\DummyFile.txt'