Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to map a network drive through Group Policy Preferences option. For this mapping i want to go with wmi query, which is in item level targeting. I am done with all the initial work like giving its path, drive letter etc.

Now on the common tab I selected item level targeting. In which i selected wmi query and i wrote the query as select username from win32_ComputerSystem where domain="www.test.com". I am running windows server 2008, my domain is www.test.com and i am using windows 7 machine as client of my server.

After applying the preferences i ran gpupdate /force also on client an then log off and log on but i am not getting the network drive on my client. Did I write the wmi query wrong or anything else?

share|improve this question
    
What is your full wmi query? –  cuonglm Aug 8 '13 at 7:26
    
My Full query is select username from win32_ComputerSystem where domain="www.test.com". –  Asif Shamim Aug 8 '13 at 8:19
    
What is the objective of the Item level targeting? I personally would avoid using WMI as it does add a delay for slower computers. –  Bad Dos Aug 8 '13 at 15:31

1 Answer 1

This doesn't answer your question directly, but why are you using WMI to do this when GPP Item Level Targeting has a built in "Domain" option? I'd just use that.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.