Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remembering the password for a network printer

Status
Not open for further replies.

Algernon83

Programmer
Jun 25, 2004
50
US
I have a printer shared on my network, with a password on it. I'm able to connect to it from a remote PC and print documents after entering a user name and password, but I have to repeat the process whenever I reboot. How can I get Windows to remember the user name/password for the printer?
 
OK, this is fixed. What I ultimately did, for anyone having the same problem, was to make a .vbs file and put it in my startup folder, which connects to the printer like so:

Set objNetwork = Wscript.CreateObject("WScript.Network")
objNetwork.AddPrinterConnection "LPT2", "\\computername\printername", , "user", "password
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top