1

if we have around 30 Windows 10 PC and multiple Network printers

I need a software for managing those printers from my desk, for example If I need to install/manage/delete a printer at desktop number 10. I want to do that from my system without interrupting the users.

Is there any printer management software doing this job??

2
  • 1
    Are you certain that you must have opensource, or would gratis do? The latter is likely to generate more answers.
    – Mawg
    Commented Nov 13, 2018 at 11:01
  • What brand(s) of printer?
    – cybernard
    Commented Nov 16, 2018 at 12:50

1 Answer 1

1

The code is provided by microsoft, and of course copy writed Microsoft However, the source code is visible, and I don't know if that is close enough, but its as close as I have ever seen to open source. However, all the real work is done with the WMI windows interface. All the scripts could be rewritten to support any language that have WMI support. I saw a WMI for linux, but the version I saw was super old and unmaintained so I won't mention it.

These scripts are provided by Microsoft free on Windows 10 and probably Windows 7. I don't know if they are available on any previous version of windows.

C:\Windows\System32\Printing_Admin_Scripts\en-US

cscript prnmngr.vbs -u username -w "password" -s computername -d -p "printer name"

This deletes a printer.

Adding a printer is more complex, as you have to install a driver,create a port, and then link them all together.

I used the MicrosoftDeploymentToolkit_x64 to create a repository. Once installed launch DeploymentWorkbench

enter image description here

adding HP drivers

Here's a script for installing printers that I wrote based on the above scripts.

Line 222 has to be modified to point to your driver repo.

https://drive.google.com/file/d/1d1l4d-pM6obwkARTU5n4i1b3fyNLrJAp/view?usp=sharing

If you don't have a domain try either omitting that and the slash completely OR substituting a period for domain. Either administrator or .\administrator

cscript printer.vbs -u domain\username -w "password" -d "HP Universal Printing PS (v6.6.0)" -i hpcu215v.inf -h "\\server name\drivers\USB\hpbuio200l_1.0.0.245_274C803A4F23C650047D1DF926CE1115098F5BDCEA7352C797E500E194FD2227" -p printername -s computername

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.