I am running an update for an organizations email service with 1000+ users.
As part of this update I need to blow away their old email settings in outlook, there are some residual settings in the registry that I need to remove also. Normally I would make a simple .reg file and remove the registry keys in question. The problem I run into is one of the keys that need to be removed are unique to each user (ie: their email address). What makes this more complicated is that many of the users email addresses are different from their domain username. I would like to make a script to do this but I don't see where to start. Any help would be greatly appreciated.
Example:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Autodiscover subkey bsmith8@email.com
As part of this update I need to blow away their old email settings in outlook, there are some residual settings in the registry that I need to remove also. Normally I would make a simple .reg file and remove the registry keys in question. The problem I run into is one of the keys that need to be removed are unique to each user (ie: their email address). What makes this more complicated is that many of the users email addresses are different from their domain username. I would like to make a script to do this but I don't see where to start. Any help would be greatly appreciated.
Example:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Autodiscover subkey bsmith8@email.com