Printing to Local Port May Fail with Access Denied Error

Symptoms

When sharing a printer that is redirected using a local port to another Windows NT computer that is sharing a local printer (LPTx), the following message may appear on the Windows NT computer with the reshared local port.


There was an error writing to \\Computer1\share. Access is Denied.

This message only occurs when other remote clients print to this reshared printer after the computer with the shared LPT printer is restarted. The error occurs regardless of the source of the print job (LPR, SMB, Macintosh, and so on).


The problem does not exist when the target computer is a Windows 95 or Windows 98 computer.

Cause

User credentials can only cross one computer boundary, not cross two computers. The second session will be opened with "NULL" user credentials.

Resolution

If printing to another Windows NT print server is required, you can substitute the reshared local port with an LPR/LPD printer port.

Workaround

As a workaround, set up a null session share on the target NT computer. For additional information, please see the following article in the Microsoft Knowledge Base:
121853 Downlevel Print Jobs Not Redirected Correctly

Status

Microsoft has confirmed this to be a problem in Windows NT 4.0. We are researching this problem and will post additional information here in the Microsoft Knowledge Base as it becomes available.

Propiedades

Id. de artículo: 188878 - Última revisión: 02/22/2007 - Revisión: 1

Comentarios