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 - Installation
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook Shutdown - command line



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 7th 06, 07:49 PM posted to microsoft.public.outlook.installation
Pete
external usenet poster
 
Posts: 36
Default Outlook Shutdown - command line

As some client forget to close Outlook before a backup, what's the best way
to automatically terminate the Outlook.exe process via a script so the backup
application can backup the PST files?

I can use pskill.exe or taskkill.exe, but I am concerned about the PST files
that are open when OUTLOOK.exe is killed. Can they get corrupt using this
method?
Ads
  #2  
Old February 7th 06, 08:28 PM posted to microsoft.public.outlook.installation
Smart Workplaces
external usenet poster
 
Posts: 4
Default Outlook Shutdown - command line

They can get corrupted, but they may not be corrupted either. At any rate,
Outlook will launch slowly after it has been terminated unexpectedly as it
scans the mailbox folders for errors. If it contains errors, Outlook will
fix the errors at the expense of losing data.

Outlook is known to not shut down correctly if either of the following are
true:

1. An Outlook Add-In is loaded that does not release all references to the
objects it instantiates. Answer is to get an updated add-in from its
manufacturer.

2. The machine runs Outlook 2000. This is a known issue for OL2000, and
since it is no longer in MS Mainstream Support, there will likely never be a
fix issued for this problem. Therefore, the answer is to upgrade to the
latest version of Outlook and/or Microsoft Office.

3. Construct a COM Add-In that forcefully unloads all Add-Ins and then shuts
down Outlook itself at a pre-determined time. Therefore, if the Outlook.exe
process is running at the designated time and this "Force Outlook Shutdown"
add-in is loaded, it will kill all add-ins and then terminate Outlook
gracefully ... without data loss and without having to scan the mailbox
folders at next launch.

Hope this helps.
--
When you need software to work smarter so that you don`t have to, contact
Smart Workplaces -- your one-stop resource for custom software for Office,
Outlook and the Web. --


"Pete" wrote:

As some client forget to close Outlook before a backup, what's the best way
to automatically terminate the Outlook.exe process via a script so the backup
application can backup the PST files?

I can use pskill.exe or taskkill.exe, but I am concerned about the PST files
that are open when OUTLOOK.exe is killed. Can they get corrupt using this
method?

 




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
The News command is not listed in the go catagory in Outlook 2003 Thomas Squicquero Outlook - General Queries 1 March 8th 06 05:58 PM
Outlook XP Auto-shutdown Error Cerulean Outlook - General Queries 0 February 9th 06 04:49 AM
How do I get outlook to shutdown without using task manager? Rusty Usry Outlook - Installation 4 February 2nd 06 05:09 PM
Outlook command-line switches Brad Nowlin Outlook - General Queries 1 January 27th 06 05:00 PM
How to control line spacing in Outlook Notes ? Will Outlook - General Queries 0 January 13th 06 01:55 PM


All times are GMT +1. The time now is 06:32 AM.


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.