Uninstalling Office 2003 via group policy

I would like to use group policy in order to uninstall Microsoft Office 2003 from a group of computers (XP SP2) located in the same OU sharing the same user name for logon.
Windows Server 2003
Workstations to remove office=XP SP2

Any help would be appreciated,
Thanks.
iNc0gAsked:
Who is Participating?
 
Joseph DalyCommented:
So the easiest way I know of doing this is by using a computer startup script and using the uninstall string found in the registry. On a reference machine take a look at the following registry key
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall

Under here should be all of your installed software. Browse through there until you see the entry for the version of office you want to remove. There should be an entry for the uninstall string. You can just copy this and paste it into a batch file.

Running that batch file as a startup script will allow you to uninstall the software under the system context. Ive done this in the past using startup scripts and it works well. My uninstall string was similar to below you just need to modify the GUID with the one you get from your registry.

msiexec /x "{15C418EB-7675-42BE-C2B3-235952D1B14D}" /qn


Info on the uninstall registry key
http://msdn.microsoft.com/en-us/library/aa372105(VS.85).aspx
0
 
thabashCommented:
if it wasnt installed via GPO then no, a package needs to be deployed via GPO to have the functionality to remove it

GPO for software maintenence can only remove software that was installed with the GPO in the first place. It may be possible to script uninstallation - but it would be a lot of effort.
0
 
iNc0gAuthor Commented:
Isn't the registry key different on each workstation ?
using the same key taken from 1 workstation in the batch file should work on all workstations?
0
 
Joseph DalyCommented:
The installation string will be the same assuming that you installed the same version on each machine. I have done this with many products and it has worked well for me.

Another option that you can do if you dont want to use group policy for this would be to use a tool like PSEXEC to run the commands. You can specify a listing of computers to target and run commands against them all remotely. I like this tool because it is instant where a GPO you would need to wait for them to do a reboot.

http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

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.