What Server OS are you using on your domain? If you are using Windows Server 2008 or higher, you may be able to do this without scripts at all, and simply use Group Policy preferences. See this article -> http://blogs.technet.com/b/grouppolicy/archive/2009/06/24/gp-preferences-set-a-default-printer.aspx You'll note that you can share a printer, update a shared printer to be default and also update a shared printer to be default ONLY if there is no local printer present, which seems to cover what you need. If you want to target specific computers, users, OU's, security groups etc, you can use Item Level targeting from the Common tab shown in the article I mentioned. (more info here -> http://technet.microsoft.com/en-au/library/cc733022.aspx) I'm happy to provide assistance on this as I use this feature across the 4 schools networks I manage.