Error: “Windows cannot connect to the printer Operation could not be completed (error 0x0000000d)”

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).


CAUSE

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.


RESOLUTION

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.

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:

1. Click Start, click Run, type regedit, and then click OK.
2. Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3\<DriverName>

3. On the File menu, click Export.
4. In the File name box, type printerName, and then click Save.
5. Right-click printerName.reg, and then click Edit.
6. Locate the sentence which starts with the “Previous Names” string, and then replace the sentence with the following text:

“Previous Names”=hex(7):00,00

7. On the File menu, click Save.
8. Exit Notepad.
9. Right-click the file that you saved in step 7, click Merge, and then click OK.
10. Restart the Print Spooler service. To do this, follow these steps:

a. 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.

b. Right-click Print Spooler, and then click Stop.
c. Right-click Print Spooler, and then click Start.


MORE INFORMATION

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:

http://msdn2.microsoft.com/en-us/library/ms724884.aspx (http://msdn2.microsoft.com/en-us/library/ms724884.aspx)



APPLIES TO
Windows Vista Business
Windows Vista Enterprise
Windows Vista Home Basic
Windows Vista Home Premium
Windows Vista Ultimate
Windows Vista Business 64-bit Edition
Windows Vista Enterprise 64-bit Edition
Windows Vista Home Basic 64-bit Edition
Windows Vista Home Premium 64-bit Edition
Windows Vista Ultimate 64-bit Edition

——————————————–

Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

 


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image