dubsdj Posted September 3, 2007 Posted September 3, 2007 I'm having a problem with deleting old network printer connections that are no longer used that are in the registry.Does anybody know of a script that can do this and be used with Group Policy?The annoying thing is that when the user is logging in to the computers they are defaulting to the old disconnected printer.I have tried the whole set default printer script but it never works, it only seems to work if I run it from their desktop. I tried putting the set default printer script in the Computer Startup GPO and the user logon script GPO but it just never seems to work... The printer still defaults to the disconnected network printer.Maybe its just me but I think the whole adding and removing network printers is more complicated than it should be... Maybe I'm just missing something..
cluberti Posted September 3, 2007 Posted September 3, 2007 If you don't mind learning a bit of Kix (assuming you don't know it already), you can do it pretty easily like this.
eyeball Posted September 3, 2007 Posted September 3, 2007 use the following\\server\share\con2prt.exe /fin a login script and that will delete all printer network printer connections u will need to search for con2prt on google
chilifrei64 Posted September 5, 2007 Posted September 5, 2007 This one will remove all printers attached to a specified print server (ie. you migrated to a newer print server)http://lazynetworkadmin.com/content/view/60/6/
dubsdj Posted September 8, 2007 Author Posted September 8, 2007 Well I had no luck with all of the things above.Here's how i fixed my problem1. I created a batch file and installed the printers2. I then added the Stop and Start print services into the batch file after I had installed the printers.3. I put the batch file in the group policy computer startup4. I then created another batch file which runs the con2prt.exe and sets the printer i wanted as a default.5. I created a shortcut to the con2prt batch file and put it in the all users startup folder on the machines where I wanted to default printer to be set.I know its a bit of a dick in hand approach but it worked for me...I hate printers.... For something so simple It's been a real nightmare to achieve.
IcemanND Posted September 8, 2007 Posted September 8, 2007 are these printers on a print server or are they directly attached to the network? Postsript or PCL drivers?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now