![]() Next, choose 'Add a printer', and select the following options: 'Add a local printer' 'Use an existing port' -> 'PORTPROMPT. I know you said you don't want to switch to the TS method, but you could always run the above via a script in a package BEFORE scheduling the feature update. To reinstall the Microsoft XPS Document Writer on Windows 8, 8.1, or Windows 10, first delete the 'XPS Document Writer' icon from the 'Printers and Faxes' section of the 'Devices and Printers' folder if it exists. This is run before the upgrade during our 'Pre-Flight' Check phase, before the upgrade assessment, which is before the upgrade process itself.Ĭommand1: cmd.exe /c cscript prnmngr.vbs -d -p "Microsoft XPS Document Writer" start in "C:\Windows\System32\Printing_Admin_Scripts\en-US"Ĭommand2: cmd.exe /c cscript prndrvr.vbs -d -m "Microsoft XPS Document Writer" -v 3 -e "Windows 圆4" start in "C:\Windows\System32\Printing_Admin_Scripts\en-US"Ĭommand3: cmd.exe /c del /f C:\Windows\inf\oem0.inf C:\Windows\inf\oem1.infĮnded up failing on non en-US builds, so had to drop the contents of "C:\Windows\System32\Printing_Admin_Scripts\en-US" into a package and call the command from there. We use a task sequence for upgrades, so was fairly simple to get around with some 'Run Command Line' steps. I had a similar issue with Windows 7 to Windows 10, Version 1803/1903 where 'XPS Document Writer' was causing a hard block to the upgrade on some devices. If I did use a TS I would add a step to uninstall those two devices using pnputil or something like that.Īdam Gross has a post about using Setupconfig.ini to control certain options when using feature updates so I may try and see if that will resolve the issue. I'm using the feature update (SUG) rather than an In-Place upgrade (Task Sequence) and I don't really want to switch. Is there a way that the Windows update process will ignore, uninstall or update these drivers? Perhaps if Dynamic updates is enabled (currently access to Windows Updates online is blocked at endpoint level on the network)? These drivers point to the Microsoft Print to PDF and Microsoft XPS Document Writer printers. ![]() The C:\$Windows.~BT\Sources\Panther\CompatData files show a couple of oem.inf files are blocking the upgrade. I've been updating 16 Windows 10 versions to 1809 without issues but when i try to update 1709 to 1809 it fails.
0 Comments
Leave a Reply. |