Microsoft KB Archive/188878

= Printing to Local Port May Fail with Access Denied Error =

Article ID: 188878

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition

-



This article was previously published under Q188878





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.

Additional query words: null session pipes

Keywords: kbnofix kbprb KB188878

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.