When you try to install a network printer on a Windows Vista-based computer, you may receive the following error message:
Windows cannot connect to the printer. Operation could not be completed (error 0x0000000d).
This issue occurs because the following registry subkey on the print server contains invalid data:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3\<DriverName>\Previous Names
Note In this registry subkey, <DriverName> represents the name of the driver for the printer.
The Previous Names registry entry belongs to the REG_MULTI_SZ registry value type. The Previous Names registry entry is considered an invalid REG_MULTI_SZ registry value type if the following conditions are true:
The value of the Previous Names registry entry begins with a null.
This null is followed by some values.
The value of the Previous Names registry entry ends with a null.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To resolve this problem, modify the value of the Previous Names registry entry on the print server so that it contains valid data. To do this, follow these steps:
Click Start, click Run, type regedit, and then click OK.
Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3\<DriverName>
On the File menu, click Export.
In the File name box, type printerName, and then click Save.
Right-click printerName.reg, and then click Edit.
Locate the sentence which starts with the "Previous Names" string, and then replace the sentence with the following text:
On the File menu, click Save.
Right-click the file that you saved in step 7, click Merge, and then click OK.
Restart the Print Spooler service. To do this, follow these steps:
Click Start, type services.msc in the Start Search box, and then click services.msc in the Programs list.
If you are prompted for an administrator password or for confirmation, type your password, or click Continue.
Right-click Print Spooler, and then click Stop.
Right-click Print Spooler, and then click Start.
A valid value of the REG_MULTI_SZ registry value types can be in any one of the following formats:
The value contains null only (00 00).
The value contains a valid ASCII representation of a string that points to a correct printer driver and ends with a double null (00 00 00 00).
For more information about the REG_MULTI_SZ registry value types, visit the following Web site: