Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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="". I am running windows server 2008, my domain is 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="". – 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

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


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.