How can I delete MAPI/Outlook profiles Programmatically.

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

Guys,

I am trying to setup standardised Outlook profiles which are automatically
generated.
I am using "outlook.exe /importprf profile.prf" as a way of generating the
new profile.

The problem is that, on subsequent uses of this script, it creates a new
profile, backing up the old profile.

Is there anyway of suppressing the creation of the backup copy or Deleting
the current profile just before the outlook creates a new profile?

Thanks
 
Check the content of your PRF file. Under the [General] section, this statement will suppress backup creation:

BackupProfile=No

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Perfect.
Thank you. How did you do the digging for this?

Check the content of your PRF file. Under the [General] section, this
statement will suppress backup creation:

BackupProfile=No

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
It was one of the topics I researched for the book in my signature, and so I asked Microsoft contacts, read white papers, and played around with the CIW mail profile options.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


news.microsoft.com said:
Perfect.
Thank you. How did you do the digging for this?

Check the content of your PRF file. Under the [General] section, this
statement will suppress backup creation:

BackupProfile=No

news.microsoft.com said:
Guys,

I am trying to setup standardised Outlook profiles which are automatically
generated.
I am using "outlook.exe /importprf profile.prf" as a way of generating the
new profile.

The problem is that, on subsequent uses of this script, it creates a new
profile, backing up the old profile.

Is there anyway of suppressing the creation of the backup copy or Deleting
the current profile just before the outlook creates a new profile?

Thanks
 
Back
Top