Printer and Ports with Long Names Do Not Appear After Upgrade from Windows NT 4.0 to Windows 2000
ID: Q226193
|
The information in this article applies to:
-
Microsoft Windows 2000 Professional
-
Microsoft Windows 2000 Advanced Server
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information about how to do this, view the "Restoring
the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help
topic in Regedt32.exe.
SYMPTOMS
Printers with names over 220 characters long do not appear in the Printers folder, but do appear in the registry after upgrading to Windows 2000 from Windows NT 4.0.
Printers with names over 259 characters long do not appear in the Printers folder or in the registry.
Printers that are assigned to a port with a name over 255 characters long appear in the Printers folder, but do not have a port assignment.
Note that the Add Printer Wizard allow a printer name length of 242 characters, but you can change the name of the printer up to 259 characters after the printer has been added.
CAUSE
Windows 2000 has a printer name limit of 220 characters; Microsoft Windows NT 4.0 has a limit of 259 characters.
RESOLUTION
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT, you should also update your Emergency
Repair Disk (ERD).
To work around this problem, use the appropriate method:
- Shorten the printer name or port length to less than 220 characters before you upgrade.
- To modify the printer name, modify the registry once the upgrade is finished. If the printer appears in the registry, but not the Printers folder, modify the registry entry to shorten the name or port to less than 220 characters. Locate the Name value under the following key in the registry, and modify the data value of the Name value to be less than 220 characters:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\Printer Name
- To modify the printer location, modify the registry once the upgrade is finished. Locate the Location value under the following key in the registry, and then modify the data value of the Location value to be less than 220 characters:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\Printer Name
- To modify the port name, modify the registry once the upgrade is finished.
Locate the PortName value under the following key in the registry, and then modify the data value of the PortName value to be less than 220 characters:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\Appropriate Port Monitor\Appropriate Port
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed
at the beginning of this article.
Additional query words:
Keywords : kbenv
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb