Resupply Credentials to Printer Windows 7

6,223

Solution 1

Solved...

Quite simple really

net use \\server\printer password /user:domain\userid

I put that into a batch file and then can just run it.

I can also add it via PowerShell, but that's another story... :)

Solution 2

My passwords also change every 90 days, and the only passwords that I let Windows store are for printers. File shares use my Windows (domain) credentials, and web sites auto-enter my credentials via lastpass.com. (I never let IE {a.k.a., Internet Exploder} store passwords.)

I suggest letting Windows store your printer passwords.

Share:
6,223

Related videos on Youtube

klkitchens
Author by

klkitchens

I was born at an early age... I have been a programmer since I taught myself BASIC in Highschool using Thomas Dwyer's "BASIC and the Personal Computer". From there to college courses to FoxPro, Visual Basic 1.0 with the Programmer's Toolkit. Worked from VB1.0 - VB.6.0, then on to .NET where I made the switch to C#.

Updated on September 17, 2022

Comments

  • klkitchens
    klkitchens over 1 year

    I'm working on my personal laptop and attach to various drives, machines, printers, etc. as needed. I'm NOT connected directly to the domain.

    Due to password change restrictions, I do not let it store my password, instead I reauthorize each time I need a resource (not that big a deal really).

    Our passwords change every 90 days and I had a situation where the printer kept trying to reconnect with the old stored password. After 5 fails, my account would lock out and I'd have to visit IT Support. Lots of fun.

    Every other resource lets me respecify the credentials when I want to map to it. \SERVER\SHARE and it prompts me.

    However, when I add a printer, I give my credentials and tell it not to save them. Works fine UNTIL a reboot. Then the printer is still there just fine and I can print to it, however all documents are just "pending" because the printer is "offline".

    How can I take an existing printer and resupply the credentials so that it will come back online? Deleting the printer and re-adding it is WAY overkill.