Home All Groups Group Topic Archive Search About

Make printer available to computer object in AD

Author
10 Mar 2006 2:34 AM
Chris Hedlund
I would like to make a printer available only to users who log onto specific
machines on the network. These are lab computers, and when the students come
into the lab and log onto the computer, they print to the lab printer, but
when they log on to computers elsewhere in the school, the lab printer is no
longer available.

Can this be done in AD?

Thanks,

Chris

Author
10 Mar 2006 8:07 AM
Paul Williams [MVP]
If you have R2, look at the new printer management tool:
-- 
http://www.microsoft.com/downloads/details.aspx?familyid=83066DDC-BC96-4418-A629-48C8ABD2C7A0&displaylang=en


If you don't, you're going to need a startup script on these lab machines
that will install a printer.  Look at rundll32 printui.dll, PrintUIEntry
[options] for more help on this matter.

Note.  Start-up scripts are applied via the computer settings of GPO.

--
Paul Williams
Microsoft MVP - Windows Server - Directory Services
http://www.msresource.net | http://forums.msresource.net
Author
10 Mar 2006 3:22 PM
Chris Hedlund
"Paul Williams [MVP]" <ptw2***@hotmail.com> wrote in message
news:eT1QumBRGHA.1868@TK2MSFTNGP09.phx.gbl...
> If you have R2, look at the new printer management tool:
>  --
>
http://www.microsoft.com/downloads/details.aspx?familyid=83066DDC-BC96-4418-
A629-48C8ABD2C7A0&displaylang=en
Show quoteHide quote
>
>
> If you don't, you're going to need a startup script on these lab machines
> that will install a printer.  Look at rundll32 printui.dll, PrintUIEntry
> [options] for more help on this matter.
>
> Note.  Start-up scripts are applied via the computer settings of GPO.
>
> --
> Paul Williams
> Microsoft MVP - Windows Server - Directory Services
> http://www.msresource.net | http://forums.msresource.net
>
>
Author
10 Mar 2006 3:23 PM
Chris Hedlund
Sorry - forgot to mention that it's Windows 2000 - I'll look into the start
up scripts (and the new printer management tool for R2 :-))

thanks,


"Paul Williams [MVP]" <ptw2***@hotmail.com> wrote in message
news:eT1QumBRGHA.1868@TK2MSFTNGP09.phx.gbl...
> If you have R2, look at the new printer management tool:
>  --
>
http://www.microsoft.com/downloads/details.aspx?familyid=83066DDC-BC96-4418-
A629-48C8ABD2C7A0&displaylang=en
Show quoteHide quote
>
>
> If you don't, you're going to need a startup script on these lab machines
> that will install a printer.  Look at rundll32 printui.dll, PrintUIEntry
> [options] for more help on this matter.
>
> Note.  Start-up scripts are applied via the computer settings of GPO.
>
> --
> Paul Williams
> Microsoft MVP - Windows Server - Directory Services
> http://www.msresource.net | http://forums.msresource.net
>
>
Author
20 Apr 2006 12:56 PM
Anneli Hultberg
Hi!

I tried to use a vbs script and set it as a startup script, but the printers
are not installed.
Do I need to change any other GPO setting?

This is my vbs script:

' PrintersLong.vbs - Windows Logon Script.
' VBScript - Connect a network printer with AddWindowsPrinterConnection
' Author Guy Thomas http://computerperformance.co.uk/
' Version 2.2 - April 24th 2005
'
------------------------------------------------------------------------------'
Option Explicit
Dim objNetwork, strUNCPrinter1, strUNCPrinter2
strUNCPrinter1 = "\\atla\OCE_2050"
strUNCPrinter2 = "\\atla\HP_2300_EXP"
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection strUNCPrinter1
objNetwork.AddWindowsPrinterConnection strUNCPrinter2

' Here is where we set the default printer to strUNCPrinter
objNetwork.SetDefaultPrinter strUNCPrinter1
' WScript.Echo "Check the Printers folder for : " & strUNCPrinter1
WScript.Quit

' End of Guy's Windows  logon script.


Show quoteHide quote
"Paul Williams [MVP]" wrote:

> If you have R2, look at the new printer management tool:
>  -- 
> http://www.microsoft.com/downloads/details.aspx?familyid=83066DDC-BC96-4418-A629-48C8ABD2C7A0&displaylang=en
>
>
> If you don't, you're going to need a startup script on these lab machines
> that will install a printer.  Look at rundll32 printui.dll, PrintUIEntry
> [options] for more help on this matter.
>
> Note.  Start-up scripts are applied via the computer settings of GPO.
>
> --
> Paul Williams
> Microsoft MVP - Windows Server - Directory Services
> http://www.msresource.net | http://forums.msresource.net
>
>
>