For desktop computers currently exclusively using HP. On the path to buying computers with a Ready to Provision Windows 10 build on them. But do to timing etc still buying some computers with a generic HP Windows 10 build on them that has a lot of HP utilities on them that are not wanted.
There are dependencies that require some utilities to have to be removed before others. The following script is what I came up with. Have to run it twice. the first time the computer will reboot after removing a few utilities. post reboot i run the script again. This is not eligant, but since I only had a few computers that needed clean up I chose to keep it simple.
Below is the script I used.
:Start START /WAIT /MIN WMIC product where "Name LIKE '%%HP Device%%'" call uninstall /nointeractive START /WAIT /MIN WMIC product where "Name LIKE '%%HP ePrint%%'" call uninstall /nointeractive START /WAIT /MIN WMIC product where "Name LIKE '%%HP JumpStart%%'" call uninstall /nointeractive START /WAIT /MIN WMIC product where "Name LIKE '%%HP Sure%%'" call uninstall /nointeractive START /WAIT /MIN WMIC product where "Name LIKE '%%HP%%'" call uninstall /nointeractive START /WAIT /MIN WMIC product where "Name LIKE '%%HP client%%'" call uninstall /nointeractive goto END :END exit
Leave a Reply