How can I delete MAPI/Outlook profiles Programmatically.

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
 
S

Sue Mosher [MVP-Outlook]

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
 
N

news.microsoft.com

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
 
S

Sue Mosher [MVP-Outlook]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top