Microsoft Print to PDF - GPO RRS feed

  • Question

  • How to disable "Microsoft Print to PDF" on windows 10 machines using Group policy. 


    Monday, July 27, 2020 5:55 AM


  • HI
    (1)copy below powershell command in notepad and rename it as"removepdfprint" then  change the extension to .ps1 like picture1 .
    Remove-Printer -Name "Microsoft Print to PDF"

    (2)copy the removepdfprint.ps1 to netlogon shared folder on DC 
    (3)create a "removepdfprint" gpo and link it to destination OU and create below shutdown domain policy like picture 2
    Computer Configuration\Policies\Windows Settings\Scripts (Startup/Shutdown)
    and add  \\19dc\netlogon\removepdfprint.ps1 in powershell scripts like picture 3
    (4) enter gpupdate /force on both client and DC then reboot client computers then check the result on client computers

    refer "How to assign computer shutdown scripts" in below link 

    Best Regards
    Andy YOU
    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, July 27, 2020 3:16 PM