default printer

  • Thread starter Thread starter jacob
  • Start date Start date
J

jacob

I have 4 labs and 10 rooms with multiple computers that
all need a default printer based on the computer not user.
Currently the only way that I have found to do this is a
registry hack and I have to go to every machine. Why can't
I set a default printer based on the computer in group
policy? or can I and I just have not found out how.
 
You can put in a registry entry via a logon script using
the REG ADD command. Go to command prompt and type "REG
ADD /?" for the options and switches. Works like a charm.

KK
 
jacob said:
I have 4 labs and 10 rooms with multiple computers that
all need a default printer based on the computer not user.
Currently the only way that I have found to do this is a
registry hack and I have to go to every machine. Why can't
I set a default printer based on the computer in group
policy? or can I and I just have not found out how.


You can do this using loopback processing and a logon script.

The way I did this was as follows:

Create an OU
Place the computers that should get that printer as default into the OU
Create a GPO for that OU

Computer Configuation > Administrative Template > System > Group Policy
Enable User Group Policy loopback processing mode (merge)
User Configuration > Windows Settings > Scripts > logon

The logon script I used was a batchfile (e.g. printer1.bat)

rundll32 printui.dll,PrintUIEntry /ga /in /n"\\print_server\printer1"
rundll32 printui.dll,PrintUIEntry /y /n\\print_server\printer1

(Assuming that in this case the printer was called "printer1")
 
Back
Top