how to do a script that can remove office 2007?

i have like 600 computers that need to remove office 2007. Is here a script that i can run to move that program from the computers.
dgarza7816Asked:
Who is Participating?
 
RobSampsonCommented:
As a StartUp script, run this batch file:

@echo off
MsiExec.exe /X{90120000-0012-0000-0000-0000000FF1CE} /QN

Regards,

Rob.
0
 
yelbaglfCommented:
Try something like this...be sure to replace 'LogMeIn' with the name of the app in Add/Remove Programs.

strComputer = "." 
Set objWMIService = GetObject("winmgmts:" _ 
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") 
 
Set colSoftware = objWMIService.ExecQuery _ 
    ("Select * from Win32_Product Where Name = 'LogMeIn'") 
 
For Each objSoftware in colSoftware 
    objSoftware.Uninstall() 
Next

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.