Need to keep local printer default after running con2prt batch file to install network printers.
Posted on 2003-11-11
I am running a bacth file with con2prt that installs several network printers to the local user when they logon. The batch deletes current printers and reinstalls the list each time the user logs on. I have left all of the con2prt commands as /c not having any of them install as default, knowing that the first one in the list gets tagged as default, by default. The problem is that when a user with a local printer logs on, their local printer gets thrown out as default and the first network printers takes that position as default. The user always needs to keep their local printer as default, if they have a local printer. Otherwise, the batch works in setting the first network printer as default which is okay. How do I keep the local printer default during this process.