I’m attempting to modify printer properties for all printers on a print server. The specific properties that I need to change are to disable the setting “Enable bidirectional support”, and disable the setting “Update Configuration from Printer”. My print server is windows 2003 with Powershell 2.0. I do have access to a Windows 2012 (R1) server with Powershell 3.0. I have been able to select print drivers, using the set-printer cmdlets on the Windows 2012 server, and connecting to the remote (windows 2003) print server. My hope is that I can use the same set-printer cmdlet and set-printerproperty cmdlet to change the 2 settings that I’ve mentioned. But, so far, I’ve been unable to do so.
Get-PrinterProperty -PrinterName <PrinterName> -ComputerName <computername> -PropertyName "Config:UpdateConfigurationFromPrinter"
The above command does return the correct printer property. But, when I use the following command:
Set-PrinterProperty -PrinterName "$($printer.Name)" -ComputerName "$($printer.ComputerName)" -PropertyName "Config:UpdateConfigurationFromPrinter" -Value False
I get this error:
Set-PrinterProperty : The specified property was not found.
At line:1 char:1
+ Set-PrinterProperty -PrinterName <PrinterName> -ComputerName <ComputerName> ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (MSFT_PrinterProperty:ROOT/StandardCimv2/MSFT_PrinterProperty) [Set-Prin
terProperty], CimException
+ FullyQualifiedErrorId : HRESULT 0x80070002,Set-PrinterProperty
I get the same error if I try to pipe the result of Get-PrinterProperty into Set-PrinterProperty.
Regarding “Enable Bidirectional Support”, I haven’t found any way to set this property, using Set-Printer or Set-PrinterProperty.
If I use WMI instead of the cmdlets, I’m running into similar issues. With WMI, I can view the property EnableBIDI, but have been unable to set the value. Also, with WMI I haven’t found a property that appears to be the “Update Configuration from Printer”
Any help would be appreciated.
Thank you