Re: Script to add printer



I have to argue about the rights to install, a user does not need local
rights to connect to a network printer that's published in AD, i'm not
installing a local printer

"Kurt" <lorentzenkurt@xxxxxxxxxxxxxxxxxx> wrote in message
news:11rbtscn8rj78f6@xxxxxxxxxxxxxxxxxxxxx
> This was in case your users didn't have the rights to install printers. A
> startup script runs before the user logs on so is not limited by the
> user's lack of rights.
> Darren makes a good argument for loopback scripts if you want to assign
> different printers for the same user when they log onto different
> machines. I would be interested to know what "unreliable" issues Darren
> has had. I have used this to set up printers without problems, but that
> doesn't mean I won't have problems next time. Anyway, this would not
> assign printers based on particular users if that's what you needed. If
> you decide to go with the loopback GPO in a logon script, the users will
> still have to have rights to install a printer I think.
>
> ...kurt
>
> "Jeniffer K" <me@xxxxxx> wrote in message
> news:ef0ykxUDGHA.2036@xxxxxxxxxxxxxxxxxxxxxxx
>> why should startup scripts work better then logon scripts, do I assign
>> the startup script to the users OU or machine OU, does this command allow
>> you to set as default, also I have tried using the rundll32
>> printui.dll,PrintUIEntry command before but was never successful
>>
>> "Kurt" <lorentzenkurt@xxxxxxxxxxxxxxxxxx> wrote in message
>> news:11r7ud31um68v04@xxxxxxxxxxxxxxxxxxxxx
>>> You can assign printers for all users using a startup script (rather
>>> than a logon script) and rundll32.exe, i.e.
>>>
>>> rundll32 printui.dll,PrintUIEntry /q /ga /n \\PrintServer1\Room306
>>>
>>> ...kurt
>>>
>>> "Jeniffer K" <me@xxxxxx> wrote in message
>>> news:%233xlmpCDGHA.2040@xxxxxxxxxxxxxxxxxxxxxxx
>>>> Dear NG, I'm facing the following scenario
>>>>
>>>> I've setup a network in a school that has over 700 students that will
>>>> all use the newly created computer labs, we have about 7-8 labs and 2
>>>> public libraries, one of the things I need to accomplish is to simplify
>>>> the printer creation process, the problem is that the same user will
>>>> move around from lab to lab and of course the public library's we have
>>>> different printers setup all over the place, I was thinking of setting
>>>> up scripts based on the computer so no mater where the user logs on
>>>> they will get the correct printer automatically created for them and
>>>> set as the default, I have created a procedure but its not working
>>>> perhaps one can point me where is off
>>>>
>>>> I've created a ou called pcslab1
>>>> I've moved all the pc's from lab 1 to the above ou
>>>> I've created a vb script called addprnt.vbs (see script below) to add
>>>> the appropriate printer and set as default
>>>> I've created a group policy for the above ou and assigned the
>>>> addprnt.vbs logon script
>>>>
>>>> if I double click the script manually it works fine, also no events
>>>>
>>>> here is the script...
>>>>
>>>> Option Explicit
>>>> Dim objNetwork, strUNCPrinter
>>>> strUNCPrinter = "\\servername\sharename"
>>>> Set objNetwork = CreateObject("WScript.Network")
>>>> objNetwork.AddWindowsPrinterConnection strUNCPrinter
>>>>
>>>> objNetwork.SetDefaultPrinter strUNCPrinter
>>>> WScript.Echo "Check the Printers folder for : " & strUNCPrinter
>>>>
>>>> WScript.Quit
>>>>
>>>> I'd appreciate any help, thanks in advanced
>>>>
>>>
>>>
>>
>>
>
>


.



Relevant Pages

  • Re: internet printing
    ... Search the Microsoft Knowledge Base here: ... This posting is provided "AS IS" with no warranties, and confers no rights. ... printers that i've. ... with the installation, but i'm not able to install those printer driver. ...
    (microsoft.public.windowsxp.print_fax)
  • Re: Installing printers...
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... prnport.vbs will create the port (on XP you need to specify the port ... prndrvr.vbs will install signed drivers (use rundll32 on printui to ... Let's say I have twenty printers connected to jetdirect print ...
    (microsoft.public.windowsxp.print_fax)
  • Re: power users have too many rights
    ... If regular users could install printers then ... > My problem is that power users have too many rights. ...
    (microsoft.public.win2000.security)
  • Re: Add/Remove Printers on all Servers in a domain
    ... By default "Print Operators" should be able to install printers. ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.win2000.security)
  • Re: how to install a .msp using GPO
    ... share permissions to full control is best practise. ... This posting is provided "AS IS" with no warranties, and confers no rights. ... Will this install with the proper permissions? ... deploying or adding the patch with a startup script. ...
    (microsoft.public.windows.group_policy)