question

JonasLeu-2144 avatar image
0 Votes"
JonasLeu-2144 asked JonasLeu-2144 answered

Strange behaviour with WMI query through configmgr

I have a task sequence which i deploy to clients with different hardware of different manufacturers.

The tasksequence includes different groups with the manufacturer.
IF i deploy the tasksequence to a DELL computer it jumps over the group "DELL" even if the query should return "TRUE" according to wbemtest. I opened wbemtest as system account to make sure it is a 1 to 1 test. How can I further troubleshoot this issue?

See smsts.log and query in wbemtest :

88195-configmgr-wmi-query.jpg


mem-cm-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JonasLeu-2144 avatar image
0 Votes"
JonasLeu-2144 answered

Ok, I feel a bit stupid now. The problem was following:

I had an "Any" condition in the Tasksequence Options, but after entering several WMI Queries I klicked move up. Since the conditions went top up, but did not jump into the Any condition itself I thought, It already is under the Any condition. By chance I copied the WMI Query and pasted the Query right under the Any Condition and the Query was positioned different than the other queries. So i realized, the behaviour of the move up and move down button is different in tasksequence options than to objects in the tasksequence itself. I wish it was programmed better. I lost some hours because of that and I already started to doubt WMI, etc.

After correction is was running as expected.

Regards, Jonas

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.