SMS WQL for All Clients where Last Status is Waiting for User Condition
select sys.ResourceID,sys.ResourceType,sys.Name,sys.SMSUniqueIdentifier,sys.ResourceDomainORWorkgroup,sys.Client from SMS_R_System as sys join SMS_ClientAdvertisementStatus as stat on sys.ResourceID=stat.ResourceIDwhere stat.AdvertisementID='advertisementID' and stat.LastStatusMessageID=10036
--10036 is Waiting for User Condition, replace advertisementID with your advertisement ID.
Comments