WMI Error Windows 7 OS

I am running on windows 7 and can run a script for reviewing ACEs of a given folder; however, another user running on windows 7 is unable to run this same script.  Is there a component that needs to be installed on the user's computer, or a change to the code that would allow it to work for them?  

The error message is:Line: 20
Char: 2
Error: Not Found
Code: 80041002
Soruce: SWbemServicesEx

Here's lines 19 and 20 from my script:
      Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
      Set objWMIFile = objWMIService.Get("Win32_LogicalFileSecuritySetting='" & Subfolder & "'")
LVL 1
vbNewbie2009Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Daz_1234Commented:
I apologise if this sounds simplistic.  Is it safe to assume that both users have Full Control permissions to the folder being examined?

Daz.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vbNewbie2009Author Commented:
That's quite alright, sometimes we get too deep in the weeds to see the simlpistic :-)  No, they do not both have the same permissions to this folder.  Would that be  a cause for this error message?
0
RobSampsonCommented:
To see the security settings of the folder, you need appropriate permissions to do so.  Can the user manually examine the security information on that folder?  I would guess not....

Regards,

Rob.
0
vbNewbie2009Author Commented:
Had administrator run script on network to elliminate the permissions problem.  Worked great, thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.