Remko Weijnen's Blog (Remko's Blog)

About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like


Earlier today I wrote about my Altiris Job Builder tool but when I tested the actual produced build job I noticed something weird: the job was scheduled but not executed.

I then tried to manually push a job to this server and that one executed fine.

When I clicked the Job I could see that it was scheduled:


But when I clicked the Server it wasn’t there:


Read the rest of this entry »


I have created a little tool for myself that I have call Altiris Job Builder, it retreives the Jobs from the Altiris database and shows them in a Treeview.

Then I can assemble a Master Build Job by dragging the needed Jobs to another Treeview on the right. Since it’s just for me it doesn’t have a fancy gui:


So why did I write it? Well I have divided my Jobs into Prerequisites and Packages, for instance IIS and Terminal Server and Java are prereqisuites for Citrix. But many prereqisuites are required for one or more other packages, eg Java is also used for certain applications. Read the rest of this entry »


If you have ever installed Citrix Presentation Server/XenApp or one of the management consoles then you have probably dealt with Java versions.

Citrix is very picky about the Java version so it’s usually best to initially install the Jre version that is delivered with the product.

In my case however I needed to install the CMC for Xenapp 5 on Windows 2003, it requires JRE 5.0 Update 9 but this version was undesirable.

So I tried to install the CMC with the current JRE version (1.6.0_22 at this time) but it makes the Installer exit immediately:


Read the rest of this entry »


I ran a VBScript that queries the Win32_Product WMI class on Windows 2003 but it returned error 0x80041010 instead of the expected results.

I looked up that errorcode and it means WBEM_E_INVALID_CLASS. This happened because the “WMI Windows Installer Provider” was not installed.

You can do this through Add/Remove Programs | Windows Components | Management and Monitoring Tools | WMI Windows Installer Provider.

Or if you want to do this with a script you can use SysocMgr:

  • Filed under: Altiris, script

    When installing the Citrix Delivery Services Console with an unattended install (using CtxInstall.exe) the Citrix Password Manager gets automatically installed as well.

    You can see this in the Console where you will get an additional node called “Single Sign On”.

    I couldn’t find any information on how to make CtxInstall exclude it so I was left with 2 options:


    1. Unregistering the .net assembly for the Single Sign On Node.
    2. Unattended Uninstall of the Password Manager.

    I went for option 2 since 1 might mean it comes back after an update, the commandline is:


    msiexec /x {25F2D5CD-B428-4869-B32B-031A9D5CE0C1} /Qb

    If it’s somehow possible to prevent installing it in the frist place, please let me know!

  • Filed under: Citrix

    After having successfully tested the Unattended install jobs for my Citrix XenApp 5 environment I went on to testing the install.

    The install itsself and the msi logs that my jobs created all indicated that the install was successfull.

    So I went on and launched the install jop for the Delivery Services Console. This job succeeded nicely but when I opened the console the XenApp node was missing:


    The resolution is described in CTX125827 but Resolution 2 is a lot of manual labour 🙁

    So what do we do? We script it! Read the rest of this entry »

  • Filed under: Citrix

    Today I was tested my unattended Citrix installation (XenApp 5 on Windows 2003) and I noticed that the install was taking longer than expected.

    This was because of a popup:


    I am not sure if this popup is shown because I ran MsiExec with /Qb- (I usually do that when testing) but if the Popup is not shown it means that at least the installation of this driver (probably Citrix Universal Print driver) fails.

    So this means I needed to script turning off Driver Signature Warnings. A quick search led me to kb article kb298503 which is titled “Driver signing registry values cannot be modified directly in Windows“. As you may guess that title drew my attention. Read the rest of this entry »


    I was creating an unattended Exchange 2007 install job today and while testing it, it failed with the following error:

    Active Directory operation failed on nl-dc001.MYDOMAIN.LAN. The object ‘CN=Default Global Address List,CN=All Global Address Lists,CN=Address Lists Container,CN=My Organisation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=MYDOMAIN,DC=LOCAL’ already exists

    I opened the Exchange System Manager and expanded the Tree (Recipient | All Address Lists | All Global Address Lists) and I found 2 Global Address Lists but not the Default Global Address List:


    Read the rest of this entry »


    VMware has released an updated Performance Best Practices for VMware vSphere document for 4.1.

    The document provides tips that help administrators maximize the performance of VMware vSphere 4.1.

    Chapter 1 – “Hardware for Use with VMware vSphere,” provides guidance on selecting hardware for use with vSphere.

    Chapter 2 – “ESX and Virtual Machines,” provides guidance regarding VMware ESX™ software and the virtual machines that run in it.

    Chapter 3 – “Guest Operating Systems,” provides guidance regarding the guest operating systems running in vSphere virtual machines.

    Chapter 4 – “Virtual Infrastructure Management,” provides guidance regarding resource management best practices.

    Links: Technical Resource Center (direct link to the Document).

    Earlier versions:

    Performance Best Practices for VMWare vSphere 4.0

    Performance Tuning Best Practices for ESX Server 3

  • Filed under: VMWare

    After deploying Virtual Machines from a template and adding disks the next Task was to create and format the partitions.

    In a VMWare environment it is very important to assure that the partitions are aligned. VMWare has a nice document that explains the details called Performance Best Practices for VMware vSphere 4.0.

    Basically the recommendation is to align partition on a 64 KB boundary, not only for VMWare itsself but also for the guests.

    Of course we could do this manually but I wanted to run this task of from my Deployment Server to automate the following:

    • Create aligned partitions on all extra disks of the maximum size
    • Format, assign drive letter and assign a label
    • A safeguard to prevent overwriting existing Data

    Well enough talk let’s go the scripts! They are written as bat files that can be executed directly in Altiris as an embedded script but of course you don’t need Altiris to use them. Read the rest of this entry »

  • 1 Comment
  • Filed under: Altiris, VMWare
  • Blogroll