Citrix 4.5 WMI error message

I have been seeing this error message for the last month and I can not seem to get the correct fix for it.
I have Citirx Presentation Server 4.5 and runing the 2003 servers which are my app servers.
I am only see this issue on these servers.
Citrix Monitoring Script Event 2
Citrix MetaFrame Compute Event Rate:
WMI error connecting to Citrix WMI provider:
      Received error: 0x8004100e: Invalid namespace  [WBEM_E_INVALID_NAMESPACE]
c-elAsked:
Who is Participating?
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.

c-elAuthor Commented:
This is not helphing/ in my program files\citrix\system32 there is no wmi folder to run the command they are talking about.
c-elAuthor Commented:
What else have you found out
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

chrisnewman01Commented:
I realized the same thing and did a search for WMI within \Program files\citrix :-)  Try \Program Files\Citrix\System32\Citrix\WMI
chrisnewman01Commented:
Just create a backup of the WMI folder as a precaution.
c-elAuthor Commented:
Should I be running this command on the servers I have this error with or should I be running this command on the main citrix box. I have found the file on the main box but not on the app servers that are giving me this error.
You think I need to reinstall the WMI provider on these servers and if so how do I do that.
chrisnewman01Commented:
I would say do this on the servers you are experiencing the error on.  On the flipside, go into Add/remove programs > Citrix Presentation Server > Click CHANGE > select MODIFY > then scroll down until you see the WMI providers.  If it's already there, you may have to uninstall that component, then reinstall it.

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
c-elAuthor Commented:
That component was not there so I installed the WMI provider service. When I did so I received I different error message stating.

Unable to open the registry key 'HKLM\SOFTWARE\Citrix\WMIService\DLLs'. Data contains returned error code.
c-elAuthor Commented:
I was able to get the WMI service to work.
I had to install the WMI service that was not installed.
Once I installed the service I received that error message (Unable to open the registry key 'HKLM\SOFTWARE\Citrix\WMIService\DLLs'. Data contains returned error code)
To fix that I had to give the local machine access.
By givin the WMI service folder in the registry key 'HKLM\SOFTWARE\Citrix\WMIService"
Local service rights to access this folder.
Than I was able to start the WMI service.
All is working fine.
Thanks for your help.
GanriyuCommented:
QUICK FIX  
What we do to QUICK FIX   this phenomena...
We created a backup of this repository..
Whenever it gets corrupted.. we restore that backup.
Any changes made after that certain backup will be replicated again..
We restore a 'smaller' repository what takes less time then'have replication do the rest..
This is a on the fly action and requires NO reboot..
dwisbyCommented:
Can this command 'for /f %s in ('dir /b *.mof *.mfl')do mofcomp %s' Be run while users have active citrix sessions?
GanriyuCommented:
better disable all logons and have users reconnect to other servers in the farm before running that
'for /f %s in ('dir /b *.mof *.mfl')do mofcomp %s'  command.
It can be run with active sessions but results are unpredictable as far as i have experienced.
some loose their session others donot and so on..
1 make sure you have no acxtive sessions
2 Run that 'for /f %s in ('dir /b *.mof *.mfl')do mofcomp %s'  command
3 backup your WMI repository..
4 restore (live :-) !!) that backup as needed ...
PS make backup for each server  (ofcourse)


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
Windows Server 2003

From novice to tech pro — start learning today.