Windows printer management using built-in VBS scripts at the command line

article #837, updated 2512 days ago

From Windows 7 on, Microsoft has thoughtfully provided us with VBS scripts for command-line printer management, here:

C:\Windows\System32\Printing_Admin_Scripts

In this dot on the globe, we go to the following system folder to see them all, there are several:

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

To delete printer named ASDF:

cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -d -p "ASDF"

Categories: