[gptalk] Re: GP make printing impossible

  • From: "Steve Rochford" <Steve.Rochford@xxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Fri, 21 Sep 2007 12:09:18 +0100

A common technique is to do this with a logon script - the printer is
specific to the user so adding it as admin won't put it there for the
next user.


Assuming you have a vbscript logon script then adding something like:


Set oNetwork=createobject("wscript.network")

oNetwork.addwindowsprinterconnection "\\server\printershare
<file:///\\server\printershare> "

oNetwork.setdefaultprinter "\\server\printershare
<file:///\\server\printershare> "


will do the job - obviously, you need to add the proper server and share
name and you'll need logic to determine those (could be based on user or
computer or both)


There's loads of examples in the MS script centre


If you're running 2003 R2 then you can do it with group policies -
-a344-90d7799927231033.mspx?mfr=true has some details. Although it's in
the Vista library it's nothing to do with Vista at all!




From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Craig Meyer
Sent: 21 September 2007 11:49
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] GP make printing impossible



Hi all


I have a GP that prevent users to add a printer so obviously if i want
to install a printer i need to log off and on as the admin. When i do
that i can install the printer successfully but when i log back on as
the user i cannot see the printer. How do i overcome this


BTW , what i then did was to make the user a domain admin and i could
install the printer but obviously that is the wrong way. I also do not
want to disable the GPO as they delete and change settings in their
printer setup.


Win xp pro and Win 2003 Server


Craig Meyer 

"He had no servants - yet they called Him Master, no degrees - yet they
called Him Teacher, no medicine - yet they called Him Healer, no army
yet the Kings feared Him. He won no military battles yet He conquered
the world. he commited no crime yet they crucified Him. He was burried
in a tomb yet He lives 2day...."



Download the latest version of Windows Live Messenger NOW! Click here!

Other related posts: