Group Policy - Printer Deployment
- 
 @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 . 
- 
 @dbeato 2012 R2 
- 
 This post is deleted!
- 
 @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.  
- 
 @dbeato Bro, thank you! 
- 
 Fuck printers. 
 Fuck printer servers.
 Fuck GPO based printing.
- 
 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
- 
 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
- 
 @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 -ForceYEp, works pretty good. 
- 
 @jaredbusch Do you run the script at login? 
- 
 @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!. 
- 
 @jaredbusch said in Group Policy - Printer Deployment: Fuck printers. 
 Fuck printer servers.
 Fuck GPO based printing.This sums it up. 
- 
 @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. 
- 
 @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. 




