Tuesday, 2 August 2011

Clearing the app V cache

1. Logon to the Citrix Server with a user account that has administrative rights.
2. Launch the Registry Editor.
3. Reset the following registry DWORD value to 0:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\Client\AppFS\State
4. Reboot the Server.

Tuesday, 21 June 2011

WMI Corruption

Having SCCM on the Citrix servers WMI corruption seems to occur quite frequently. I will look into hotfixes for this later. In the mean time i've noticed that if WMI corruption does occur, here are the steps I used to get it back.

1. Disable and stop the WMI service.
     sc config winmgmt start= disabled
     net stop winmgmt

 2. Run the following commands.
    Winmgmt /salvagerepository %windir%\System32\wbem    
     Winmgmt /resetrepository %windir%\System32\wbem

 3. Re-enable the WMI service and then reboot the server to see how it goes.
     sc config winmgmt start= auto


And then

Cd “C:\Program Files (x86)\Citrix\system32\Citrix\WMI”

for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s

Tuesday, 7 June 2011

WMI

Had a couple of issues with a server. One being the App-V client wouldn't start properly (failed to initialize) and another the Xenapp Power and Capacity management wasn't working properly. It turned out that WMI had become corrupt. Here's a post on how to recover from it.

http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/8ed26d46-9994-4052-a307-5b071805aea8/

Tuesday, 22 March 2011

Office Updates

According to http://technet.microsoft.com/en-us/library/cc754288%28WS.10%29.aspx installation of msi's does not require the terminal server to be in install mode. So this should mean that I can deploy the Office 2010 updates that my boss wants me to using the "Software Updates" section of the SCCM 2007 console.

Thursday, 10 March 2011

Hanging Issue Continued.

The citrix servers appear to hang / lag at around the same time, every few days. We have monitoring Software (Microsoft System Center Operations Manager 2007) and we also have Microsoft System Center Configuration Manager agents installed on the citrix servers. I believe that one of these is to blame. So I have disabled the System Center Configuration Manager service as that runs periodic scans of hardware and software. We'll see how it goes.

Wednesday, 9 March 2011

Citrix Presentation Server - Hanging issue

We have an issue that has plagued us for a few months. It's an issue with the servers intermittently hanging.

When it first started to happen the servers would hang to the point of no return. The only option would be to push the power button. Various hotfixes (from Citrix and Microsoft), registry tweaks etc etc later and the servers no longer hang to the point of no return, however they still pause intermittently.

I believe we've managed to narrow it down to the disks being thrashed and have made tweaks to reduce the load on the disk reduce the % Disk time stat on the server and as such I have been making changes on one server, and comparing the % Disk Time with another server using the Access Management Console. Unfortunately as of today I realise that (in my environment anyway) I can only view one graph of % Disk time for one server. If I open any more, then they soon begin to look the same....exactly the same. Ooops!