Get Uids:
start -> run -> cmd: wmic
wmic:root\cli> product get name,IdentifyingNumber
Result:
wmic:root\cli>product get name,IdentifyingNumber
IdentifyingNumber Name
{95140000-0070-0000-0000-0000000FF1CE} Microsoft Office 2010
{1D8E6291-B0D5-35EC-8441-6616F567A0F7} Microsoft Visual C++ 2010 x64
{09536BA1-E498-4CC3-B834-D884A67D7E34} IntelR Trusted Connect Service
{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5} Microsoft Visual C++ 2010 x86
{6FE8E073-D159-4419-93E2-CE2C5B078562} HP ProtectTools Security Manage
{16793295-2366-40F7-A045-A3E42A81365E} Bing Bar
{6F44AF95-3CDE-4513-AD3F-6D45F17BF324} HP Support Assistant
Create script.bat:
MsiExec.exe /qb /passive /X{95140000-0070-0000-0000-0000000FF1CE}
MsiExec.exe /qb /passive /X{1D8E6291-B0D5-35EC-8441-6616F567A0F7}
MsiExec.exe /qb /passive /X{6E3610B2-430D-4EB0-81E3-2B57E8B9DE8D}
MsiExec.exe /qb /passive /X{CD95F661-A5C4-44F5-A6AA-ECDD91C240CF}
MsiExec.exe /qb /passive /X{CA2F6FAD-D8CD-42C1-B04D-6E5B1B1CFDCC}
Volea!