About Terminal Server, Citrix, Delphi and other stuff
10 May
For a research project I tried to install Windows NT 4 Terminal Server on VMWare Workstation (version 8).
The setup would always fail however with the following error:
Obviously the installation doesn’t really fail because of too little memory and neither is the installation disc (an iso file) corrupt, it’s a bug.
1 Jul
I am running a virtualized Mac OS X machine in my VMWare Workstation but I noticed that after a period of inactivity the virtual machine would sometimes freeze.
Because this only happens after inactivity I assumed it had something to do with Power Saving so I changed the Energy Saver settings and that fixed it!
2 May
I was deploying virtualized Citrix XenApp Servers on HP BL460c G6 servers and somehow the storage (direct attached) responded very slowly.
I had expected reduced performance (see my earlier post) since I didn’t have the Battery Backed Write Cache module installed.
I did order them but had to start deployment before they arrived.
I did not however expect such an extreme bad performance. Deployment took ages or sometimes failed completely and when logging in to a VM it responded very sluggish.
Disk Latency
I looked in the vSphere console what the Disk Latency was. Latency under 10ms is usually considered good while a latency between 10 and 20ms is a potential performance problem.
I was shocked to notice that the Disk Latency was much higher with peaks toward 2.000 ms (2 seconds!):
18 Mar
After compiling the VMWare VMXNET3 Driver for Linux I needed a driver for the Windows PE Image as well.
Compared to what I needed to do for Linux this was a breeze!
First we need the VMWare tools again so I grabbed windows.iso from /vmimages/tools-isomages.
The driver files are in a cab file, VMXNET3.cab, extract this cab file somewhere and open the Altiris PXE Configuration tool.
Select the Windows PE Entry and click Edit:![]()
17 Mar
First we need to setup a Linux Virtual Machine with a distro of choice (I recommend a 32 bit version). I will be using Ubuntu here and the first step is to download the iso.
At the time of writing Ubuntu 10.10 was the Latest version so I used that one.
Create a new Virtual Machine and use the iso as install media, I am using VMWare Workstation and it recognises Ubuntu and performs an “easy install”:
The install is unattended (when VMWare Tools are installed you need to perform a login) and took only 6 minutes on my laptop!
Now we need to install gcc (the compiler), open the Ubuntu Software Center:
15 Mar
I was booting a new VMWare Virtual Machine with Windows PE through Altiris for initial deployment but Windows PE halted with a BSOD:
0x0000005D means UNSUPPORTED_PROCESSOR (defined in bugcodes.h) so I expected there was a x86 vs x64 problem.
The VM was configured for a 32 bit OS:
The Altiris Job was configured to use Auto Select:
But instead of the x86 version of Windows PE, Altiris attempts to boot the x64 version and this explains the BSOD: VMWare prevents the CPU from going to x64 mode and thus Windows has no choice but to halt.
Workaround is to change the Automation pre-boot environment in Altiris to x86:
Note that it’s no problem to deploy an x64 OS using the x86 version of Windows PE so I don’t see any real problems with this workaround.
14 Mar
If you read one of VMWare’s Best Practices Guides (in my case this one) then you may have read that it’s important to align guest partitions.
We can do this (for Windows OS) using the DiskPart tool that comes with the OS since Windows 2003 SP1 (there is a hotfix for earlier versions).
On Windows 2008, and higher, all partitions are automatically aligned to a 1 MB boundary.
But how to do this for the OS disk on Server 2003?
My first thought was to open a command prompt during setup, right before creating the partitions and then use diskpart.
However the OS partition is created during the Text portion of the install process and even though we can get a cmd prompt using SHIFT-F10 we get the recovery console (which has a builtin diskpart but cannot align).
So I used a Windows PE bootdisk. Any version with Diskpart should do but I used a bootdisk from Symantec Backup Exec System Recovery that I’ve customized to my own needs.
If you boot the original Symantec disk you can open a command prompt by accessing a hidden feature: move the mouse above the “S” from Symantec until you get a Hand icon and press the left mouse button:
14 Mar
I wanted to boot a Virtual Machine from an USB Stick but even though you can Connect USB devices to VMWare you cannot boot from it.
It can be done however using a boot manager that is able to perform a boot from USB media. I used Plop Boot Manager.
Download one of the stable releases (I used 5.0.11-2) and extract plpbt.img from the archive and mount this (don’t forget to select the Connect at power on option) and when booting press Esc for the Boot Menu.
This would be a good time to Connect the USB device to the Virtual Machine, right click the USB device in the bottom bar:
And select the Connect option:
Click OK on the warning message:
Active Directory Altiris Automation Manager bug Citrix Dell Delphi Exchange Exchange2003 Exchange2010 Hack Hewlett-Packard HP iOS Jailbreak Java LinkedIn Linux Lync McAfee MSI MySQL Navigation Objects Office Outlook Passat Password PowerPoint PowerShell RES RNS315 RNS510 SasLibEx Terminal Server ThinApp TSAdminEx VBS VCDS Vista VMWare Volkswagen Windows PE Wordpress XenApp
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.