• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6863
  • Last Modified:

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]
0
c-el
Asked:
c-el
  • 5
  • 4
  • 2
  • +1
4 Solutions
 
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.
0
 
c-elAuthor Commented:
What else have you found out
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
chrisnewman01Commented:
I realized the same thing and did a search for WMI within \Program files\citrix :-)  Try \Program Files\Citrix\System32\Citrix\WMI
0
 
chrisnewman01Commented:
Just create a backup of the WMI folder as a precaution.
0
 
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.
0
 
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.
0
 
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.
0
 
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.
0
 
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..
0
 
dwisbyCommented:
Can this command 'for /f %s in ('dir /b *.mof *.mfl')do mofcomp %s' Be run while users have active citrix sessions?
0
 
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)


0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 5
  • 4
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now