Batch script – Remove HP Bloatware

I’ve been getting rather annoyed at having to uninstall the HP crapware that gets put onto client machines, so I’ve written a batch file to remove them all.

It’s not 100% ready yet, you still need to manually run the batch file as administrator, and go through some of the uninstall programs, however they are all called up for you.

This was based on an HP Pro 3515.

@ECHO OFF

ECHO HP Software Removal for Matrix IT

ECHO Created and compiled by Alex Lane

ECHO.

ECHO ******************************************************************

ECHO * This batch file semi-automates the removal of the HP software  *

ECHO ******************************************************************

ECHO.

ECHO.

ECHO USE AT YOUR OWN RISK!!!

ECHO.

ECHO *****************************

ECHO Type “ctrl-c” to quit now!!!

ECHO *****************************

ECHO.

ECHO USE AT YOUR OWN RISK!!!

ECHO.

Pause

cls

ECHO Removing the “HP Desktop Keyboard”…

“C:\Program Files (x86)\Hewlett-Packard\HP Desktop Keyboard\unins000.exe” /SILENT

ECHO Removing the “Theft Recovery for HP ProtectTools”…

“C:\Program Files (x86)\InstallShield Installation Information\{10F5A72A-1E07-4FAE-A7E7-14B10CC66B17}\setup.exe” -runfromtemp -l0x0409  -removeonly

cls

Echo *****Removing HP Games*****

Echo Removing HP Games – It Girl!
“C:\Program Files (x86)\HP Games\Web Link – It Girl!\Uninstall.exe”

Echo Removing HP Games – Mahjongg Dark Dimensions
“C:\Program Files (x86)\HP Games\Web Link – Mahjongg Dark Dimensions\Uninstall.exe”

Echo Removing HP Games – Organized Crime
“C:\Program Files (x86)\HP Games\Web Link – Organized Crime\Uninstall.exe”

Echo Removing HP Games – Penguin World
“C:\Program Files (x86)\HP Games\Web Link – Penguin World\Uninstall.exe”

Echo Removing HP Games – Polar Bowler Strike!
“C:\Program Files (x86)\HP Games\Web Link – Polar Bowler Strike!\Uninstall.exe”

Echo Removing HP Games – Salon Street
“C:\Program Files (x86)\HP Games\Web Link – Salon Street\Uninstall.exe”

Echo Removing HP Games – Seafight
“C:\Program Files (x86)\HP Games\Web Link – Seafight\Uninstall.exe”

Echo Removing HP Games – Shaiya
“C:\Program Files (x86)\HP Games\Web Link – Shaiya\Uninstall.exe”

Echo Removing HP Games – Marvel Super Hero Squad Online
“C:\Program Files (x86)\HP Games\Web Link – Marvel Super Hero Squad Online\Uninstall.exe”

Echo Removing HP Games – World of Warcraft
“C:\Program Files (x86)\HP Games\Web Link – World of Warcraft\Uninstall.exe”

Echo Removing HP Games – Farm Frenzy
“C:\Program Files (x86)\HP Games\Farm Frenzy\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Virtual Villagers 4
“C:\Program Files (x86)\HP Games\Virtual Villagers 4 – The Tree of Life\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Fishdom
“C:\Program Files (x86)\HP Games\Fishdom (TM) 2\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Cake Mania
“C:\Program Files (x86)\HP Games\Cake Mania\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Torchlight
“C:\Program Files (x86)\HP Games\Torchlight\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Jewel Quest Solitaire 2
“C:\Program Files (x86)\HP Games\Jewel Quest Solitaire 2\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Insaniquarium Deluxe
“C:\Program Files (x86)\HP Games\Insaniquarium Deluxe\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Jewel Match 3
“C:\Program Files (x86)\HP Games\Jewel Match 3\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Plants vs Zombies
“C:\Program Files (x86)\HP Games\Plants vs Zombies – Game of the Year\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Mystery of Mortlake Mansion
“C:\Program Files (x86)\HP Games\Mystery of Mortlake Mansion\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Polar Bowler
“C:\Program Files (x86)\HP Games\Polar Bowler\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Zumas Revenge
“C:\Program Files (x86)\HP Games\Zumas Revenge\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Virtual Families
“C:\Program Files (x86)\HP Games\Virtual Families\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Cradle of Rome 2
“C:\Program Files (x86)\HP Games\Cradle of Rome 2\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Wedding Dash
“C:\Program Files (x86)\HP Games\Wedding Dash\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Jewel Quest II
“C:\Program Files (x86)\HP Games\Jewel Quest II\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Chuzzle Deluxe
“C:\Program Files (x86)\HP Games\Chuzzle Deluxe\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Mahjongg Artifacts
“C:\Program Files (x86)\HP Games\Mahjongg Artifacts\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Farmscapes
“C:\Program Files (x86)\HP Games\Farmscapes\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – FATE
“C:\Program Files (x86)\HP Games\FATE\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Ranch Rush 2
“C:\Program Files (x86)\HP Games\Ranch Rush 2 – Premium Edition\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Final Drive Fury
“C:\Program Files (x86)\HP Games\Final Drive Fury\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games – Bejeweled 3
“C:\Program Files (x86)\HP Games\Bejeweled 3\Uninstall\Uninstaller.exe” /silent

Echo Removing HP Games
“C:\Program Files (x86)\HP Games\Uninstall.exe”

Echo Removing HP Game Explorer Categories
“C:\Program Files (x86)\HP Games\Game Explorer Categories – main\Uninstall.exe” /silent

Echo Removing HP Game Explorer Genres
“C:\Program Files (x86)\HP Games\Game Explorer Categories – genres\Uninstall.exe”

Echo Removing WildTangents Games app
“C:\Program Files (x86)\WildTangent Games\App\Uninstall.exe”

Echo Removing HP Wildtangent Touchpoints
“C:\Program Files (x86)\WildTangent Games\Touchpoints\hp\Uninstall.exe”

cls

Echo Removing Norton Internet Security
“C:\Program Files (x86)\NortonInstaller\{0C55C096-0F1D-4F28-AAA2-85EF591126E7}\NIS\A5E82D02\19.0.0.128\InstStub.exe” /X /ARP

Echo Removing HP Customer Experience Enhancements
“MsiExec.exe /X{07FA4960-B038-49EB-891B-9F95930AA544}” /quiet

Echo Removing HP Support Framework
“C:\Program Files (x86)\InstallShield Installation Information\{EE202411-2C26-49E8-9784-1BC1DBF7DE96}\setup.exe” -runfromtemp -l0x0409  -removeonly

Echo Removing HP File Sanitizer
MsiExec.exe /I{6D6ADF03-B257-4EA5-BBC1-1D145AF8D514}

Echo Removing HP Health Check
MsiExec.exe /I{6F340107-F9AA-47C6-B54C-C3A19F11553F}

Echo Removing HP Setup
MsiExec.exe /I{438363A8-F486-4C37-834C-4955773CB3D3}

Echo Removing HP Recovery Manager
“C:\Program Files (x86)\InstallShield Installation Information\{44B2A0AB-412E-4F8C-B058-D1E8AECCDFF5}\setup.exe” /z-uninstall

Echo Removing PDF Complete
“C:\Program Files (x86)\PDF Complete\uninstall.exe”

Echo Removing HP Drive Encryption
MsiExec.exe /X{27F1E086-5691-4EB8-8BA1-5CBA87D67EB5}

Echo Removing HP ProtectTools Security mananger
MsiExec.exe /X{55B52830-024A-443E-AF61-61E1E71AFA1B}

Echo Removing HP ProtectTools Security Manager
“c:\Program Files\Hewlett-Packard\HP ProtectTools Security Manager\Bin\setup.exe”

Echo Removing HP Device Security Manager
“MsiExec.exe /X{3DF89DED-B76F-4561-AED7-6E38154E10E8}” /quiet

Echo Removing HP Auto
“MsiExec.exe /I{CC4D56B7-6F18-470B-8734-ABCD75BCF4F1}” /quiet

Echo Removing Winzip
“MsiExec.exe /X{CD95F661-A5C4-44F5-A6AA-ECDD91C240CD}” /quiet

cls
Echo – Uninstall complete – press any key to exit
pause > nul

 

Advertisements

14 thoughts on “Batch script – Remove HP Bloatware

  1. This has been one of my annoyances for years with all these deals manufacturers have with software companies… I rather have the choice for $ 20 more to get workstation / notebook -without- all those programs… What I use now (personal only as at work we just re-image the whole OEM installation) with family and friends is http://www.decrap.org/ De-crapifier. Even the name makes me smile :) Works like a charm… Not getting paid for this by the way (I would wish! :) ) Like your other articles too by the way! Cheers, Bas

    • Oh totally agree with Decrapifier! Unfortunately you can’t script it easily. This script is part of my PC Build script which adds everything I need and removes everything I don’t need! :)

  2. I’ve been doing this for a while with the new pc’s we get with my work. Since most of these are msi’s you can add /qb or /qn and /norestart to the end of them and it will automate everything. (Very nice to do when you have 300+ to do in one go.)

    • Totally agree! Granted, it would be best to do an that encompasses all the machines, but sometimes that’s just not possible in some environments!

  3. that script form blog.de worked to remove about half of my problem apps. just use google translate and it will be useful. it was not programmed to touch about half of my problem apps, but it took my uninstall time from about 20 mins or so down to about 2 mins and a reboot when done. decrappifier has not worked well in the past, took more time to download, install, configure, and it would work about as good as this script. i think i will work on these scripts to better suit my needs, but it would be awesome to someday run a script, walk away, and have it take care of all my apps and reboot when done.

    • If you go to Regedit HKLM > Software > Microsoft > Current Version > Uninstall folder.

      Go through the list of GUID you see. Grab all of the uninstall strings for the apps you do not want.

      Example MSIEXEC /X{guid} and add a /qn at the end MSIEXEX /x{GUID} /qn

      Save all of these to a text file. Rename the .txt extension to .bat. It should remove them one by one all in one shot.

      2. Repeat process for this reg key: HKLM > Software >Wow6432Node > Microsoft > Current Version > Uninstall folder.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s