We use ifmember.exe and con2prt.exe for some of our locations that need printers setup by location when they are not set that way in AD.
Printers_Finance is a Security Group, we add the users to this group or delegate that to a dept head. We also give that dept head right to modify this file in the netlogon folder and add printers as their dept gets them. Some locations we just do it all ourselves. This way we can create logical groups that may not be in the same physical locations as everyone else and I don't have to worry about GPO's. FYI, vbscript runs much faster!!! We do that whenever possible. ifmember "Printers_Finance" if errorlevel 1 call pr_finance.bat "pr_finance.bat" @echo off echo Setting up Finance Printers... Please Wait con2prt.exe /c \\%servername%\Finance Greg From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2008 12:00 PM To: NT System Admin Issues Subject: Re: Assigning printers "Tom Miller" <[EMAIL PROTECTED]> wrote on 08/11/2008 10:56:07 AM: > Hi Folks: > > I am moving my file and print services from eDirectory (Netware) to > AD DS. We plan to use SCCM, but I may not have it operational in > time for the migration. Can someone suggest a method to associate > users with network printers (so that the printer, drivers get > install automatically on the PCs if necessary)? GPOs, scripting? I do it with a script, in the login script. I check group memberships, and assign printers accordingly (I try to have each department be it's own group). You either can do it in a VBScript, or call it from an old-style batch file, by using the "con2prt" utility. ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
