Jump to content
Sign in to follow this  
Digerati

Add Printer from batch file

Recommended Posts

You can add these in batch scripting or logon scripting to aid in the adding and deletion of printers.

 

add printer

rundll32 printui.dll,PrintUIEntry /in /n \\server1\1220C

 

delete printer

rundll32 printui.dll,PrintUIEntry /dn /n \\server1\PRT4

Share this post


Link to post
Share on other sites

This works great for the use of Active Directory and Windows Administration with Network Users.

 

I use this on a daily basis. Very very helpful.

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...