Install and Add Network Printers from the command line

You can install network printers from the command line or with a batch file without the need of local admin access.  This way users can, for example, install a local network printer on their laptop when they are on a remote site.  This will work from Win 7 upwards to 10 and you don’t need to install anything. The scripts that are used are installed by default in C:\Windows\System32\Printing_Admin_Scripts.

There are 3 steps to take to install a printer. Try to use as many general drivers as possible to ease up the installation.

If you want to use PowerShell, then make sure you check out this post

Step 1 – Install the driver

Look inside the INF file to get the correct driver name that is used.

Step 2 – Add the printer port

Step 3 – Add the printer

 

Get more stuff like this

IT, Office365, Smart Home, PowerShell and Blogging Tips

I hate spam to, so you can unsubscribe at any time.

Comments

  1. How do you know which .inf file to use? We have like 8 files with .inf extension. Also, does the driver name have to match the name in the .inf file or can you just call it whatever name you want? If it needs to match where in the .inf file do you get the driver name? Thanks.

Leave a Comment