Tuesday, September 28, 2010

Printer driver is not installed on this computer error

You receive the following error:

The [print driver] printer driver is not installed on this computer.
Some printer properties will not be accessible unless you install the printer driver.
Do you want to install the driver now?

This is a bug on some HP print drivers. This error appears when the following key value is equal to zero

HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers\[Printer Name]\PrinterDriverData\HPTrayCount

We need to set the value of this key to 0×12 (decimal 18)

If you a couple of printer servers and hundred of printers (like my current environment), you can download a small tool I created call Ctx Print Fix. This tool can scan the printer server for printers with the issue, export results to a text file and fix affected printers.

The FREE tool is available at http://ctxadmtools.musumeci.com.ar/ctxhotfixes

Thursday, September 23, 2010

CtxAdmTools: CtxCertifiedPrinters v1.2 released!

I was working on last weeks with a few 64-bit Citrix farms and I was reading about XenApp 6 Printing this morning on the metro to Downtown DC, so I decided to create a new tool called CtxCertifiedPrinters to list all certified, native, non-native and manufacturer 64-bit print drivers. The tool can export results to a Excel file.

If you are looking for 32-bit print driver tool, I created a tool called PrintCert, on July 2008 (in fact this is one of my first CtxAdmTools).

Monday, September 20, 2010

SCRIPT: How to enumerate citrix applications in a remote citrix server using WMI and VB.NT

How to enumerate citrix applications in a remote citrix server using WMI and VB.NET (no MFCOM required)

Imports System
Imports System.Management

Dim strComputer As String = "ctxserver01"

Dim oConn As ConnectionOptions = New ConnectionOptions
oConn.Username = "domain\username"
oConn.Password = "password"

Dim scope As New ManagementScope("\\" & strComputer & "\root\Citrix", oConn)

Dim objectQuery As New ObjectQuery("SELECT * FROM MetaFrame_ApplicationsPublishedOnServer")
Dim searcher As New ManagementObjectSearcher(scope, objectQuery)
For Each ctxApp In searcher.Get()
Next ctxApp


I found a very nice VBScript to detect UAC and more settings at http://csi-windows.com/toolkit/csi-issession

Friday, September 17, 2010

VMware: Error The specified parameter was not correct: "." on VMware Converter

When you try to P2V a Windows 2008 R2 or Windows 7 x64 using VMware Converter 4.3 you receive following error: The specified parameter was not correct: "."

Solution: right click on VMware Converter icon on the desktop and choose Run as administrator

Note to VMware: UAC is around since Windows 2008 and Windows Vista (probably +3 years), will be nice if your development team learn about it!!!!!

Monday, September 13, 2010

MS: A reboot from previous installation is pending on Exchange 2007

When you try to install a Exchange 2007 component like Management Tools, you will receive a message: A reboot from previous installation is pending. Please restart the system and rerun setup.


1) Remove an orphaned UpdateExeVolatile registry key value

Navigate to HKLM\SOFTWARE\Microsoft\Updates\

In the right navigation pane, double-click the UpdateExeVolatile key and configure the key with a value of 0

2) Delete the orphaned PendingFileRenameOperations registry key

Navigate to HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\, right-click the PendingFileRenameOperations key and select Delete.

VMWARE: How to install a VMware vCenter 4.1 to access a remote SQL Server Database

1) Install 64-bit SQL ODBC driver

Download and install SQL Server native client on the new vCenter server


2) Create a 64-bit System DSN

Open ODBC Data Source Administrator and create a System DSN choosing SQL Server Native as Driver

Detailed instructions available at


Wednesday, September 08, 2010

VMware: Turn vCPU’s into vCores

The procedure below will "convert" vCPUs into vCores

Example: we have software product licensed for 2 CPUs. We add 4 vCPU to VMWare VM.
Using the procedure below, we can convert these 4 CPU as 2CPU of 2 Cores each.

1.Power off the VM
2.Right click on the VM and select “Edit Settings…”
3.Select the “Options” tab
4.Click on “General” (in the “Advanced” options section)
5.Click “Configuration Parameters…” (in the pane on the right)
6.Click “Add Row”
7.Enter “cpuid.coresPerSocket” in the “Name” column
8.Enter a value, like 2 or 4 in the “Value” column
9.Click “OK”
10.Power on the VM

Based on a post from Duncan at