[gptalk] Re: issues with wmiftest

  • From: "Darren Mar-Elia" <darren@xxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Fri, 8 Feb 2008 07:58:08 -0800

Right, with the WMIFTest tool, you can evaluate a given WMI filter against a
real computer to find out if it will evaluate to true when it actually runs
with the GPO. That's what I'm wondering. Did the query evaluate to true
against a laptop? If so, then it should work in the GPO. If not, then the
query could be asking the wrong question.

 

Draren

 

From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of Dave Palombi
Sent: Friday, February 08, 2008 7:53 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: issues with wmiftest

 

What I can tell you is that everything is listed and working properly.  This
is version 1.0.2.0

It gives me the wmi filter name, description, wmi query string, and linked
to gpo

Dave

On Feb 8, 2008 10:48 AM, Darren Mar-Elia <darren@xxxxxxxxxx> wrote:

Dave-

Well, I wrote the app so I should know the answer! J.

 

As to your issue, does WMIFTest evaluate your filter to true for a laptop
machine?  I'm not particularly familiar with the ChassisTypes query below
but perhaps it is not the correct query for what you're trying to do?


Darren

 

From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of Dave Palombi
Sent: Friday, February 08, 2008 7:45 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: issues with wmiftest

 

You are one smart guy.

Thank you!

One last question for you.

I am having an issue with WMI with a GP.  The GP is working properly but
when I add the WMI filter it doesn't work.  This filter is suppose to remove
offline files feature from desktop computers.

This is the code for the WMI filter

select * from Win32_SystemEnclosure where ChassisTypes = 1 or ChassisTypes =
2 or ChassisTypes = 3 or ChassisTypes = 4 or ChassisTypes = 5 or
ChassisTypes = 6 or ChassisTypes = 7 or ChassisTypes = 13 or ChassisTypes =
15 or ChassisTypes = 16 or ChassisTypes = 17 

The GP setting is
 
Do not automatically make redirect folders available offline.  

This is under user settings.

The end result is if you are a laptop ignore this GP.

Dave



On Feb 8, 2008 10:38 AM, Darren Mar-Elia <darren@xxxxxxxxxx> wrote:

Dave-

Are you running the app from a network share? If so, that is the issue.
.Net, by default, restricts what it lets run from network locations. You
would have to adjust .Net Framework Security using the .Net Configuration
MMC snap-in or just run the app locally. If its not that, let me know. 

 

Darren

 

From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of Dave Palombi
Sent: Friday, February 08, 2008 7:30 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] issues with wmiftest

 

Hello, 

I am having issues with wmiftest.  I have installed all the .netframeworks
but I am still receiving the same error messages.  

The error says  "Application attempted to perform an operation not allowed
by the security policy.  To grant this application the required permission.

I do not know where to set the permission for this.

Dave

 

 

Other related posts: