Default printer per computer

75 pts.
Overview: My network consists of 4 lans, 5 buildings connected by private T1's. I am running AD and print server on a win2003 box. MOST workstations are XP Pro. Issue: I want to have each pc have a set default printer for every user that at any point MAY logon to that computer. Since I have numerous printers, I want to be able to set up each computer individually. Reason/constriction: Administration doe not want users adding printers on their own, or making any changes to any settings, period. I need to make it so that when a person sits down at a particular PC, they will automatically print to a certain printer. Each building has at least 2 printers to choose from, to I will configure the correct one for that PC. Any help?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Use a logon script and copy the below into a batch file to run as the logon script….

rundll32 printui.dll,PrintUIEntry /in /q /n\serverprinter
rundll32 printui.dll,PrintUIEntry /y /n\serverprinter

The 1st line installs the printer and the 2nd sets it as default

Let me know if this helps

Discuss This Question: 4  Replies

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Gforsythe
    Correct me if i am wrong, this would install the same printer and set it default wherever a particular person logged in. I want to set a default printer for anyone who logs onto the particular computer to print, by default, to a particular printer. So if I have a person that usually works on computer 1 can logon to computer 2 and have the printer already setup, or if that person goes from site A to site B and logs onto a computer, the local printer to that computer will already be default when they log in. A solution my require me to do alot of leg work, accessing each PC, that is ok, I only have about 55 pc's. I need to tie specific computers to specific printers, as a default printing ability, so that no matter what, when a person sits at that computer for the first time and logs in, they can print to the nearest printer (that I setup) without having to do ANY configurations.
    75 pointsBadges:
  • JimTrouble
    All you have to do then is add that script as a computer startup script in Group Policy and thats your problem solved. Each time the PC starts it will install the nearest printer you have specifed in the script and then set it as def, so no matter what user logs on they are pointing to the nearest printer. You should create a seperate script for each printer and a seperate GPO for each script. I have done this in a network of 160 PC's and it works a treat. Just disable the GPO whenever the printer has been installed on each PC to speed startup times. Let me know how u go...
    15 pointsBadges:
  • Gforsythe
    Please forgive my ignorance. I understand what you are asking me to do, however, I have done nothing with Group Policy (I know, shame on me). I have been looking into it a bit, can anyone give me a step by step guide on what I need to do? I have done this: Created a file named print patten.bat and placed it into c:batch. I copy pasted the script into it and changed the printer to the name of the serverprinter in AD(serverprinter). I am learning alot from this already!!!
    75 pointsBadges:
  • Corkill
    What we have done is to utilize the "Location" field in AD for both printers and computer objects. Then as part of our user logon script the script look at the computers "Location" and then queries AD for a printer that matches the same Location. (You could do this as a computer start up script also.) This allows us to change printer assignments on the fly, with just a log in/log out to see the changes. This also does not require us to visit each physical workstation, it's all done in AD. So as more printers are added to the environment you simply segment up the building more. This takes some scripting and ADSI knowledge, but works very well for us.
    0 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.


Share this item with your network: