Keep network printer credentials permanently?

john jin 6 Reputation points
2020-11-26T16:39:11.3+00:00

I have the following windows server 2019 environment setup:

-windows print server

-IIS 10 with the https printer page

-Windows AD

I can setup network printer on client machine with the following Powershell script given the driver is installed on the client machine:

Add-Printer -Name "My Server Printer" -PortName "https://domain-name/printers/printername/.printer" -DriverName "Drivername"

But every now and then, the client machine stops accessing the printer properly and just gives out straight 'access denied' message. I'll have to remove the printer, remove the port setting, re-add the printer back to make it working again before it denies me yet again.

Other times it will ask me for network credentials even I'm already logged in as one of the domain users who has permission to print/change the printer.

How do I make my settings permanent?

Thanks for any help.

Windows for business | Windows Server | User experience | Print jobs
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2020-11-27T02:44:19.81+00:00

    Hello @john jin

    1). Does this issue occurred randomly or regularly?
    2). Can you dig into the event log , and find out is there any more detailed error message when the issue occurred ?
    3). Have you try using other method to setup printer than powershell?
    4). Close any Anti-Virus software or restart print spooler service, and see if the issue persist?
    5). Run the Printer troubleshooter and check if it helps.
    43136-image.png

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards
    Karlie


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.