Users can't normally add printers you'll need to give them print operator or some other kind of elevated privileged to do that. JK -----Original Message----- From: windows2000-bounce@xxxxxxxxxxxxx [mailto:windows2000-bounce@xxxxxxxxxxxxx]On Behalf Of Mark Guzzo Sent: Tuesday, April 08, 2003 5:10 PM To: windows2000@xxxxxxxxxxxxx Subject: [windows2000] Re: GPO Logon Script & Printers ??? OK, I don't use the CASE, but I am using Kix and the script works when I login. But the users (yes the script is running for them) do not get the printers added. If I make my test user a Domain Admin, then the test user WILL get the printers. Seems as if the Group - Domain Users - is not getting the printers. On Tue, 2003-04-08 at 15:53, Greg Reese wrote: > I map them with Kix based on group membership. > > Kix will let you write a case statement. For all my printers, it ends = > up looking like this (hopefully this will work, i have a feeling the = > formatting is going to get shredded): > > > SELECT > ; Regency Oaks > CASE ingroup ("Regency") =3D 1 > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 4 - RO MC") ;Model > Center > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 4 - RO HH") ;Home Health > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 4 - RO MDS") ;MDS > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 4000 - Regency Oaks") > ;Business = > Office > ADDPRINTERCONNECTION ("\\JEC-FPS\HP DJ 1120C - RONACT") ; > Regency Oaks = > North Activities > ADDPRINTERCONNECTION ("\\JEC-FPS\Canon iR5000 - Regency") > ;Regency = > Canon imageRunner5000 copier > GOTO RODEFAULT > > ; Lakeport > CASE ingroup ("LakePort") =3D 1 > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 4 - LP MC") ;Model > Center > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 4 - LP HH") ;Home Health > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 4 - LP MDS") ;MDS > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 4000 - Lake Port") > ;Business = > Office > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 5L - LP FS") ;Lakeside > East = > Food Service > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 5L - LP MAINT") > ;Lakeside East = > Maintenance > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 5L - LHHC ADMIN") ;LHHC = > Administrator's Office > GOTO LPDEFAULT > > ; Southport > CASE ingroup ("SouthPort")=3D 1 > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 4 - SP MC") ;Model > Center > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 4 - SP HH") ;Home Health > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 4 - SP MDS") ;MDS > ADDPRINTERCONNECTION ("\\JEC-FPS\HP LJ 4000 - Southport") > ;Business = > Office > ADDPRINTERCONNECTION ("\\JEC-FPS\OKI24 DX - HHC Wing C") > ;Nurses C = > Wing > ADDPRINTERCONNECTION ("\\JEC-FPS\OKI24 DX - HHC Wing A") > ;Nurses A = > Wing > ADDPRINTERCONNECTION ("\\HHC-MySQL\HP LJ 1100 - HHC DON") ;HHC > DON > ADDPRINTERCONNECTION ("\\JEC-FPS\Canon iR5000 - Southport") > ;Southport = > Canon imageRunner5000 copier > GOTO SPDEFAULT > Case 1 > GOTO END > ENDSELECT > > ;Now that the printers are created, set one for default > > :RODEFAULT ;Regency Oaks Network Printers > > SELECT =20 > Case ingroup ("ROMC") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 4 - RO MC") ;Model Center > GOTO END > Case ingroup ("ROHH") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 4 - RO HH") ;Home Health > GOTO END > Case ingroup ("ROMDS") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 4 - RO MDS") ; MDS > GOTO END > Case ingroup ("ROBO") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 4000 - Regency Oaks") ; > Business = > Office > GOTO END > Case ingroup ("RONACT") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP DJ 1120C - RONACT") ; North = > Activities > GOTO END > Case 1=20 > GOTO END > ENDSELECT > > :LPDEFAULT ;Lake Port Square Network Printers > =09 > SELECT > Case ingroup ("LPMC") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 4 - LP MC") ;Model Center > GOTO END > Case ingroup ("LPHH") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 4 - LP HH") ; Home Health > GOTO END > Case ingroup ("LPMDS") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 4 - LP MDS") ; MDS > GOTO END > Case ingroup ("LPBO") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 4000 - Lake Port") ; > Business = > Office > GOTO END > Case ingroup ("LPFS") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 5L - LP FS") ; Lakseside > East Food = > Service > GOTO END > Case ingroup ("LPMAINT") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 5L - LP MAINT") ; Lakeside > East = > Maintenance > GOTO END > Case ingroup ("LHHCADMIN") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 5L - LHHC ADMIN") ; LHHC = > Administrator's Office > GOTO END > Case 1 > GOTO END > ENDSELECT > > :SPDEFAULT ;South Port Square Network Printers > > SELECT > Case ingroup ("SPMC") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 4 - SP MC") ;Model Center > GOTO END > Case ingroup ("SPHH") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 4 - SP HH") ; Home Health > GOTO END > Case ingroup ("SPMDS") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 4 - SP MDS") ; MDS > GOTO END > Case ingroup ("SPBO") =3D 1 > SETDEFAULTPRINTER ("\\JEC-FPS\HP LJ 4000 - Southport") ; > Business = > Office > GOTO END > ;Case ingroup ("HHWINGC") =3D 1 > ;SETDEFAULTPRINTER ("\\JEC-FPS\OKI24 DX - HHC WING C") ; Wing C > ;GOTO END > ;Case ingroup ("HHWINGA") =3D 1 > ;SETDEFAULTPRINTER ("\\JEC-FPS\OKI24 DX - HHC WING A") ; Wing C > ;GOTO END > Case ingroup ("HHDON") =3D 1 > SETDEFAULTPRINTER ("\\HHC-MySQL\HP LJ 1100 - HHC DON") ; DON > GOTO END > =09 > GOTO END > ENDSELECT > =09 > > > :END > > -----Original Message----- > From: Mark Guzzo [mailto:marguz@xxxxxxxxxxxxx] > Sent: Tuesday, April 08, 2003 4:47 PM > To: windows2000@xxxxxxxxxxxxx > Subject: [windows2000] GPO Logon Script & Printers ??? > > > > Hello, > > My boss would like me to set up a login script that will map printers > from the print server to there PC. I've noticed that when I login the > printers are mapped, but if the user (Domain Users - GROUP) logs in, the > printers are NOT mapped. > > I think it is a permission thing, as the users are NOT given rights to > install apps on there PC's. Is there a way to get around this to map > printers via login script? > > TIA > > Mark > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= > =3D=3D=3D=3D=3D=3D=3D=3D=3D > To Unsubscribe, set digest or vacation > mode or view archives use the below link. > > http://thethin.net/win2000list.cfm > > ================================== > To Unsubscribe, set digest or vacation > mode or view archives use the below link. > > http://thethin.net/win2000list.cfm ================================== To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm ================================== To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm