Oh awesome. Great work!
Have yourself a great weekend, and please leave a positive review if possible!
Thanks!
- C
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello everyone,
At my last job I was privy to a script that allowed a user to click it which installed the network printer we were all using. This would be extremely helpful for our temporary staff that needs access to our printer rather than manually trying to find it. If anyone is aware of the code to add a network printer via script I would be greatly appreciative.
Thanks,
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Oh awesome. Great work!
Have yourself a great weekend, and please leave a positive review if possible!
Thanks!
Ok, try this for the batch file:
%SystemRoot%\explorer.exe \ServerName\PrinterName
Let me know if you have better luck.
Hi JDem,
We should be able to accomplish this, given you know the printer server name, and the names of the printers you are trying to add.
I just made some recently for this very purpose. Verify you have the info you’ll need and I’ll get back to you a bit later with the how to make the script and what to put in there. Just need to locate them.
I’ll be in touch!
Space between explorer.exe and \
Ok,
So here is the information that I gathered from my understanding:
Server Name: WINESRNSPRP03
Printer Name: us09_13_x5766
Printer Port - 10.112.198.234
Thanks