Announcement

Collapse
No announcement yet.

Adding a printer remotely with rundll32 printui.dll,PrintUIEntry

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding a printer remotely with rundll32 printui.dll,PrintUIEntry

    HELLO!

    I want to use the rundll32 printui.dll,PrintUIEntry to add a printer driver
    from my pc (winxp) to a server (2003)

    i want to use this line for adding new printers to multiple servers in our farm
    i wrote

    rundll32 printui.dll,PrintUIEntry /if /b "Canon MPC600F Printer" /c\\SERVERNAME /f u:\printersd\Canon\English\PrnDrv\mpf50.inf /r "lpt1:" /m "Canon MPC600F Printer"

    when i use the command at my pc is ok but whit the "c/" switch to install remotely dosn't work.
    I GET the arguments are invalid.

    Instead of a /if switch i wrote the /ia for only driver install (thats what i really want at my farm ) then i got only the windows logo test and then the command finish but nothing installed.

    Is anyone as used this command properly??
    thank you

  • #2
    Re: Adding a printer remotely with rundll32 printui.dll,PrintUIEntry

    Why not to use http://www.microsoft.com/technet/sys...es/psexec.mspx or VBS script?
    Best Regards,

    Yuval Sinay

    LinkedIn: https://www.linkedin.com/in/yuval14, Blog: http://blogs.microsoft.co.il/blogs/yuval14

    Comment


    • #3
      Re: Adding a printer remotely with rundll32 printui.dll,PrintUIEntry

      Hello
      I wanted to learn the rundll issue
      vbs i don't know so well and i dont know how to make to work remotely
      and i dont want to go to each server at our farm to install a printer

      The PeSxecv I didn't understand how to install remotely a printer whit inf file at the network from my pc to a server?
      If you can help me, meanwile I will search for in GuGLO
      THANKS

      Comment


      • #4
        Re: Adding a printer remotely with rundll32 printui.dll,PrintUIEntry

        Did you tried to use:

        http://support.microsoft.com/kb/189105
        Best Regards,

        Yuval Sinay

        LinkedIn: https://www.linkedin.com/in/yuval14, Blog: http://blogs.microsoft.co.il/blogs/yuval14

        Comment


        • #5
          Re: Adding a printer remotely with rundll32 printui.dll,PrintUIEntry

          Yes of course
          It was the beginig of my question.

          Iwill use psexec amd then write a rundll file ,and use @file switch.

          Thanks

          Comment

          Working...
          X