Richard Parmiter

Virtualisation blog and Knowledge Base

  • You are here: 
  • Home
  • wmi

IMA crash & CriticalSectionTimeout value

Posted on July 8th, 2009

I have been experiencing some strange crashes of the following services:

  • Citrix Independent Management Architecture (IMA) – ImaSrv.exe
  • Citrix Print Manager Service – CpSvc.exe

These were happenning on a Windows 2003 x64 Standard Edition R2 server with Citrix XenApp 4.5 R04.

While investigating the problems I also noted the following error while trying to open task manager. Either CTRL-SHIFT-ESC, CTRL-ALT-DEL and selecting it or right click taskbar and selecting gave the same results. The task manager icon appeared in the systray but task manager never appeared. For every attempt to open task manager added another icon in the systray but never opened it.

Waiting for anywhere from a few minutes to several hours, eventually task manager opened.

Associated problems appeared to be that WMI was breaking regularly. The MOF databases could be rebuilt to resolve this (as per this article RP492)

All of these problems appeared to be a result of the following registry setting:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\CriticalSectionTimeout

reg_dword: 120 (dec)

Changing this value back to it’s default of

reg_dword: 2592000 (dec)

Resovled all the issues and after a week none of them have re-occurred.

If I get any more info about why this is happenning, I will add to this post.

Tags: , , , , , , , , ,
Filed under Windows 2003 | No Comments »

Resultant Set of Policy/gpresult: access denied error message

Posted on October 16th, 2008

When running a Resultant Set of Policy from the Group policy management Console (GPMC) the following error is displayed:

Also, the following ‘access denied’ error appears when running gpresult.exe from a command prompt on the server:

Running on other servers seems okay, but on these specific servers there is a problem.

Resolution

This can be resolved by doing the following:

cmd
c:
cd\windows\system32

regsvr32 /n /I userenv.dll

cd\windows\system32\wbem
mofcomp scersop.mof

gpupdate /force

Tested as working on Windows 2003 x64 Enterprise Edition. (and it doesn’t even need a reboot)

Tags: , , , , ,
Filed under Scripts/Reg, Windows 2003 | 4 Comments »