So how many times have you done a P2V only to have to go back and manually cleanup all the extra crud a physical server requires–Dell OpenManage Server Administrator(Dell OSMA), Broadcom Drivers and Management Applications, Intel Drivers and Management Applications, etc.  Now expand that to having to do over 500 P2Vs in a few month span and you find the need to automate….
Presenting a huge honking script to automate those pesky uninstalls, right now it’s only Dell specific, but I plan to expand it to other vendors like IBM & HP.
This Removes:
- Dell OpenManage Server Administrator
- Broadcom Drivers and Management Applications
- Broadcom NetXtreme II Driver Installer
- Intel(R) PROSet for Wired Connections
- Intel(R) PRO Network Connections
STOP -Â Updated Version:Â Automated P2V Cleanup V1.1
Reboots are suppressed so you need to reboot when your done to finish all uninstalls.  If you wish to automate that as well add a line like to the end:
1 |
shutdown /r /f /d P:4:2 /c "P2V Cleanup Complete, reboot required" |
I like to control the reboot so I don’t use that…
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
p2vclean.bat @echo off cls echo ======================================= echo Post P2V Cleanup echo Version: 1.0 - Dell Specific (2/13/11) echo Author: Michael Requeny echo Website: http://michael.requeny.com echo ======================================= REM Intel Bits echo Uninstalling Intel Wired Connections 9.30.0000 (Dell Version) msiexec /x {4CEA6811-DFAD-4892-828D-49941FE3B779} ARPREMOVE=1 /passive /norestart echo Uninstalling Intel Wired Connections 9.20.0000 (Intel Version) msiexec /x {83F793B5-8BBF-42FD-A8A6-868CB3E2AAEA} ARPREMOVE=1 /passive /norestart echo Uninstalling Intel Wired Connections 9.10.0000 (Intel Version) msiexec /x {13DE1D83-E4C4-420D-8DD5-6DB26DE7CB45} ARPREMOVE=1 /passive /norestart echo Uninstalling Intel Wired Connections 9.00.0000 (Intel Version) msiexec /x {7A915C5D-0ECE-4013-ABB5-39D82C572533} ARPREMOVE=1 /passive /norestart echo Uninstalling Intel Wired Connections 8.00.5000 (Intel Version) msiexec /x {17334AAF-C9E7-483B-9F45-E3FCAF07FFA7} ARPREMOVE=1 /passive /norestart echo Uninstalling Intel Wired Connections 8.00.0005 (Intel Version) msiexec /x {403EF592-953B-4794-BCEF-ECAB835C2095} ARPREMOVE=1 /passive /norestart echo Uninstalling Intel Wired Connections 7.10.1000 (Intel Version) msiexec /x {6A22A1EC-F625-43DA-ACF0-B57541DE6477} ARPREMOVE=1 /passive /norestart echo Uninstalling Intel Wired Connections 7.10.0000 (Dell Version) msiexec /x {16906D21-0656-4F8B-9A01-C3D24B5401FC} ARPREMOVE=1 /passive /norestart echo Uninstalling Intel PRO Network Connections 13.5.32.0 (Intel Version) msiexec /x {777AD08E-B32A-4456-AFE1-094DBECEB268} ARPREMOVE=1 /passive /norestart echo Uninstalling Intel PRO Network Connections 13.2.8.0 (Intel Version) msiexec /x {AAA4850F-7E20-40D7-A4C3-3697E7FA4A54} ARPREMOVE=1 /passive /norestart echo Uninstalling Intel PRO Network Connections 13.1.33.0 (Intel Version) msiexec /x {DDD076BF-C5C3-468C-AA1B-F9A7E47446FE} ARPREMOVE=1 /passive /norestart echo Uninstalling Intel PRO Network Connections 12.2.41.0 (Intel Version) msiexec /x {BBBF4CFE-9D26-4D93-A869-B2B021B3CA85} ARPREMOVE=1 /passive /norestart REM Dell Bits echo Uninstalling Dell OpenManage Server Administrator 6.4.0 msiexec /x {E91A47DB-8B75-4D29-8EFD-7F536FD6C7CD} /passive /norestart echo Uninstalling Dell OpenManage Server Administrator 6.1.0-6.3.0 msiexec /x {54C04D53-C3C3-46EA-A75F-7AFF4BEB727C} /passive /norestart echo Uninstalling Dell OpenManage Server Administrator 6.0.1-6.0.3 msiexec /x {A19CE8FC-A0C2-4769-A5F0-602FEC02422E} /passive /norestart echo Uninstalling Dell OpenManage Server Administrator 5.0.0-5.5.0.1 msiexec /x {89C7A9F7-2C31-4739-842D-F037B6C9B674} /passive /norestart echo Uninstalling Dell OpenManage Server Administrator 4.3.0-4.5.0 msiexec /x {A8D0C330-84F0-4675-B997-0E952FA0A0A3} /passive /norestart REM Broadcom Bits echo Uninstalling Broadcom Drivers and Management Applications 14.2.11.5 (Dell Version) msiexec /x {80B27AFC-2D06-4693-9A7F-255F0E2F3DC3} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 12.29.01 (Dell Version) msiexec /x {AEA7823A-C063-4880-8C43-42EB6FD8E58B} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 12.28.02 (Dell Version) msiexec /x {65AEA463-F21B-496A-81E4-E072EDF56467} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 12.26.01 (Dell Version) msiexec /x {4EB96EF0-B500-4A2C-B716-9872FBBFA9D8} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 12.25.06 (Dell Version) msiexec /x {9BA521BB-190B-49AB-A905-6386A78539F3} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 12.18.01 (Dell Version) msiexec /x {0749596C-390D-47D9-AB20-5E2B1472CD7E} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 12.16.01 (Dell Version) msiexec /x {01794DD2-E13F-4865-9EA4-C6DAFCD6C07B} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 12.14.02 (Dell Version) msiexec /x {859CB8EF-EB1B-479D-982B-5458D7CC326C} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 11.88.01 (Broadcom Version) msiexec /x {A25945E2-FF29-4C44-948B-45DB6DBF4A38} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 11.54.02 (Dell Version) msiexec /x {3C90A7A3-3B78-419D-9AA5-A0D77F0C49CA} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 11.52.06 (Dell Version) msiexec /x {1B902ECD-C1B5-4FEC-8CD6-DE5EDE81C383} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 11.13.03 (Dell Version) msiexec /x {766E95BC-BE8F-446C-A894-EABF0F99768C} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 10.89.04-10.89.06 (Dell Version) msiexec /x {C5AB6B2F-6818-4209-96E1-246D06ED8017} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 10.79.10 (Dell Version) msiexec /x {BE11A018-DC1A-4C07-BDBB-2A6B79AA95CB} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 10.69.04-10.69.05 (Dell Version) msiexec /x {C97C77C4-10BD-4CCA-B781-116105001E75} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 10.51.01 (Dell Version) msiexec /x {78785EB2-9D9F-429C-BD9F-99B6039B00DE} /passive /norestart echo Uninstalling Broadcom Drivers and Management Applications 10.18.04-10.19.01 (Dell Version) msiexec /x {43F11231-708E-4EFB-B675-B0397A394F78} /passive /norestart echo Uninstalling Broadcom NetXtreme II Driver Installer 14.2.11.1 (Broadcom Version) msiexec /x {EAF846FB-AEA4-49AC-94DA-7333EA4B846C} /passive /norestart echo Uninstalling Broadcom NetXtreme II Driver Installer 12.56.01 (Broadcom Version) msiexec /x {F96672C2-6D0B-4B96-887D-AB23E12677D3} /passive /norestart echo Uninstalling Broadcom NetXtreme II Driver Installer 11.53.02 (Dell Version) msiexec /x {70C5AEBE-FAF7-4C58-80D2-B3C4B7179D5D} /passive /norestart echo Uninstalling Broadcom NetXtreme II Driver Installer 12.26.02 (Broadcom Version) msiexec /x {2B86E960-1BCF-457A-9D9A-AB38812BAE89} /passive /norestart echo Uninstalling Broadcom NetXtreme II Driver Installer 11.53.02 (Broadcom Version) msiexec /x {70C5AEBE-FAF7-4C58-80D2-B3C4B7179D5D} /passive /norestart echo Uninstalling Broadcom NetXtreme II Driver Installer 11.48.05 (Broadcom Version) msiexec /x {E78D7C1D-4329-450A-B759-186BB65D01CE} /passive /norestart echo Uninstalling Broadcom NetXtreme II Driver Installer 11.33.03 (Broadcom Version) msiexec /x {7C58AC3B-DDAF-4E4E-986F-9E09D033B542} /passive /norestart echo Uninstalling Broadcom NetXtreme II Driver Installer 11.32.05 (Broadcom Version) msiexec /x {B13BB219-4277-4984-973B-7B90250AB845} /passive /norestart echo Uninstalling Broadcom NetXtreme II Driver Installer 11.53.02 (Broadcom Version) msiexec /x {70C5AEBE-FAF7-4C58-80D2-B3C4B7179D5D} /passive /norestart endlocal EXIT /B 200 |