9 replies
by bfilmfan
Might be the simplest solution if you plan to have all the users in the same OU. If you plan to use sub-OU's, you could do it via GPO.
If you wanted to get truly fancy, you could do it via GPO and filter it by security group, but this will increase the GPO processing time on the end systems. This might or might not be an issue depending on the size of your environment and speed of the links between Active Directory sites.
by joshhansen
This answer is user based. I need a PC based solution so that when any domain member logs on to a particular computer, it's default printer will be the one it is supposed to be without anyone having to manually set it.
by razz2
You could write one script and have it check membership for you.
Use the Resource Kit tool ifmember.exe.
It is available for download here:
http://www.microsoft.com/windows2000/techinfo/reskit/tools/new/ifmember-o.asp
And instructions are her:
Good Luck,
razz
by joshhansen
This answer is user based. I need a solution that is PC based so that when any domain member logs on to a particular computer, it's default printer will be the one it is supposed to be without anyone having to manually set it.
by ccollins
On the OU containing the computers place a GPO with the logon printer script in the User Configuration section of the OU. That way anyone who uses the machine gets the machine default printer through a log on script (net use or Object.AddWindowsPrinterConnection). You can modify which machines this applies to by defining a group in the GPO scope.
This works as long as you keep an eye on enforced user-based GPOs which will override it.
by joshhansen
by ewgny
You are correct. You can use a logon script that queries LDAP/Active directory for group membership, then installs or sets a printer as default based on that membership
It can work based on the user "objuser" or the computer "objcomputer"
See this link
http://tinyurl.com/4zzvq
He has written and shared a lot of good scripts
Within this script "Logon #3"
Replace the "front office" with the name of the global group you create. that contains the computer objects you want to control
If IsMember(objComputer, "Front Office") Then
objNetwork.AddWindowsPrinterConnection "\\PrintServer\HPLaser2"
objNetwork.SetDefaultPrinter "\\PrintServer\HPLaser2"
End If
I use this method to install and set default printers based on both user group and computer group membership
and it works well.
by joshhansen
Your awesome!
by joshhansen
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending