Using con2prt.exe within a Kix command, if they are in the “Printer_HP_P2014N” security group in Active Directory, it will connect the HP P2014N printer and sets it as the users default printer (using the “/cd” switch) . This is a Kix command and you will need Kix as well for it to work but it works great if you want to map a printer and set it as a default printer for a user based on a security group. So if the user moves to another part of the office and needs a different printer as their default, we just chage their group membership.

Remove all network printers:

con2prt /f

This is great for when you installing a new print server and want to quickly remove all old, non-existent printers from users profile.