ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Group Policy - Printer Deployment

    Scheduled Pinned Locked Moved IT Discussion
    18 Posts 6 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G I JonesG
      G I Jones @dbeato
      last edited by

      @dbeato I don't have that under Windows settings. Just Scripts, Security Settings, Folder Redirection, Policy-based Qos. 😞

      dbeatoD 1 Reply Last reply Reply Quote 0
      • dbeatoD
        dbeato @G I Jones
        last edited by

        @g-i-jones said in Group Policy - Printer Deployment:

        @dbeato I don't have that under Windows settings. Just Scripts, Security Settings, Folder Redirection, Policy-based Qos. 😞

        What is your DC OS? This has been there since Server 2003, 2008 .

        G I JonesG 1 Reply Last reply Reply Quote 0
        • G I JonesG
          G I Jones @dbeato
          last edited by

          @dbeato 2012 R2

          G I JonesG dbeatoD 2 Replies Last reply Reply Quote 0
          • G I JonesG
            G I Jones @G I Jones
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • dbeatoD
              dbeato @G I Jones
              last edited by

              @g-i-jones said in Group Policy - Printer Deployment:

              @dbeato 2012 R2

              Install the Print Management tools on the server, it should show after that.

              0_1534367417712_2018-08-15_17-10-01.png

              G I JonesG 1 Reply Last reply Reply Quote 2
              • G I JonesG
                G I Jones @dbeato
                last edited by

                @dbeato Bro, thank you!

                1 Reply Last reply Reply Quote 1
                • JaredBuschJ
                  JaredBusch
                  last edited by

                  Fuck printers.
                  Fuck printer servers.
                  Fuck GPO based printing.

                  pmonchoP scottalanmillerS 2 Replies Last reply Reply Quote 6
                  • JaredBuschJ
                    JaredBusch
                    last edited by JaredBusch

                    I'm right in the middle of scripting printer deployment.

                    This is the script that I made @TechnicalAngel work out for one of our clients.

                    #Jeff City HP 500 Color MFP
                    # setup the variables to throughout. These will become parameters.
                    $PrinterName = "HP 500 Color"
                    $PrinterPort = "10.202.20.23C"
                    $PortHost = "10.202.20.23"
                    $DriverLocation = "\\someshare\Software\Drivers\Printers\HP_LJPM570\hpcm570u.inf"
                    $DriverName = "HP LaserJet 500 color MFP M570 PCL 6"
                    
                    
                    # Import Print Management Module
                    Import-Module PrintManagement
                    
                    # Remove any existing printer port
                    # you will see an error is it does not exist, just ignore
                    # todo wrap in if statement
                    Remove-PrinterPort -name $PrinterPort
                    
                    # Add the printer port
                    Add-PrinterPort -Name $PrinterPort -PrinterHostAddress $PortHost
                    
                    # Add the driver to the driver store
                    # using this because had failures with -InfPath in Add-PrinterDriver
                    Invoke-Command {pnputil.exe -a $DriverLocation }
                    
                    # Add the print driver 
                     Add-PrinterDriver -name $DriverName
                    
                    # Add the printer
                    Add-Printer -name $PrinterName -PortName $PrinterPort -DriverName $DriverName
                    
                    # Set printer to print mono or color
                    Set-PrintConfiguration -PrinterName $PrinterName -Color $true
                    
                    ###Set this printer as the default printer
                    $Printers = Get-WmiObject -Class Win32_Printer
                    $Printer = $Printers | Where{$_.Name -eq "$PrinterName"} 
                    $Printer.SetDefaultPrinter() | Out-Null
                    
                    B 1 Reply Last reply Reply Quote 3
                    • JaredBuschJ
                      JaredBusch
                      last edited by

                      This setting is used to kill that stupid "let Windows manage my default printer" setting.

                      Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name "LegacyDefaultPrinterMode" -Value 1 -Force
                      
                      dbeatoD 1 Reply Last reply Reply Quote 3
                      • dbeatoD
                        dbeato @JaredBusch
                        last edited by

                        @jaredbusch said in Group Policy - Printer Deployment:

                        This setting is used to kill that stupid "let Windows manage my default printer" setting.

                        Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name "LegacyDefaultPrinterMode" -Value 1 -Force
                        

                        YEp, works pretty good.

                        1 Reply Last reply Reply Quote 0
                        • B
                          bnrstnr @JaredBusch
                          last edited by

                          @jaredbusch Do you run the script at login?

                          JaredBuschJ 1 Reply Last reply Reply Quote 1
                          • pmonchoP
                            pmoncho @JaredBusch
                            last edited by

                            @jaredbusch said in Group Policy - Printer Deployment:

                            Fuck printers.
                            Fuck printer servers.
                            Fuck GPO based printing.

                            When did you start working with us????? 🙂

                            Hell, its about time to hire a windows print management specialist anymore!.

                            1 Reply Last reply Reply Quote 1
                            • scottalanmillerS
                              scottalanmiller @JaredBusch
                              last edited by

                              @jaredbusch said in Group Policy - Printer Deployment:

                              Fuck printers.
                              Fuck printer servers.
                              Fuck GPO based printing.

                              This sums it up.

                              dbeatoD 1 Reply Last reply Reply Quote 2
                              • dbeatoD
                                dbeato @scottalanmiller
                                last edited by

                                @scottalanmiller said in Group Policy - Printer Deployment:

                                @jaredbusch said in Group Policy - Printer Deployment:

                                Fuck printers.
                                Fuck printer servers.
                                Fuck GPO based printing.

                                This sums it up.

                                Yet, still unrelated to the topic.

                                1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch @bnrstnr
                                  last edited by

                                  @bnrstnr said in Group Policy - Printer Deployment:

                                  @jaredbusch Do you run the script at login?

                                  Still a work in progress right now, so it is manual.

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post