A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How can I delete MAPI/Outlook profiles Programmatically.



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 14th 06, 04:02 PM posted to microsoft.public.outlook
news.microsoft.com
external usenet poster
 
Posts: 2
Default How can I delete MAPI/Outlook profiles Programmatically.

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


Ads
  #2  
Old November 14th 06, 04:46 PM posted to microsoft.public.outlook
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How can I delete MAPI/Outlook profiles Programmatically.

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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"news.microsoft.com" wrote in message ...
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


  #3  
Old November 14th 06, 05:19 PM posted to microsoft.public.outlook
news.microsoft.com
external usenet poster
 
Posts: 2
Default How can I delete MAPI/Outlook profiles Programmatically.

Perfect.
Thank you. How did you do the digging for this?

"Sue Mosher [MVP-Outlook]" wrote in message
...
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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"news.microsoft.com" wrote in message
...
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




  #4  
Old November 14th 06, 05:52 PM posted to microsoft.public.outlook
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How can I delete MAPI/Outlook profiles Programmatically.

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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"news.microsoft.com" wrote in message ...
Perfect.
Thank you. How did you do the digging for this?

"Sue Mosher [MVP-Outlook]" wrote in message
...
Check the content of your PRF file. Under the [General] section, this
statement will suppress backup creation:

BackupProfile=No

"news.microsoft.com" wrote in message
...
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




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Working with Mapi Profiles Rebekah Outlook and VBA 4 September 29th 06 10:26 PM
Programmatically change Outlook Settings Mitchell Outlook and VBA 0 June 29th 06 04:31 PM
Profiles AND Backup of Profiles SkyEyes Outlook - Installation 4 June 6th 06 07:39 PM
Programmatically changing settings in Outlook 2003 Jonathan Add-ins for Outlook 1 April 7th 06 07:49 PM
Delete multipile e-mail profiles all at once Crockett Outlook - Installation 3 February 7th 06 05:11 AM


All times are GMT +1. The time now is 01:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.