# Script to disable setting for printer queue in device settings-\>Duplex Unit

**URL:** <https://forums.powershell.org/t/script-to-disable-setting-for-printer-queue-in-device-settings-duplex-unit/14920>\
**Category:** PowerShell Help\
**Created:** [September 9, 2020, 9:45am UTC](https://forums.powershell.org/t/script-to-disable-setting-for-printer-queue-in-device-settings-duplex-unit/14920 "2020-09-09T09:45:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mistryman](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mistryman](https://forums.powershell.org/u/mistryman)\
**Post date:** [September 9, 2020, 9:45am UTC](https://forums.powershell.org/t/script-to-disable-setting-for-printer-queue-in-device-settings-duplex-unit/14920/1 "2020-09-09T09:45:40Z")

</div>

do any one have PS script to disable setting for printer queue in device settings-\>Duplex Unit (for 2-Sided Printing). When I create the printer queues is turned on automatically as it says “Installed” I would like this to be “Not installed”.

I have multiple queues so I hope I can run the same command over and over on different printer queues.

Thanks for your kind help in advance.

---

<div class="post-metadata">

**Author:** ![psdarwin](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/psdarwin/32/2063_2.png) [@psdarwin](https://forums.powershell.org/u/psdarwin)\
**Post date:** [September 10, 2020, 3:59am UTC](https://forums.powershell.org/t/script-to-disable-setting-for-printer-queue-in-device-settings-duplex-unit/14920/2 "2020-09-10T03:59:45Z")

</div>

Does this help: [https://devblogs.microsoft.com/scripting/weekend-scripter-use-powershell-to-fix-broken-printer/](https://devblogs.microsoft.com/scripting/weekend-scripter-use-powershell-to-fix-broken-printer/)

---

<div class="post-metadata">

**Author:** ![mistryman](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mistryman](https://forums.powershell.org/u/mistryman)\
**Post date:** [September 10, 2020, 9:24am UTC](https://forums.powershell.org/t/script-to-disable-setting-for-printer-queue-in-device-settings-duplex-unit/14920/3 "2020-09-10T09:24:16Z")

</div>

Darwin - Thanks I was able to execute this. How can I change following setting under advance-\>print on both side to “None” ?

Thanks.

&nbsp;

---

<div class="post-metadata">

**Author:** ![psdarwin](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/psdarwin/32/2063_2.png) [@psdarwin](https://forums.powershell.org/u/psdarwin)\
**Post date:** [September 11, 2020, 4:00am UTC](https://forums.powershell.org/t/script-to-disable-setting-for-printer-queue-in-device-settings-duplex-unit/14920/4 "2020-09-11T04:00:33Z")

</div>

You might take a look at Set-PrintConfiguration. It looks like that cmdlet can set those kind of settings.

If it’s not that, it’s probably some other cmdlet in that module. This will show you a list of all standard print management cmdlets:

Get-Command -Module PrintManagement

---

<div class="post-metadata">

**Author:** ![imahnobody](https://avatars.discourse-cdn.com/v4/letter/i/a5b964/32.png) [@imahnobody](https://forums.powershell.org/u/imahnobody)\
**Post date:** [September 11, 2020, 3:42pm UTC](https://forums.powershell.org/t/script-to-disable-setting-for-printer-queue-in-device-settings-duplex-unit/14920/5 "2020-09-11T15:42:15Z")

</div>

`Set-PrintConfiguration -PrinterName “Name of Printer” -DuplexingMode OneSided `

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:28pm UTC](https://forums.powershell.org/t/script-to-disable-setting-for-printer-queue-in-device-settings-duplex-unit/14920/6 "2024-05-16T20:28:54Z")

</div>


