Link to home
Start Free TrialLog in
Avatar of AITP
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!
Avatar of jakethecatuk
jakethecatuk
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
Avatar of merowinger
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%'
Avatar of AITP
AITP

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.
SOLUTION
Avatar of merowinger
merowinger
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AITP

ASKER

I'll go for the "dummy file" -solution and create WMI filter if file exist. Easy to create through MDT task sequence.

Thanx!
You mean like this?
Select * From CIM_DataFile Where Name = 'C:\DummyFile.txt'